get_json_object
function
Applies to: Databricks SQL Databricks Runtime
Extracts a JSON object from path
.
Syntax
get_json_object(expr, path)
Arguments
expr
: A STRING expression containing well formed JSON.path
: A STRING literal with a well formed JSON path.
Returns
A STRING.
If the object cannot be found null is returned.
Examples
> SELECT get_json_object('{"a":"b"}', '$.a');
b
Related functions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for