Root on scalar false

Setup

Selector: $

false

Results

Consensus

[
  false
]

Scalar consensus

The scalar consensus applies for implementations which return a single value where only one match is possible (instead of an array of a single value).

false

Other responses

Elixir (ExJsonPath)

Not supported

syntax error before: 

Java (com.github.jsurfer)

[]

PHP (Goessner) ²

null

Python (jsonpath) ²

Not found

jsonpath returned false, this might indicate an error

Errors

JavaScript (Goessner) ²

undefined

JavaScript (jsonpath)

obj needs to be an object

JavaScript (jsonpath-plus)

undefined

Perl (JSON-Path)

Missing required argument 'root' in constructor at build/lib/perl5/JSON/Path.pm line 103.

Footnotes