json
json_build_array
Converts arguments into JSON array elements; SQL NULL becomes JSON null.
Formal Syntax & Structure
sql syntaxsql
json_build_array(value, ...)Working Example
Example Snippetsql
SELECT json_build_array(7, NULL, 'x');Converts arguments into JSON array elements; SQL NULL becomes JSON null.
json_build_array(value, ...)SELECT json_build_array(7, NULL, 'x');