Dot notation after recursive descent with extra dot

Setup

Selector: $...key

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

Results

Consensus

Not supported

Other responses

Bash (JSONPath.sh)

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

C (json-glib)

[]

Clojure (json-path) ¹

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

Elixir (jaxon)

[
  "top"
]

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

[]

Golang (github.com-ohler55-ojg)

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

Golang (github.com-spyzhov-ajson)

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

Haskell (jsonpath)

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

JavaScript (Goessner) ²

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

JavaScript (jsonpath-plus)

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

Java (com.github.jsurfer)

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

Kotlin (com.nfeld.jsonpathkt) ¹

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

PHP (Goessner) ²

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

Perl (JSON-Path)

[]

Python (jsonpath) ²

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

Raku (JSON-Path)

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

Ruby (jsonpath)

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

Rust (jsonpath_plus)

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

dotNET (Json.NET)

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

dotNET (JsonPathLib)

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

Errors

Golang (github.com-oliveagle-jsonpath) ¹

expression don't support in filter

PHP (softcreatr-jsonpath)

TypeError

Footnotes