Array slice with range of 1

Setup

Selector: $[0:1]

[
  "first",
  "second"
]

Results

Consensus

[
  "first"
]

Other responses

Clojure (json-path) ¹

"first"

Elixir (jaxon)

[]

Golang (github.com-oliveagle-jsonpath) ¹

[
  "first",
  "second"
]

Raku (JSON-Path)

[
  "first",
  "second"
]

Rust (jsonpath)

[
  "first",
  "second"
]

Footnotes