snowflake.snowpark.functions.to_json¶
- snowflake.snowpark.functions.to_json(e: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.6.1/src/snowflake/snowpark/functions.py#L5557-L5570)¶
Converts any VARIANT value to a string containing the JSON representation of the value. If the input is NULL, the result is also NULL.
- Example::