Data Transformation1 / 5
What does the PARSE_JSON function do?
CorrectIncorrect
Alex
PARSE_JSON converts valid JSON text into a VARIANT value. The reverse operation is TO_JSON, which converts a JSON-compatible VARIANT to a string. PARSE_JSON returns NULL for SQL NULL input and for empty or whitespace-only strings, but invalid non-empty JSON causes an error. Use TRY_PARSE_JSON when you want NULL returned on parsing errors. Field extraction is performed after parsing, using colon notation, GET, or GET_PATH.
Sourcedocs.snowflake.com
Follow-up answers are available in the app. Create a free account — no credit card required.
Question 1 of 5
Create a free account