You are viewing documentation about an older version (1.1.0). View latest version

snowflake.snowpark.functions.check_json

snowflake.snowpark.functions.check_json(col: ColumnOrName) Column[source]

Checks the validity of a JSON document. If the input string is a valid JSON document or a NULL (i.e. no error would occur when parsing the input string), the function returns NULL. In case of a JSON parsing error, the function returns a string that contains the error message.