Current with dot notation

Setup

Selector: @.a

{"a": 1}

Results

Other responses

Bash (JSONPath.sh)

[]

C (json-glib)

Not supported

Unable to compile selector `@.a': Invalid first character “@”

Clojure (json-path) ¹

null

Cpp (jsoncons)

[
  1
]

Dart (json_path)

Not supported

Instance of 'ParserException': "$" expected (at 1:1)

Elixir (ExJsonPath)

Not supported

syntax error before: '@'

Elixir (jaxon)

[]

Elixir (warpath) ¹

Not supported

Parser error: Invalid token on line 1, syntax error before: <<"@">>

Erlang (ejsonpath)

Not supported

syntax error before: '@'

Golang (github.com-ohler55-ojg)

[
  1
]

Golang (github.com-oliveagle-jsonpath) ¹

1

Golang (github.com-spyzhov-ajson)

[
  1
]

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

[]

Haskell (jsonpath)

Not supported

Invalid JSONPath: @.a
 Error: 1:1:
  |
1 | @.a
  | ^^
unexpected "@."
expecting ".*", "..", '$', '.', '[', or white space

JavaScript (Goessner) ²

Not found

jsonpath returned false, this might indicate an error

JavaScript (brunerd)

Not supported

JavaScript (jsonpath)

Not supported

Lexical error on line 1. Unrecognized text.
@.a
^

JavaScript (jsonpathly)

Not supported

mismatched input '@' expecting '$'

Java (com.github.jsurfer)

Not supported

org.antlr.v4.runtime.misc.ParseCancellationException

Java (com.jayway.jsonpath) ¹ ³

1

Kotlin (com.nfeld.jsonpathkt) ¹

null

Objective-C (SMJJSONPath) ¹ ³

1

PHP (Goessner) ²

Not found

jsonpath returned false, this might indicate an error

PHP (galbar-jsonpath)

Not supported

Invalid JSONPath error: 'Error in JSONPath near '@.a''

PHP (remorhaz-jsonpath)

Not supported

Error: 'Failed to build AST from JSONPath query: @.a'

PHP (softcreatr-jsonpath)

Not supported

Error: 'Unable to parse token @ in expression: .@.a'

Perl (JSON-Path)

[
  1
]

Python (jsonpath) ²

Not found

jsonpath returned false, this might indicate an error

Python (jsonpath-ng)

[]

Python (jsonpath-rw)

[]

Python (jsonpath2)

Not supported

line 1:0 mismatched input '@' expecting '$'
ValueError("line 1:0 mismatched input '@' expecting '$'")

Python (python-jsonpath)

Not supported

JSONPathSyntaxError("unexpected token '@'")

Raku (JSON-Path)

Not supported

JSON path parse error at position 0

Ruby (jsonpath)

[
  1
]

Rust (jsonpath)

Not supported

parsing error

Rust (jsonpath_lib)

Not supported

path error: 
@.a
^

Rust (serde_json_path)

Not supported

at position 0, parser error

Scala (jsonpath)

Not supported

JPError('$' expected but '@' found)

Swift (Sextant)

[
  1
]

dotNET (Json.NET)

[]

dotNET (JsonCons.JsonPath)

[
  1
]

dotNET (JsonPath.Net)

[
  1
]

dotNET (JsonPathLib)

[]

dotNET (Manatee.Json)

[
  1
]

Errors

Golang (github.com-PaesslerAG-jsonpath) ¹

unsupported value type <nil> for select, expected map[string]interface{} or []interface{}

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

path: $ expected

JavaScript (jsonpath-plus)

Unknown value type 

Rust (jsonpath_plus)

Error Parsing JSON Path:
@.a
panic occurred

Footnotes