Array slice with open start and end and step empty

Setup

Selector: $[::]

[
  "first",
  "second"
]

Results

Consensus

[
  "first",
  "second"
]

Other responses

C (json-glib)

[]

Elixir (jaxon)

[]

Erlang (ejsonpath)

Not supported

syntax error before: ':'

Java (com.github.jsurfer)

Not supported

org.antlr.v4.runtime.misc.ParseCancellationException

Java (com.jayway.jsonpath) ¹ ³

Not supported

SLF4J(W): No SLF4J providers were found.
SLF4J(W): Defaulting to no-operation (NOP) logger implementation
SLF4J(W): See https://www.slf4j.org/codes.html#noProviders for further details.
com.jayway.jsonpath.InvalidPathException: Failed to parse SliceOperation: ::

Objective-C (SMJJSONPath) ¹ ³

Not supported

Failed to parse SliceOperation: ::

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 : (:)')

Raku (JSON-Path)

Not supported

JSON path parse error at position 1

Rust (jsonpath)

Not supported

parsing error

Errors

Clojure (json-path) ¹

java.lang.NumberFormatException Cannot parse null string

Golang (github.com-oliveagle-jsonpath) ¹

only support one range(from, to): [  ]

Footnotes