Glossary Term Data Formats

JSON

A lightweight text format for storing and sending structured data using key-value pairs and lists.

#data #web #api

When this matters

JSON matters when you fetch API data, define tool-call outputs, pass config, save structured content, or inspect webhook payloads. If you are building with AI, you will run into JSON almost immediately because models, APIs, and SDKs all love it.

Small example

This is a valid JSON object you might get back from an API.

{
  "name": "Matt",
  "plan": "starter",
  "active": true,
  "projects": ["tool-hub", "glossary"]
}

Common mistake or lookout

Treating JSON like JavaScript. Real JSON requires double quotes around keys and string values, does not allow comments, and will fail hard if the shape is malformed.

Why this matters for vibe coders

Vibe coders constantly move data between prompts, APIs, databases, and UI components. JSON is usually the bridge, so a basic feel for its shape makes debugging way less mystical.