Array slice with large number for start end negative step

Setup

Selector: $[113667776004:2:-1]

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

Results

Other responses

Bash (JSONPath.sh)

[]

C (json-glib)

[]

Cpp (jsoncons)

[
  "fifth",
  "forth"
]

Dart (json_path)

[
  "fifth",
  "forth"
]

Elixir (jaxon)

[]

Elixir (warpath) ¹

[
  "fifth",
  "forth",
  "third"
]

Erlang (ejsonpath)

Not supported

syntax error before: '-'

Golang (github.com-PaesslerAG-jsonpath) ¹

[]

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

[
  "fifth",
  "forth"
]

Golang (github.com-ohler55-ojg)

[]

Golang (github.com-spyzhov-ajson)

[
  "fifth",
  "forth"
]

Golang (github.com-vmware-labs-yaml-jsonpath)

[
  "fifth",
  "forth"
]

Haskell (jsonpath)

[
  "fifth",
  "forth"
]

JavaScript (Goessner) ²

Not found

jsonpath returned false, this might indicate an error

JavaScript (brunerd)

[
  "fifth",
  "forth"
]

JavaScript (jsonpath-plus)

[]

JavaScript (jsonpathly)

[]

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: java.lang.NumberFormatException: For input string: "113667776004"

Kotlin (com.nfeld.jsonpathkt) ¹

Not supported

For input string: "113667776004"

Objective-C (SMJJSONPath) ¹ ³

[]

PHP (Goessner) ²

Not found

jsonpath returned false, this might indicate an error

PHP (galbar-jsonpath)

[
  "fifth",
  "forth"
]

PHP (remorhaz-jsonpath)

[
  "fifth",
  "forth"
]

PHP (softcreatr-jsonpath)

[]

Perl (JSON-Path)

[]

Python (jsonpath) ²

[
  "fifth",
  "forth"
]

Python (jsonpath-ng)

Not supported

JsonPathParserError('Parse error at 1:16 near token : (:)')

Python (jsonpath-rw)

Not supported

Exception('Parse error at 1:16 near token : (:)')

Python (python-jsonpath)

[
  "fifth",
  "forth"
]

Raku (JSON-Path)

Not supported

JSON path parse error at position 1

Rust (jsonpath)

Not supported

parsing error

Rust (jsonpath_lib)

Not supported

path error: 
$[113667776004:2:-1]
^^^^^^^^^^^^^^^^^

Rust (jsonpath_plus)

[]

Rust (serde_json_path)

[
  "fifth",
  "forth"
]

Swift (Sextant)

[]

dotNET (JsonCons.JsonPath)

[
  "fifth",
  "forth"
]

dotNET (JsonPath.Net)

[
  "fifth",
  "forth"
]

dotNET (JsonPathLib)

[]

dotNET (Manatee.Json)

Not supported

Expected number. Path up to error: '$'

Errors

Clojure (json-path) ¹

java.lang.NumberFormatException For input string: "113667776004"

Elixir (ExJsonPath)

FunctionClauseError

Golang (github.com-oliveagle-jsonpath) ¹

only support one range(from, to): [113667776004 2 -1]

JavaScript (jsonpath)

Cannot read property 'value' of undefined

Python (jsonpath2)

timeout: sending signal TERM to command ‘implementations/Python_jsonpath2/run.sh’

Ruby (jsonpath)

step can't be negative

Scala (jsonpath)

java.lang.NumberFormatException: For input string: "113667776004"

dotNET (Json.NET)

Value was either too large or too small for an Int32.

Footnotes