Extract JSON while preserving missing/null/type
#json_extract returns an SQL scalar for a scalar path; JSON null and a missing path can both become SQL NULL. json_type distinguishes a JSON null (text 'null') from a missing path (SQL NULL). SQLite JSONB and PostgreSQL jsonb are different formats, not portable binary values.
Fragment
Self-contained SQLite JSON expressions; requires JSON support.