Trino Functions
Json Functions
Determine if json is a scalar (i.e. a JSON number, a JSON string, true, false or null). Supported Signatures
Determine if value exists in json (a string containing a JSON array). Supported Signatures
Warning Supported Signatures
Returns the array length of json (a string containing a JSON array). Supported Signatures
Evaluates the JSONPath-like expression json_path on json (a string containing JSON) and returns the result as a JSON string. Supported Signatures
Like json_extract(), but returns the result value as a string (as opposed to being encoded as JSON). The value referenced by json_path must be a scalar (boolean, number or string). Supported Signatures
Returns the JSON text serialized from the input JSON value. This is inverse function to json_parse(). Supported Signatures
Returns the JSON value deserialized from the input JSON text. This is inverse function to json_format(). Supported Signatures
Like json_extract(), but returns the size of the value. For objects or arrays, the size is the number of members, and the size of a scalar value is zero. Supported Signatures
โI