Dot notation after recursive descent

Setup

Selector: $..key

{
    "object": {
        "key": "value",
        "array": [
            {"key": "something"},
            {"key": {"key": "russian dolls"}}
        ]
    },
    "key": "top"
}

Results

Consensus

[
  "russian dolls",
  "something",
  "top",
  "value",
  {
    "key": "russian dolls"
  }
]

Other responses

Bash (JSONPath.sh)

[
  "russian dolls",
  "something",
  "top",
  "value"
]

C (json-glib)

[
  "something",
  "top",
  "value",
  {
    "key": "russian dolls"
  }
]

Elixir (jaxon)

[
  "top"
]

Raku (JSON-Path)

[
  "russian dolls",
  "something",
  "value",
  {
    "key": "russian dolls"
  }
]

Rust (jsonpath)

Not supported

parsing error

Scala (jsonpath)

[
  "something",
  "top",
  "value",
  {
    "key": "russian dolls"
  }
]

JSON (Path_Reference_Implementation)

Not supported

 --> 1:3
  |
1 | $..key
  |   ^---
  |
  = expected childName

Errors

Golang (github.com-oliveagle-jsonpath) ¹

expression don't support in filter

PHP (softcreatr-jsonpath)

TypeError

Footnotes