Read one property from a JSON document.
Section: Read JSON values
Extract a JSON field
sql
sql
SELECT json_extract(payload, '$.type') AS event_type FROM events;Explanation
A core pattern for event logs and flexible payload columns.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Read JSON values