Dot notation with wildcard on empty array

Setup

Selector: $.*

[]

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

C (json-glib)

[
  []
]

PHP (Goessner) ²

null

Ruby (jsonpath)

[
  []
]

Errors

Golang (github.com-oliveagle-jsonpath) ¹

expression don't support in filter

Footnotes