Bracket notation without quotes

Setup

Selector: $[key]

{
  "key": "value"
}

Results

Consensus

Not supported

Other responses

Bash (JSONPath.sh)

[
  "value"
]

Elixir (jaxon)

[
  "value"
]

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

"value"

Golang (github.com-spyzhov-ajson)

[
  "value"
]

JavaScript (Goessner) ²

[
  "value"
]

JavaScript (jsonpath-plus)

[
  "value"
]

JavaScript (jsonpathly)

[
  "value"
]

PHP (Goessner) ²

[
  "value"
]

PHP (galbar-jsonpath)

[
  "value"
]

PHP (remorhaz-jsonpath)

[
  "value"
]

PHP (softcreatr-jsonpath)

[
  "value"
]

Perl (JSON-Path)

[
  "value"
]

Python (jsonpath) ²

[
  "value"
]

Python (jsonpath-ng)

[
  "value"
]

Python (jsonpath-rw)

[
  "value"
]

Python (python-jsonpath)

[
  "value"
]

dotNET (JsonPathLib)

[
  "value"
]

Errors

Clojure (json-path) ¹

java.lang.Exception object must be an array.

Golang (github.com-PaesslerAG-jsonpath) ¹

unknown key value

Golang (github.com-oliveagle-jsonpath) ¹

strconv.Atoi: parsing "key": invalid syntax

Ruby (jsonpath)

invalid value for Integer(): "key"

Rust (jsonpath_plus)

Error Parsing JSON Path:
$[key]
panic occurred

Footnotes