All topics
General · Learning hub

JSON cheat sheet & developer notes

JSON cheat sheet and 6 curated developer notes — core concepts, patterns, and interview prep. Maintained by the DevRecall team.

Save this stack to your DevRecallTest yourself — JSON quizMore General notes
01 · JSON

JSON.parse & JSON.stringify

JSON.parse & JSON.stringify. The two core browser/Node.js APIs for converting between JSON strings and JavaScript values.. JSON.stringify — JS → string. JSON.stringify(value, replacer?, space?) // Basic JSON.stringify({ …

Read
02 · JSON

JSON Schema & Validation

JSON Schema & Validation. JSON Schema is a vocabulary for describing the structure of JSON documents. Zod and Ajv are the most common validators in JS/TS projects.. JSON Schema basics. { "$schema": "https://json-schema.o…

Read
03 · JSON

JSON in REST APIs

JSON in REST APIs. JSON is the default wire format for REST APIs. Knowing the conventions saves debugging time.. Sending JSON with fetch. // POST with JSON body const res = await fetch('/api/users', { method: 'POST', hea…

Read
04 · JSON

JSON Syntax & Data Types

JSON Syntax & Data Types. JSON (JavaScript Object Notation) is a text-based data format. It has exactly 6 value types and strict syntax rules.. The 6 Value Types. string — always double quotes: "hello". number — integer …

Read
05 · JSON

JSON Syntax, Data Types & APIs

JSON: Syntax, Data Types & APIs. JSON (JavaScript Object Notation) is a lightweight text format for data interchange. It's language-independent, human-readable, and the dominant format for REST APIs, config files, and No…

Read
06 · JSON

JSON Schema, Validation & Tooling

JSON Schema, Validation & Tooling. JSON Schema Basics. JSON Schema is a vocabulary for annotating and validating JSON. Used in API contracts (OpenAPI), config validation, form validation, and IDE autocomplete.. { "$schem…

Read

Keep your JSON knowledge sharp.

Save this stack to your personal DevRecall — add your own notes, track what you're learning, and share what you know with the community.

Get started — free forever