Dot notation with wildcard after recursive descent on scalar

Setup

Selector: $..*

42

Results

Consensus

[]

Not found consensus

This consensus applies for implementations which return a specific not found value if no match exists.

NOT_FOUND

Other responses

Elixir (ExJsonPath)

Not supported

syntax error before: '*'

Ruby (jsonpath)

[
  42
]

Rust (jsonpath)

Not supported

parsing error

Scala (jsonpath)

[
  42
]

dotNET (Json.NET)

[
  42
]

Errors

Elixir (jaxon)

** (Jaxon.ParseError) Unexpected number, expected a string, number, object, array instead.
    lib/jaxon/decoders/query.ex:29: anonymous fn/2 in Jaxon.Decoders.Query.query/2
    lib/jsonpath.ex:8: Mix.Tasks.Execute.run/1

Golang (github.com-oliveagle-jsonpath) ¹

expression don't support in filter

JavaScript (jsonpath)

obj needs to be an object

Footnotes