Skip to content

Expands the top-level JSON object into a set of key-value pairs.

func.json_each(get_column(table, 'data'))
func.json_each(get_column(table, 'data'))
JSON_EACH(<data>)
SELECT * FROM TABLE(JSON_EACH(PARSE_JSON('{"a":1,"b":2}')));
┌─────┬───────┐
keyvalue
├─────┼───────┤
│ a │ 1
│ b │ 2
└─────┴───────┘