Skip to main content
Scalar function
NULL inputs or a missing/invalid path return NULL.

Syntax

Scalar

Arguments

Returns

  • Type: STRING
  • NULL behavior: NULL inputs or a missing/invalid path return NULL.

Properties

Units

  • Input unit: Array path indices are zero based.
  • Output unit: Text

Usage notes

  • Array indices are zero based.
  • JSON strings are quoted in the output; objects and arrays are returned as raw JSON text.
  • A root $ or empty path returns the original JSON text.
  • 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