Union

Setup

Selector: $[0,1]

["first", "second", "third"]

Results

Consensus

[
  "first",
  "second"
]

Other responses

Clojure (json-path) ¹

"first"

Elixir (jaxon)

[]

Python (jsonpath-ng)

Not supported

JsonPathParserError('Parse error at 1:3 near token , (,)')

Python (jsonpath-rw)

Not supported

Exception('Parse error at 1:3 near token , (,)')

Rust (jsonpath)

Not supported

parsing error

Footnotes