Dot notation with non ASCII key

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)

[]

Clojure (json-path) ¹

{
  "\u5c6c\u6027": "value"
}

Elixir (ExJsonPath)

Not supported

illegal characters "屬"

JavaScript (brunerd)

Not supported

JavaScript (jsonpath)

Not supported

Lexical error on line 1. Unrecognized text.
$.屬性
--^

Perl (JSON-Path)

[]

Python (jsonpath-ng)

Not supported

JsonPathLexerError('Error on line 1, col 2: Unexpected character: 屬 ')

Python (jsonpath-rw)

Not supported

JsonPathLexerError('Error on line 1, col 2: Unexpected character: 屬 ')

Python (jsonpath2)

Not supported

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

Ruby (jsonpath)

[]

Rust (jsonpath)

Not supported

parsing error

Errors

Erlang (ejsonpath)

Timeout

Footnotes