json
JSON ->>
Extracts a field or array element as text; JSON null and missing values yield SQL NULL.
Formal Syntax & Structure
sql syntaxsql
json_or_jsonb ->> key_or_indexWorking Example
Example Snippetsql
SELECT '{"a":"x"}'::json ->> 'a';Extracts a field or array element as text; JSON null and missing values yield SQL NULL.
json_or_jsonb ->> key_or_indexSELECT '{"a":"x"}'::json ->> 'a';