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.

START HERE

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 guide
THE BASICS

JSON 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 guide
THE BASICS

JSON Square Brackets vs. Curly Braces

Square brackets hold arrays. Curly braces hold objects. Learn the difference with nested examples and common mistakes.

Read guide
TROUBLESHOOTING

Trailing 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 guide
BETTER DEBUGGING

JSON Parse Errors: How to Find the Real Problem

Understand missing commas, unquoted names, invalid escapes, and unexpected content with practical debugging examples.

Read guide
DATA CONTRACTS

JSON Schema: Checking More Than Syntax

Distinguish valid JSON from valid application data using required properties, types, and a small schema example.

Read guide
NAVIGATING DATA

JSONPath: 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 guide
FILES & VIEWING

How to Open and Read a JSON File

Open a local .json file, check its syntax, and explore nested values without installing an editor.

Read guide
TROUBLESHOOTING

Missing 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 guide
STRINGS & CODE

JSON.stringify, JSON.parse, and Escaping

See the difference between JSON text, a JSON string literal, and a parsed value with concrete examples.

Read guide
TROUBLESHOOTING

Single Quotes in JSON: Strings Need Double Quotes

Correct single-quoted JSON names and strings while preserving apostrophes and escaped quotes inside the data.

Read guide
FORMAT COMPARISON

JSON vs. XML vs. YAML: Which Format Fits?

Compare the structure and conversion tradeoffs of JSON, XML, and YAML with the same data.

Read guide
DATA FORMATS

JSON 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 guide
WEB DATA

What 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 guide
SPREADSHEETS

Convert 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