Dot notation without dot

Setup

Selector: $a

{"a": 1, "$a": 2}

Results

Consensus

Not supported

Other responses

Bash (JSONPath.sh)

[
  1
]

Clojure (json-path) ¹

1

Elixir (jaxon)

[]

Golang (github.com-oliveagle-jsonpath) ¹

1

JavaScript (Goessner) ²

[
  1
]

JavaScript (jsonpath-plus)

[
  2
]

Kotlin (com.nfeld.jsonpathkt) ¹

1

PHP (Goessner) ²

[
  2
]

PHP (softcreatr-jsonpath)

[
  1
]

Perl (JSON-Path)

[
  1
]

Python (jsonpath) ²

[
  2
]

Raku (JSON-Path)

[
  1
]

Ruby (jsonpath)

[
  2
]

dotNET (Json.NET)

[
  2
]

dotNET (JsonPathLib)

[
  1
]

Errors

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

path: invalid character at 1

Rust (jsonpath_plus)

Error Parsing JSON Path:
$a
panic occurred

Footnotes