get_json_object
function
Applies to:
Databricks SQL
Databricks Runtime
Extracts a JSON object from path
.
Syntax
get_json_object(expr, path)
Returns
A STRING.
If the object cannot be found null is returned.
Examples
> SELECT get_json_object('{"a":"b"}', '$.a');
b