JSON guides
Short, practical answers to the questions people ask about JSON, with a tool to try each idea.
What is TOON format?
TOON (Token-Oriented Object Notation) is a compact way to write JSON data for LLM prompts. Learn the syntax, how it saves tokens, when it does not, and how to convert JSON to TOON.
Read the guide →Common JSON errors and how to fix them
Why is my JSON invalid? The most common JSON syntax errors (trailing commas, single quotes, comments, unquoted keys), what the error messages mean, and how to fix each one.
Read the guide →JSONPath cheat sheet
A quick JSONPath syntax reference with examples: root, child, wildcard, recursive descent, array slices, filters and regex. Try each expression live in the JSONPath tester.
Read the guide →JSON vs JSONL (NDJSON)
JSON holds one value. JSONL, also called NDJSON, holds one JSON value per line. Learn when to use each, how to convert between them, and how to open a JSONL file.
Read the guide →