Scalar function
NULL inputs or a missing/invalid path return NULL. JSON null values return SQL NULL.
Syntax
Scalar
Arguments
Returns
- Type: STRING
- NULL behavior: NULL inputs or a missing/invalid path return NULL. JSON null values return SQL NULL.
Properties
Units
- Input unit: Array path indices are zero based.
- Output unit: Text
Usage notes
- Array indices are zero based.
- JSON strings are unquoted, while objects and arrays become compact JSON strings.
- Wildcard projections and bracket keys are supported; single-element wildcard arrays can be unwrapped.
- Field names are matched case-sensitively.
- Deterministic: The same inputs and settings produce the same result.
Examples
Typical behavior
Read an array element and a missing field
Limitations
- Use the path syntax and extraction forms shown on this page.
Last modified on October 15, 2026