Bracket notation with wildcard after recursive descent

Setup

Selector: $..[*]

{
    "key": "value",
    "another key": {
        "complex": "string",
        "primitives": [0, 1]
    }
}

Results

Consensus

[
  "string",
  "value",
  0,
  1,
  [
    0,
    1
  ],
  {
    "complex": "string",
    "primitives": [
      0,
      1
    ]
  }
]

Other responses

Bash (JSONPath.sh)

[
  "string",
  "value",
  0,
  1
]

C (json-glib)

Not supported

Unable to compile selector `$..[*]': Missing member name or wildcard after . character

Elixir (ExJsonPath)

Not supported

syntax error before: '['

Elixir (jaxon)

[
  "value",
  {
    "complex": "string",
    "primitives": [
      0,
      1
    ]
  }
]

Erlang (ejsonpath)

Not supported

syntax error before: '['

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

[
  "value"
]

PHP (galbar-jsonpath) ²

Not supported

Invalid JSONPath error: 'Error in JSONPath near '..[*]''

Perl (JSON-Path)

[]

Python (jsonpath-ng)

[
  "string",
  "value",
  0,
  1,
  1,
  {
    "another key": {
      "complex": "string",
      "primitives": [
        0,
        1
      ]
    },
    "key": "value"
  },
  {
    "complex": "string",
    "primitives": [
      0,
      1
    ]
  }
]

Python (jsonpath-rw)

[
  "string",
  "value",
  0,
  0,
  1,
  1,
  {
    "another key": {
      "complex": "string",
      "primitives": [
        0,
        1
      ]
    },
    "key": "value"
  },
  {
    "complex": "string",
    "primitives": [
      0,
      1
    ]
  }
]

Raku (JSON-Path)

[
  "string",
  0,
  1,
  [
    0,
    1
  ]
]

Rust (jsonpath)

Not supported

parsing error

Scala (jsonpath)

Not supported

JPError(end of input expected)

dotNET (Json.NET)

[]

dotNET (Manatee.Json)

[]

JSON (Path_Reference_Implementation)

Not supported

 --> 1:3
  |
1 | $..[*]
  |   ^---
  |
  = expected childName

Errors

Golang (github.com-oliveagle-jsonpath) ¹

expression don't support in filter

PHP (softcreatr-jsonpath)

TypeError

Ruby (jsonpath)

0 is not a symbol nor a string

Footnotes