Closed denisvmedia closed 1 year ago
[?(@.name exists false)]
should work but I tried it an it fails so it's a bug and I'll fix it tonight.
Looks like I broke it in the last release when the Nothing
value was introduced to be in close compliance with https://datatracker.ietf.org/doc/html/draft-ietf-jsonpath-base. Please try the develop branch for the fix. I'll release on confirmation.
It works. Thank you.
Released v1.18.1 with the fix. Thanks for letting me know about the issue.
I tried this program: https://go.dev/play/p/De9ncvFbK6S:
It won't panic, but it also just returns all the objects regardless the filter. Is it possible to achieve what I need with your library? Thank you.