JSON_STRING (Lakehouse v2)
Converts a JSON value to a JSON-encoded string.
Analyze Syntax
Section titled “Analyze Syntax”func.json_string(get_column(table, 'data'))Analyze Examples
Section titled “Analyze Examples”func.json_string(get_column(table, 'json_val'))
┌───────────┐│ '{"a":1}' │└───────────┘SQL Syntax
Section titled “SQL Syntax”JSON_STRING(<data>)SQL Examples
Section titled “SQL Examples”SELECT JSON_STRING(PARSE_JSON('{"a": 1}'));
┌─────────┐│ {"a":1} │└─────────┘