CARD NEWS · Prompts & AI use

JSON Mode · 4 cards

Four cards for social posts, teaching materials and presentations. Capture the screen or print to a PDF.

1/4
Prompts & AI use

JSON Mode

JSON mode is an API option, introduced by OpenAI at its DevDay in November 2023, that makes a large language model reply with valid JSON (JavaScript Object Notation) instead of free text, so that downstream code can parse the answer reliably.[1] It guarantees valid JSON syntax but not that the output follows a particular schema; schema adherence is the job of the later Structured Outputs feature.[2][3]

2/4
In simple terms

An easy way to understand

Normally an LLM (large language model) answers in free-form sentences. JSON mode is a switch in the API request that makes it answer with a tidy JSON object made of keys and values instead.

3/4
Where it is used

Who uses it, and when?

5 Turbo. [1] Case 2: Quote extraction — A two-step rollout (hypothetical example) Imagine a team that pulls line items, unit prices and tax from supplier quotes into its ERP system.

4/4
Learn more

ai.rookienote.com
/en/term/json-mode

RookieNote
← Read the full entry

Capture these cards or print them to a PDF.