snowflake.snowpark.functions.to_json¶
- snowflake.snowpark.functions.to_json(e: ColumnOrName) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.3.0/src/snowflake/snowpark/functions.py#L4243-L4256)¶
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::