Root

Setup

Selector: $

{
    "key": "value",
    "another key": {
        "complex": [
            "a",
            1
        ]
    }
}

Results

Consensus

[
  {
    "another key": {
      "complex": [
        "a",
        1
      ]
    },
    "key": "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).

{"another key": {"complex": ["a", 1]}, "key": "value"}

Other responses

Bash (JSONPath.sh)

[]

Elixir (ExJsonPath)

Not supported

syntax error before: 

PHP (Goessner) ²

Not found

jsonpath returned false, this might indicate an error

Perl (JSON-Path)

[
  ""
]

Python (jsonpath) ²

Not found

jsonpath returned false, this might indicate an error

Footnotes