Tag

#json

12articles
BasicsNov 15, 2026

Single or double quotes in the terminal — and where your $5 went

Single vs double quotes in bash and zsh: how they differ, why echo eats $5 and exclamation marks, and which quotes to use for JSON, git and curl.

5 min read
BasicsOct 10, 2026

What is a Symbol in JavaScript — and why JSON.stringify can't see it

What a Symbol in JavaScript is, in plain words: a key that skips JSON and Object.keys, breaks string concatenation, and is the reason for...of works at all.

5 min read
GuidesOct 9, 2026

Why big numbers get rounded in JavaScript — and your API ID ends in zeros

Why big numbers get rounded in JavaScript: an ID from your API arrives ending in zeros. Three causes — JSON.parse, Number() and Excel — and how to fix each.

6 min read
GuidesOct 8, 2026

Why your object keys are out of order — and the list sorts itself

Why object key order changes in JavaScript: integer keys jump to the front, databases and JSON don't keep order. Three causes, how to check and how to fix.

5 min read
BasicsSep 29, 2026

What is a tree in programming — and why the database stores it as a flat list

What a tree data structure is in plain words: root, nodes and leaves. Where you meet trees every day and why a database stores them as a flat list.

5 min read
BasicsAug 18, 2026

JSON or XML in 2026 — and why XML made an unexpected comeback

JSON beat XML in APIs — but XML came back where nobody expected: in AI prompts. An honest comparison, and where you'll actually meet each one.

5 min read
BasicsAug 13, 2026

CSV or JSON — which one to pick for your data

CSV vs JSON: how they differ, which to use for exports and which for APIs, why Excel mangles your CSV, and how a single comma breaks the whole file.

5 min read
BasicsJul 22, 2026

JSON vs YAML — how to choose when they're almost one format

JSON and YAML aren't rivals: YAML formally includes JSON. An honest comparison — comments, strictness, error styles — and one simple rule for choosing.

5 min read
GuidesJul 17, 2026

Why my JSON parse fails (Unexpected token) — 3 causes, none of them in the JSON

SyntaxError: Unexpected token — it's almost always just not JSON. Why JSON parsing fails: 3 real causes (the model wrapped it in ```json, the server sent HTML) and the fixes.

6 min read
GuidesJul 16, 2026

Why my JSON is invalid (Unexpected token) — 3 causes that catch almost everyone

The 'Unexpected token in JSON' error shows up nowhere near where you'd expect. Here are the 3 common reasons your JSON is invalid — and how to fix each fast.

5 min read
BasicsJul 1, 2026

What is JSON — in plain words, and why every program understands it

JSON isn't code, it's data: two kinds of brackets and a colon. Learn what JSON is, how to read one, and why it shows up in every API response and config file.

5 min read
Prompt engineeringJun 27, 2026

What is structured output — how to make an AI return JSON

AI usually answers in chatty text, and your code chokes on it. Structured output forces the model to hand back strict JSON — no surprises.

5 min read