h2non / jsonpath-ng

Finally, a JSONPath implementation for Python that aims to be standard compliant. That's all. Enjoy!
Apache License 2.0
572 stars 85 forks source link

README.rst examples are syntactically wrong #60 Fix #81

Open nivesnine opened 3 years ago

nivesnine commented 3 years ago

Reopened with "fix" branch.

Simple fix. Not sure if $.objects[?(@.some_field > 5 & other < 2)] should really be $.objects[?(@.some_field > 5 & @.other < 2)] or not. However, I do believe having '@' twice in the filter causes an error.