json
json_object_keys
Returns top-level keys of a JSON object; does not traverse nested keys.
Formal Syntax & Structure
sql syntaxsql
json_object_keys(json)Working Example
Example Snippetsql
SELECT k FROM json_object_keys('{"a":{"b":1}}') AS t(k) ORDER BY k;