Quering nested objects
Closed this issue · 1 comments
MilesHart commented
I have a nested object.
`
{
"parent":[
{
"name":"john",
"age":"23",
"child":[
{
"name":"paul",
"age":"3"
}
]
}
}
`
I want to find the child $..child*[?(@.name == 'paul')]
(not sure that is right in this example. However the problem it does not seem to be return the nest objects, just a flattened version of it, without any nesting.
Any ideas?
MilesHart commented
I'm a plonker. My mistake. thank you....