json
jsonb_each_text
Returns object keys and text values, losing JSON value type distinctions.
Formal Syntax & Structure
sql syntaxsql
jsonb_each_text(jsonb)Working Example
Example Snippetsql
SELECT key, value FROM jsonb_each_text('{"a":7}') ORDER BY key;