JSON Escaping and Encoding
Escape sequences, Unicode, URLs, embedded JSON strings, and encoding pitfalls when storing or transporting JSON.
Export
Copy the compact sheet, download it, or print it.
Download
`D` dense toggle · `C` copy all
## Escaping basics
## Encoding pitfalls
More in JSON
JSONL and NDJSON
Newline-delimited JSON patterns for logs, streams, ETL, and large-file processing workflows.
JSON API Payload Patterns
Reusable JSON payload shapes for APIs: envelopes, pagination, errors, metadata, partial updates, and event-style messages.
JSON Schema Validation
Practical JSON Schema examples for required fields, types, enums, arrays, nested objects, and validation workflows.
JSON Formatting, Minifying, and Pretty-Printing
Commands and patterns for compact JSON, human-readable formatting, stable sorting, and terminal-friendly inspection.
JSON Validation and Common Errors
How to validate JSON, spot parse failures, repair common mistakes, and debug malformed payloads quickly.
JSON Objects and Arrays
Patterns for nested objects, arrays, list items, nullability, and common data-shape decisions in JSON.