snowflake.snowpark.functions.to_json¶
- snowflake.snowpark.functions.to_json(e: Union[Column, str]) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.30.0/snowpark-python/src/snowflake/snowpark/functions.py#L8335-L8349)¶
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::