The JSONPost Blog
Guides and deep-dives on working with JSON — from formatting and validation to schemas, conversions, and developer workflows.
Validating JSON with JSON Schema
Learn how JSON Schema works, how to generate a schema from sample data, and how to validate documents with clear, path-based error messages.
JSON vs JSON5 vs JSONC — What's the Difference?
Comments, trailing commas, and unquoted keys — understand JSON5 and JSONC, where each is used, and how to convert them to strict JSON.
How to Format JSON (and Why It Matters)
A practical guide to beautifying, indenting, and minifying JSON — and when to use each, with tips for debugging messy API responses.
Safely Parsing Untrusted JSON in JavaScript
Parse untrusted JSON in JavaScript without crashing or opening security holes — try/catch, revivers, prototype pollution, schema validation, size and depth limits.
How to Shrink JSON Payloads and Speed Up Your API
Practical techniques to reduce JSON payload size — minification, gzip and brotli, shorter keys, dropping nulls, pagination — with before and after byte measurements.
NDJSON and JSON Lines: Streaming JSON at Scale
Why one JSON object per line beats a giant array for streaming, logs, and big data, with Node and Python examples for reading, writing, and converting NDJSON.
JSON Schema Deep Dive: Validation Beyond the Basics
A practical tour of JSON Schema validation covering types, required fields, formats, numeric and array constraints, composition keywords, $ref reuse, and drafts.
Understanding and Decoding JSON Web Tokens (JWT)
Learn JWT structure, base64url encoding, and standard claims — how to decode tokens in JavaScript, why decoding is not verifying, and security best practices.
YAML vs JSON for Configuration: A Developer's Guide
Compare YAML and JSON for config files — comments, anchors, multiline strings, the Norway problem, and when to convert between the two for your tooling.
JSON to CSV and Back: Handling Nested Data and Edge Cases
Convert JSON to CSV and back without losing data. Flatten nested objects, handle arrays, escape special characters, pick delimiters, and dodge Excel pitfalls.
From JSON to TypeScript Types: A Complete Guide
Turn JSON API responses into accurate TypeScript types. Learn interfaces vs type aliases, nested data, optional and nullable fields, unions, and validation.
A Practical jq Cookbook for Wrangling JSON
A hands-on jq cookbook of copy-paste recipes — pipes, map, select, building objects, group_by, to_entries, and using jq with curl on real API data.
Mastering JSONPath: Query JSON Like a Pro
Learn JSONPath from the ground up — root, child, recursive descent, wildcards, array slices, and filter expressions — with real nested JSON and dozens of examples.