JSON

Json data type and usages

circle-info

Important Notice: Migration of Documentation Website

Please be advised that our documentation website is currently undergoing a migration to a new platform. To ensure you have access to the most up-to-date information, we kindly request that you visit our new documentation website located at:

Official Snowflake Snowconvert Documentationarrow-up-right

For any immediate assistance or if you encounter any issues, please contact our support team at [email protected]envelope.

Thank you for your understanding.

Description

Represents JSON, a lightweight data-interchange format. For more information please refer to BigQuery JSON data typearrow-up-right.

triangle-exclamation

JSON Literals

JSON 'json_formatted_data'

For more information please refer to JSON Literals in BigQueryarrow-up-right.

These literals are not supported in Snowflake, but instead the PARSE_JSONarrow-up-right function can be used to convert the input expression to a json type. The only point to take into consideration is that this function cannot be used in the values clause in Snowflake, for this reason it is transformed to a subquery.

Sample Source Patterns

Input Code:

Output Code:

Last updated