A little understanding goes a long way.
Practical answers to the small things that stop you building. Learn the rule, see an example, and try it yourself.
What Is JSON? Reading an API Response
Follow a small API response from raw text to useful values, and understand how JSON differs from a JavaScript object.
Read guideJSON Format: Syntax, Types, and Examples
Learn the six JSON value types, the rules for valid syntax, and how formatting makes structured data easier to read.
Read guideJSON Square Brackets vs. Curly Braces
Square brackets hold arrays. Curly braces hold objects. Learn the difference with nested examples and common mistakes.
Read guideTrailing Commas in JSON: Find and Fix Them
A comma separates JSON items; it cannot follow the final item. See invalid and corrected object and array examples.
Read guideJSON Parse Errors: How to Find the Real Problem
Understand missing commas, unquoted names, invalid escapes, and unexpected content with practical debugging examples.
Read guideJSON Schema: Checking More Than Syntax
Distinguish valid JSON from valid application data using required properties, types, and a small schema example.
Read guideJSONPath: Locate Values in Nested JSON
Read root, property, and array-index paths, including keys with punctuation, and understand the viewer’s copy-path feature.
Read guideHow to Open and Read a JSON File
Open a local .json file, check its syntax, and explore nested values without installing an editor.
Read guideMissing Comma in JSON: Fix the Previous Value
Understand why a JSON error can point after the mistake, and add the missing separator without changing your data.
Read guideJSON.stringify, JSON.parse, and Escaping
See the difference between JSON text, a JSON string literal, and a parsed value with concrete examples.
Read guideSingle Quotes in JSON: Strings Need Double Quotes
Correct single-quoted JSON names and strings while preserving apostrophes and escaped quotes inside the data.
Read guideJSON vs. XML vs. YAML: Which Format Fits?
Compare the structure and conversion tradeoffs of JSON, XML, and YAML with the same data.
Read guideJSON vs. JSONL and NDJSON
Learn why line-delimited JSON is useful for records, how to validate each line, and when to convert to an array.
Read guideWhat Is JSON-LD? Structured Data in JSON
Understand JSON-LD context and types, see a simple example, and distinguish syntax checks from structured-data eligibility.
Read guideConvert JSON to Excel or CSV Without Losing Values
Choose XLSX or CSV for JSON records, learn the column mapping, and avoid common spreadsheet number and formula mistakes.
Read guide