JSON Toolkit

Knowledge Base

A learning path that walks JSON from grammar and formats through querying, validation and production practice, each article paired with a working online tool.

Categories

Category cover for JSON Basics and the Specification

JSON Basics and the Specification

Starting from RFC 8259 and ECMA-404, this category lays out JSON's grammar, types, encoding, and parsing boundaries — the foundation every piece of JSON work rests on.

6 articles
Extended formats and dialects category cover

Extended Formats and Dialects

JSON5, JSONC, JSON Lines and NDJSON solve real needs such as comments, trailing commas and streaming, and bring compatibility and selection problems of their own.

6 articles
Querying and Incremental Modification category cover

Querying and Incremental Modification

Taking one value out of JSON or changing one field looks simple, but once standardized it becomes four specifications: JSONPath, JSON Pointer, JSON Patch, and Merge Patch.

5 articles
Category cover for Schema and Validation

Schema and Validation

Describe the shape of your data with JSON Schema, turn verbal agreements into executable validation, and let it drive TypeScript types and form generation in turn.

7 articles
Format conversion category cover

Format Conversion

Converting between JSON and YAML, XML, CSV, TypeScript, Java, Go, and SQL is never lossless. What matters is being explicit about where the loss happens.

8 articles
Performance and Security category cover

Performance and Security

A JSON file of tens of megabytes can freeze the main thread, and carefully crafted JSON can punch through a service; this category covers both throughput and defenses.

6 articles
Tools & Ecosystem category cover

Tools & Ecosystem

Parsing libraries, command-line tools, and editor plugins form the everyday JSON toolchain; the key to choosing between them is error-location quality and ecosystem maintenance health.

6 articles
Engineering Practice category cover

Engineering Practice

Putting JSON into real systems: how to define API contracts, how to manage configuration and fixtures, how to handle version compatibility, and how to maintain test data.

5 articles
Cover for the frequently asked questions category

Frequently Asked Questions

Collects the most frequently asked questions about the tools on this site and about the JSON specification, grouped by scenario, with an answer you can act on directly instead of a vague conclusion.

25 articles

Recently updated

Large JSON File Won't Open? Pick the Right Tool by Size

A multi-megabyte JSON export often freezes text editors and online viewers, yet parsing it takes only a few hundred milliseconds. We benchmarked a 45 MB, 500,000-record sample to measure time and memory at each stage, show why line count and node count are the real cost, and provide a size-based tool decision table covering online viewing, command-line extraction, streaming, and desktop apps.

Advanced~6 min readUpdated 2026-11-07

Working with JSONL Files: Open, Convert, and Debug Bad Lines

Feeding a whole .jsonl file to JSON.parse and getting an error almost never means the file is broken — it means the wrong reading strategy. This guide covers the standard ways to inspect and read JSONL line by line, the commands for converting to and from JSON arrays, a six-row table of common bad lines, and the correct way to consume JSONL from streaming HTTP responses.

Intermediate~9 min readUpdated 2026-11-06

JSON Schema Contract Testing: Wire Your Validation Rules into CI

A finished schema is where decay begins, not where work ends: one typo silently widens validation, one refactor breaks every fixture. This guide gives a workable contract testing setup — positive, negative, and snapshot fixtures, schema-first linting, compile-once reuse, and four CI gates that turn contract breakage into a red build.

Advanced~8 min readUpdated 2026-11-05

JSON to CSV: Where Headers Come From and Why Values Change

Nine experiments against a real converter: the first-row-keys strategy silently drops fields, null/missing/empty all collapse into blank cells, a 20-digit integer loses precision at JSON.parse time, and dot-collision flattening merges two different keys into one column. How headers are built, which values mutate, and how to pick a strategy by downstream use.

Intermediate~6 min readUpdated 2026-11-04