expr
expr copied to clipboard
Handle elements nested in slice?
e.g.
{
"a": [
{"b":1, "c":2},
{"b":11, "c":23},
{"b":12, "c":24},
]
}
How to query to find out the b when its sibling c == 24?
You can define a special method on your env: Find() and use it return needed elements.