Store JSON documents as jsonb to get binary storage, indexing, and efficient operators.
Why This Matters
json stores raw text and reparses on every access and cannot be GIN-indexed, making containment queries slow.
Related Rules
Catch this automatically on every PR
BeforeMerge scans your pull requests against this rule and dozens more. Get actionable feedback before code ships.