Bracket notation with quoted escaped backslash

Setup

Selector: $['\\']

{"\\":"value"}

Results

Consensus

[
  "value"
]

Scalar consensus

The scalar consensus applies for implementations which return a single value where only one match is possible (instead of an array of a single value).

"value"

Other responses

Bash (JSONPath.sh)

[]

C (json-glib)

[]

Elixir (ExJsonPath)

[]

Elixir (jaxon)

[]

Elixir (warpath) ¹

null

Erlang (ejsonpath)

[]

FSharp (FSharp.Data.JsonPath)

[]

JavaScript (Goessner) ²

Not found

jsonpath returned false, this might indicate an error

JavaScript (jsonpath)

[]

JavaScript (jsonpath-plus)

[]

Java (com.github.jsurfer)

[]

PHP (Goessner) ²

Not found

jsonpath returned false, this might indicate an error

PHP (galbar-jsonpath)

[]

Perl (JSON-Path)

[]

Python (jsonpath) ²

Not found

jsonpath returned false, this might indicate an error

Python (jsonpath2)

Not supported

line 1:2 token recognition error at: '''
ValueError("line 1:2 token recognition error at: '''")

Raku (JSON-Path)

[]

Ruby (jsonpath)

[]

Rust (jsonpath)

Not supported

parsing error

Rust (jsonpath_lib)

Not supported

path error: 
$['\\']
^^

Rust (jsonpath_plus)

[]

Scala (jsonpath)

[]

dotNET (JsonPathLib)

[]

Errors

Clojure (json-path) ¹

java.lang.Exception object must be an array.

Golang (github.com-oliveagle-jsonpath) ¹

strconv.Atoi: parsing "'\\\\'": invalid syntax

Footnotes