lloyd / JSONSelect

CSS-like selectors for JSON
http://jsonselect.org
ISC License
1.59k stars 116 forks source link

Compare strings with >, >=, < and <= #24

Closed caseycrites closed 12 years ago

caseycrites commented 13 years ago

I have numbers that were being passed to me as strings that I needed to do comparisons on. This allows comparisons to be done as long as both sides of the expression are strings.

benatkin commented 13 years ago

It would also be nice to be able to compare strings that aren't numbers (which will work with your change).