GET_JSON_OBJECT (Lakehouse v2)
Extracts a JSON object from a JSON string by a specified path.
Analyze Syntax
Section titled “Analyze Syntax”func.get_json_object(get_column(table, 'data'), '$.address')Analyze Examples
Section titled “Analyze Examples”func.get_json_object(get_column(table, 'data'), '$.address')
┌─────────────┐│ JSON object │└─────────────┘SQL Syntax
Section titled “SQL Syntax”GET_JSON_OBJECT(<data>, '$.address')SQL Examples
Section titled “SQL Examples”SELECT GET_JSON_OBJECT('{"address":{"city":"NYC"}}', '$.address');
┌────────────────┐│ {"city":"NYC"} │└────────────────┘