Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Databricks SQL
Databricks Runtime
Extracts a JSON object from path
.
get_json_object(expr, path)
expr
: A STRING expression containing well formed JSON.path
: A STRING literal with a well formed JSON path expression.
A STRING.
If the object cannot be found null is returned.
> SELECT get_json_object('{"a":"b"}', '$.a');
b