Dot notation with wildcard after recursive descent on null value array
Setup
Selector: $..*
[
40,
null,
42
]
Results
Consensus
[
40,
42,
null
]
Other responses
C (json-glib)
[]
Clojure (json-path)
¹
[
40,
42
]
Elixir (ExJsonPath)
Not supported
syntax error before: '*'
Kotlin (com.nfeld.jsonpathkt)
¹
[
40,
42
]
Perl (JSON-Path)
[]
Python (jsonpath-ng)
[]
Python (jsonpath-rw)
[]
Raku (JSON-Path)
[]
Ruby (jsonpath)
[
40,
42,
[
40,
null,
42
],
null
]
Rust (jsonpath)
Not supported
parsing error
Scala (jsonpath)
[
40,
42,
[
40,
null,
42
],
null
]
dotNET (Json.NET)
[
40,
42,
[
40,
null,
42
],
null
]
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.