Add support for the parent operator `^`
gkorland opened this issue · comments
e.g.
$.store.book[*].authors[?(@.lastName=="Waugh")]^title
Example JSON:
{
"store": {
"book": [
{
"authors": [
{
"firstName": "Nigel",
"lastName": "Rees"
},
{
"firstName": "Evelyn",
"lastName": "Waugh"
}
],
"title": "Sayings of the Century"
},
{
"authors": [
{
"firstName": "Herman",
"lastName": "Melville"
},
{
"firstName": "Somebody",
"lastName": "Else"
}
],
"title": "Moby Dick"
}
]
}
}