Skip to content

Creates a JSON array from a list of values.

func.json_array(1, 'hello', None)
func.json_array(1, 'hello', None)
┌──────────────────┐
[1,"hello",null]
└──────────────────┘
JSON_ARRAY(1, 'hello', None)
SELECT JSON_ARRAY(1, 'hello', NULL);
┌──────────────────┐
│ [1,"hello",null] │
└──────────────────┘