-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Get object from two dimensional array with selection #617
Comments
This path works for me: |
When i try it on https://jsonpath.herokuapp.com/ seem to work |
Oo thx, i dont understand these issues like this. |
The title of #287 "Filter on children level, return the parent node" is just what you want: |
This issue could be close if resolved. |
Hello !
I Have JSON struc like this :
{ "Entreprise": { "Location": [ { "City":"litelTown", "Employee": [ { "Name":"Paul", "Age" : "34" } ] }, { "City":"BigTown", "Employee": [ { "Name":"Arthur", "Age" : "65" }, { "Name":"Pauline", "Age" : "44" }, { "Name":"Elisabeth", "Age" : "34" } ] }, { "City":"MidleTown", "Employee": [ { "Name":"Moahmed", "Age" : "34" }, { "Name":"Yves", "Age" : "38" } ] } ] } }
And i would get something like this :
$..Location.[?(@.Employee[?(@Age== '34')])]
But it's complicated to work with double dimension array
Get the location who have employee who have 34 years old
if any body have an idea ;)
(Sorry for my primitif english)
The text was updated successfully, but these errors were encountered: