Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
Articles · Tutorials · Reference

The JSONTools Blog

In-depth guides on JSON, JSON Schema, JWT, JSONPath, REST APIs, and everything in between. Written for developers who want more than the official docs.

Measured, not summarised

Each of these is built from data produced by running code — 1,050 error strings captured from 21 JSON parsers, 165 round-trip results, and an audit of all 646 schemas in the SchemaStore catalogue. None of it can be written from memory.

Which languages silently corrupt large JSON numbers

Measured across 11 JSON parsers: which ones round a 64-bit integer, which preserve it, and what happens to 1e400. No errors are raised — the values just change.

2026-09-04 · Number precision

What every JSON parser does with duplicate keys

Measured: no parser rejects a duplicated JSON key, most keep the last value, and System.Text.Json keeps both. Why this reaches production and how to detect it.

2026-09-04 · Duplicate keys

The same JSON error, worded three different ways

Chrome, Firefox and Safari word identical JSON syntax errors completely differently. Measured side by side, with the full cross-engine table.

2026-09-04 · Browser engines

133 of 646 real JSON Schemas have keywords that do nothing

An audit of every schema in the SchemaStore catalogue: keywords beside $ref are silently ignored, and one in five schemas does it. Full findings and draft adoption data.

2026-09-04 · Schema audit

Newtonsoft accepts what System.Text.Json rejects

Measured side by side on malformed JSON: which inputs Newtonsoft tolerates silently, which System.Text.Json rejects, and what that means for a .NET migration.

2026-09-04 · .NET migration

Streaming a 101 MB JSON file uses 1 MB of memory

Benchmarked: JSON.parse costs 2.9 s and 299 MB on a 101 MB file. A streaming byte scanner does the same validation in 620 ms and 1 MB. Full numbers and why the gap is so large.

2026-09-04 · Benchmark

When JSON Merge Patch cannot do the job

Measured over 39,230 changes: Merge Patch is smaller 96.2% of the time but cannot express 9.6% of changes at all. Why, and how to choose.

2026-09-04 · Patch formats

Every JSON serializer escapes differently

Measured across twelve serializers: Go escapes HTML characters, Python escapes all non-ASCII, Gson escapes the apostrophe. The full cross-language escaping table.

2026-09-04 · Escaping

Tutorial

Comparisons

Reference

Api Design

Performance

Security

Background

AI / LLMs

Databases

Tutorials

Working with JSON Files in Node.js: Read, Write, and Edit Safely

A practical guide to reading, writing, modifying, and streaming JSON files in Node.js — with atomic writes, error handling, and large-file patterns.

2026-03-15 · 7 min

Pretty-Print JSON in the Terminal with jq (and 4 Alternatives)

How to pretty-print, filter, and query JSON from the command line. Five tools compared: jq, python -m json.tool, fx, jless, and gron.

2026-03-08 · 7 min

How to Format JSON in JavaScript: Complete Guide

Format JSON in JavaScript using JSON.stringify, in Node.js, in the browser, and via command-line tools. Covers indent options, sort_keys equivalents, and edge cases.

2026-02-12 · 6 min

How to Format JSON in Python: 4 Methods Compared

Format and pretty-print JSON in Python using the standard library and popular third-party tools. Examples with json.dumps, command-line use, rich for color output, and orjson for s...

2026-02-10 · 6 min

5 Ways to Convert JSON to CSV (and When to Use Each)

Compare five methods for converting JSON to CSV — online tools, Python pandas, jq, Node.js, and PowerShell. With handling for nested objects and arrays.

2026-02-08 · 8 min

JSONPath Tutorial: Complete Guide with Examples

Learn JSONPath — the query language for JSON. Wildcards, recursive descent, filters, slices, and real-world examples for extracting data from API responses.

2026-02-05 · 9 min

How to Validate JSON Against a Schema (with Examples)

Step-by-step guide to validating JSON against JSON Schema — using online tools, JavaScript (Ajv), Python (jsonschema), and Go. With real-world examples for API payloads.

2026-02-02 · 7 min

Understanding JSON Schema: A Complete Guide

JSON Schema lets you describe and validate JSON data. This guide covers the syntax, common keywords, drafts, and real-world examples — from basic type checks to complex composition...

2026-01-25 · 12 min

Best Practices

Troubleshooting