JSON_FROM
Parse serialized JSON without normalizing its text.
Return Type
Json.
Inputs
arg must be a Bytes expression. Required undeterminedIf.isInvalid supplies a malformed-JSON diagnostic. Optional undeterminedIf.isEmpty supplies a missing-input diagnostic.
Syntax and Example
JSON_FROM:
arg:
BYTES: '{"enabled":true,"limit":4}'
undeterminedIf:
isInvalid: The configuration is not valid JSON.
isEmpty: The configuration is unavailable.
Behavior and Missing Values
Use a Bytes extract or a field configured with returnType: BYTES so parsing preserves the document. Configured failure checks produce UNDETERMINED. After parsing, use a typed JSON query operation to retrieve values.