Filter expression with empty expression

Setup

Selector: $[?()]

[1, {"key": 42}, "value", null]

Results

Consensus

Not supported

Other responses

Bash (JSONPath.sh)

[]

Clojure (json-path) ¹

[]

Elixir (jaxon)

[]

Golang (github.com-oliveagle-jsonpath) ¹

[]

JavaScript (Goessner) ²

Not found

jsonpath returned false, this might indicate an error

JavaScript (jsonpath-plus)

[]

PHP (galbar-jsonpath)

[]

Python (jsonpath) ²

Not found

jsonpath returned false, this might indicate an error

Ruby (jsonpath)

[
  1,
  {
    "key": 42
  },
  "value"
]

dotNET (JsonPathLib)

[]

Errors

Golang (github.com-bhmj-jsonslice) ¹ ³

not enough arguments

Golang (github.com-spyzhov-ajson)

wrong request: wrong request: ?()

PHP (Goessner) ²

ArgumentCountError

Perl (JSON-Path)

non-safe evaluation, died at main.pl line 11.

Rust (jsonpath_plus)

Error Parsing JSON Path:
$[?()]
panic occurred

Footnotes