Closed carlosingles closed 8 months ago
Has tests, references the comparison project and a standard too--looks great, thanks!
Thanks for merging this in @brettz9, would it be possible to have a new version of jsonpath-plus published to npm with these changes?
@carlosingles : Sure, released in 8.0.0
PR description
This PR adds support for nested filter expressions using the examples listed in this document: https://datatracker.ietf.org/doc/draft-ietf-jsonpath-base/ (Section 2.3.5.3, Table 12) as well as the json-path-comparison project example: https://cburgmer.github.io/json-path-comparison/#filter_expression_with_subfilter
I have also added other tests in addition to the two samples to cover some other use cases.
Checklist
npm test
, ensuring linting passes