Fails to match with nested query selector
aDotInTheVoid opened this issue · comments
Path: $[*][?(@.inner.for.inner=='u8')]
JSON:
{
"0:4": {
"id": "0:4",
"inner": {
"for": {"inner": "u8", "kind": "primitive"}
}
}
}
jsonpath
matches to []
Expected:
[
{
"id" : "0:4",
"inner" : {
"for" : {
"inner" : "u8",
"kind" : "primitive"
}
}
}
]
(from jayway, via https://jsonpath.herokuapp.com/)