A JSONPath query never raises; it falls back to the caller's default
The rule
Normative: this is the rule
- JSONPath evaluation never raises.
- A query that is well-formed but matches nothing, and a query that cannot be compiled or cannot be run, both yield the default the caller supplied, null where none was supplied.
- The returned value does not tell the two apart.
Rule identifiers are permanent and are never renumbered. Each implementation publishes its own standing against these rules; this specification does not.spec 1.0-draft · LANG-9 · changed in spec 1.0