Recursive descent on nested arrays
Setup
Selector: $..*
[[0], [1]]
Results
Consensus
[
[
0
],
[
1
],
0,
1
]
Other responses
Bash (JSONPath.sh)
[
0,
1
]
C (json-glib)
[]
Elixir (ExJsonPath)
Not supported
syntax error before: '*'
Elixir (jaxon)
[
[
0
],
[
1
]
]
[
[
0
],
0,
[
1
],
1
]
[
0,
1,
[
0
],
[
1
]
]
Java (com.github.jsurfer)
[
0,
[
0
],
1,
[
1
]
]
PHP (remorhaz-jsonpath)
[
[
0
],
0,
[
1
],
1
]
Perl (JSON-Path)
[]
Python (jsonpath-ng)
[]
Python (jsonpath-rw)
[]
Raku (JSON-Path)
[
0,
1
]
Ruby (jsonpath)
[
[
[
0
],
[
1
]
],
[
0
],
0,
[
1
],
1
]
Rust (jsonpath)
Not supported
parsing error
Scala (jsonpath)
[
[
[
0
],
[
1
]
],
[
0
],
0,
[
1
],
1
]
dotNET (Json.NET)
[
[
[
0
],
[
1
]
],
[
0
],
0,
[
1
],
1
]
dotNET (Manatee.Json)
[
[
0
],
0,
[
1
],
1
]
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.