Open
Description
It looks like the spec draft that you've based your implementation on is old. Check out the details at https://github.com/ietf-wg-jsonpath/draft-ietf-jsonpath-base. There have been quite a few changes (with good reason) since you last looked.
Mainly:
in
and=~
are no longer valid operators.- functions in expressions
Also, I would recommend hiding JsonPath-Plus features behind a default-off configuration option to align with the spec.
There's also a comparison website which lists a bunch of paths and various implementations' results. I've added an issue to add this lib. I'll be working on it (I am not a JS dev), but if you want to add it yourself, feel free. It'd be great to have another implementation there.
And if you want to join in the coversation for developing the spec, you'd be welcome!
Metadata
Assignees
Labels
No labels