Dot notation with wildcard after dot notation after dot notation with wildcard
Setup
Selector: $.*.bar.*
[{"bar": [42]}]
Results
Consensus
[
42
]
Other responses
C (json-glib)
[
[
{
"bar": [
42
]
}
]
]
[
[
42
]
]
Python (jsonpath-ng)
[]
Python (jsonpath-rw)
[]
Ruby (jsonpath)
[
[
42
]
]
Scala (jsonpath)
[]
dotNET (Json.NET)
[]
Errors
expression don't support in filter
Footnotes
- ¹ This implementation returns a single value where only one match is possible (instead of an array of a single value).
- ² This implementation returns a specific not found value if no match exists.
- ³ This implementation returns a specific not found value if a query that would regularly return a single match results in no match.