Developer guides
Answers to specific problems, each with a real example, working code, the mistakes to avoid and the tool that does the job.
How to compare two JSON objects
Why === and JSON.stringify give wrong answers when comparing JSON, how to write a deep equality check and a diff in JavaScript, and the mistakes to avoid.
4 min read · Uses JSON Diff, JSON Formatter
How to convert JSON to TypeScript interfaces
Turn a JSON API response into accurate TypeScript interfaces: map JSON types, handle optional and null fields, narrow strings, and validate at runtime with Zod.
3 min read · Uses JSON to TypeScript, JSON Formatter