Array slice on exact match

Setup

Selector: $[0:5]

["first", "second", "third", "forth", "fifth"]

Results

Consensus

[
  "first",
  "second",
  "third",
  "forth",
  "fifth"
]

Other responses

Clojure (json-path) ¹

"first"

Elixir (jaxon)

[]

Errors

Golang (github.com-oliveagle-jsonpath) ¹

index [to] out of range: len: 5, to: 5

Footnotes