Dot notation with wildcard on empty object

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

PHP (Goessner) ²

null

Ruby (jsonpath)

[
  {}
]

Errors

Golang (github.com-oliveagle-jsonpath) ¹

expression don't support in filter

PHP (softcreatr-jsonpath)

TypeError

Footnotes