json
JSON #>>
Extracts a nested value as SQL text rather than JSON.
Formal Syntax & Structure
sql syntaxsql
json_or_jsonb #>> text[]Working Example
Example Snippetsql
SELECT '{"a":[7,9]}'::json #>> '{a,1}';Extracts a nested value as SQL text rather than JSON.
json_or_jsonb #>> text[]SELECT '{"a":[7,9]}'::json #>> '{a,1}';