jmespath / jmespath.py

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

Implement JEP 1 #28

Closed jamesls closed 10 years ago

jamesls commented 10 years ago

This required updating the grammar, but no code changes were needed. I've updated the compliance tests with the examples from the JEP.

Note that there was one example that was changed from the original spec. The OR expression example was changed because a wildcard on a list type will never evaluate to null, and therefore will always be selected if it's the first expression in an OR expression.

cc @mtdowling

mtdowling commented 10 years ago

Looks good. All the tests pass in my implementation as well.

:ship: