Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to reference name of element itself when doing a filter #997

Open
HenrikHL opened this issue Feb 8, 2024 · 0 comments
Open

How to reference name of element itself when doing a filter #997

HenrikHL opened this issue Feb 8, 2024 · 0 comments

Comments

@HenrikHL
Copy link

HenrikHL commented Feb 8, 2024

When using a filter in a JSONPath it is necessary to test on the element name when using the * matching:
$..*[?(@ != 'id')]
The above does not seem to be possible?
The desired result would be all elements that is not an id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant