JSON GUIDE · 3 MIN READ
What is JSON?
Understand JSON values, documents, and everyday API and configuration workflows.
A portable way to describe data
JSON is a text format for exchanging structured data. An API response, a configuration file, and a saved test fixture can all use the same small vocabulary. JSON text does not contain program behavior: reading it should parse values rather than execute code.
Think of a document as one value. That value may contain more values, so a user object can contain an address object and an array of permissions. Even a primitive such as false or null is a complete JSON document.
{"name":"Ada","active":true,"roles":["editor"],"manager":null}Text and parsed data are different
The text you paste includes whitespace and escape sequences. Parsing turns that text into values a program can inspect. Formatting then creates a new textual representation. Keep the original when exact bytes, signatures, numeric precision, or duplicate members matter.
Start with validation when a document will not open, a tree when you need to inspect one branch, and a table when your data is an array of records. A schema adds application rules beyond whether the text is valid JSON.

