Array slice with large number for end
Setup
Selector: $[2:113667776004]
["first", "second", "third", "forth", "fifth"]
Results
Consensus
[
"third",
"forth",
"fifth"
]
Other responses
Clojure (json-path)
¹
"third"
Elixir (jaxon)
[]
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"
Ruby (jsonpath)
[
"third",
"forth"
]
dotNET (Manatee.Json)
Not supported
Expected number. Path up to error: '$'
Errors
C (json-glib)
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
json_array_get_element: assertion 'index_ < array->elements->len' failed
json_node_copy: assertion 'JSON_NODE_IS_VALID (node)' failed
json_array_add_element: assertion 'node != NULL' failed
index [to] out of range: len: 5, to: 113667776004
Java (com.github.jsurfer)
java.lang.NumberFormatException: For input string: "113667776004"
PHP (softcreatr-jsonpath)
timeout: sending signal TERM to command ‘php’
Perl (JSON-Path)
Out of memory!
Python (jsonpath2)
timeout: sending signal TERM to command ‘implementations/Python_jsonpath2/run.sh’
Scala (jsonpath)
java.lang.NumberFormatException: For input string: "113667776004"
dotNET (Json.NET)
Value was either too large or too small for an Int32.
Footnotes
- ¹ This implementation returns a single value where only one match is possible (instead of an array of a single value).
- ² This implementation returns a specific not found value if no match exists.
- ³ This implementation returns a specific not found value if a query that would regularly return a single match results in no match.