JSON for APIs
Best practices for shipping JSON over the wire.
Tools
Strip whitespace for compact transport.
Convert JSON arrays into spreadsheet-ready CSV.
Convert JSON into well-formed XML with attributes.
Convert JSON into idiomatic YAML 1.2.
Compare two JSON documents structurally.
Validate JSON data against a JSON Schema — powered by Ajv.
Guides
Side-by-side comparison.
JS, Python, Bash recipes.
Naming, nullability, dates, errors.
HTML returned instead of JSON — how to detect and fix it.
Four patterns for serializing circular data safely.
Why it happens and how to handle non-serializable values.
Complete guide: syntax, reviver, safe parsing, and common errors.
Complete guide: replacer, space, toJSON(), circular refs.
json.load(), json.loads(), json.dump(), json.dumps() with examples.
Types, required fields, patterns, $ref, and Ajv validation examples.