jmespath / jmespath.py

JMESPath is a query language for JSON.
http://jmespath.org
MIT License
2.19k stars 181 forks source link

Add back support for order comparisons against strings #126

Closed jamesls closed 7 years ago

jamesls commented 7 years ago

The validation added in 0.9.1 to make this compliant with the spec actually broke a number of people. I've added this back and will work on getting the spec updated.

Fixes #124.

codecov-io commented 7 years ago

Codecov Report

Merging #126 into develop will increase coverage by 0.01%. The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #126      +/-   ##
===========================================
+ Coverage    97.26%   97.27%   +0.01%     
===========================================
  Files           13       13              
  Lines         1425     1431       +6     
===========================================
+ Hits          1386     1392       +6     
  Misses          39       39
Impacted Files Coverage Δ
tests/test_search.py 100% <100%> (ø) :white_check_mark:
jmespath/visitor.py 99.05% <100%> (+0.01%) :white_check_mark:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update de03509...b893fc2. Read the comment docs.