APIs & Data

JSON (JavaScript Object Notation)

What It Is

A standard format for structuring data, using curly braces and key-value pairs

Analogy

A standardized form everyone agreed to use — like a shipping label with specific fields in specific places

Try It Out

JSONuser.json
1{
2 400">"name": 400">"John Doe",
3 400">"age": 30,
4 400">"email": 400">"john@example.com",
5 400">"isActive": true,
6 400">"roles": [400">"user", 400">"admin"],
7 400">"address": {
8 400">"city": 400">"San Francisco",
9 400">"country": 400">"USA"
10 }
11}