Check whether a string contains valid JSON.
Section: Read JSON values
Validate JSON text
sql
sql
SELECT json_valid(payload) FROM events;Explanation
Useful before imports, migrations, or backfilling generated 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