json_array
Descriptionβ
Converts each element of an SQL array to a JSON value and returns a JSON array that consists of the JSON values.
Syntaxβ
json_array(value, ...)
Parametersβ
value: an element in the SQL array. Only NULL values and the following data types are supported: STRING, VARCHAR, CHAR, JSON, TINYINT, SMALLINT, INT, BIGINT, LARGEINT, DOUBLE, FLOAT, and BOOLEAN.