π 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!