-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
suppose I have
{
"a": {
"v": "va"
},
"b": {
"v": "vb"
}
}
$..[?(@.v=="va")]
returns
[
{
"v":"va"
}
]
how can I get the key of this object which is a
?
https://extendsclass.com/jsonpath-tester.html suports ~
, such that $..[?(@.v=="va")]~
returns
[
"a"
]
How can I do this in JsonPath-PHP?
Metadata
Metadata
Assignees
Labels
No labels