πŸ“– Step 6: Development#441 / 498

JSON

JavaScript Object Notation (JSON)

πŸ“–One-line summary

A text data format of key-value pairs, the most common format for APIs and config files.

✨Example

// JSON (JavaScript Object Notation (JSON))

킀와 κ°’ 쌍으둜 데이터λ₯Ό ν‘œν˜„ν•˜λŠ”, API와 μ„€μ • νŒŒμΌμ—μ„œ κ°€μž₯ 많이 μ“°λŠ” ν…μŠ€νŠΈ 데이터 ν˜•μ‹

> ready_

⚑Vibe coding prompt examples

>_

Create TypeScript types and a zod schema from this API response JSON.

>_

JSON.parse throws 'Unexpected token'. Explain common causes (single quotes, trailing commas, HTML responses) and fixes.

>_

Write code that makes an AI reply in JSON only, validates the result with zod, and retries on failure.

Try these prompts in your AI coding assistant!