Bracket notation with wildcard on array

Setup

Selector: $[*]

[
    "string",
    42,
    {
        "key": "value"
    },
    [0, 1]
]

Results

Consensus

[
  "string",
  42,
  {
    "key": "value"
  },
  [
    0,
    1
  ]
]

Other responses

Bash (JSONPath.sh)

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

Elixir (ExJsonPath)

Not supported

syntax error before: '*'

Rust (jsonpath)

Not supported

parsing error

JSON (Path_Reference_Implementation)

Not supported

 --> 1:3
  |
1 | $[*]
  |   ^---
  |
  = expected unionChild, unionArrayIndex, or sliceStart

Footnotes