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

Maybe support JSONPath_Plus? #70

Open
bwinton opened this issue Jul 23, 2024 · 1 comment
Open

Maybe support JSONPath_Plus? #70

bwinton opened this issue Jul 23, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@bwinton
Copy link

bwinton commented Jul 23, 2024

Let me start off by saying that I really like this library! It's been very helpful in the week or so since I started using it!

But there are a couple of tasks I was trying to do that I don't think are currently supported, but could be…
The first one is to search for all the fields of a specific type, and then show a sibling element, like components.[?(@.componentType == \"date-input\")].^.name (if ^ was the parent, and there was a name beside the element).
The second one was to search for items that had been translated with something like $.fields.[?(@.~ != \"en-US\")].*

It looks like JSONPath_Plus could support both of those, and I was wondering if that's something you'd be open to implementing?

@besok
Copy link
Owner

besok commented Jul 24, 2024

Thanks!
The idea is interesting. We can pull it in.

@besok besok added the help wanted Extra attention is needed label Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants