One idea
When your app needs data, do not ask for “JSON please” and hope. Give the Responses API a strict JSON schema so the model must return keys your code can use.
JSON mode only guarantees valid JSON. Structured Outputs with json_schema and strict: true is the safer choice for product features.
Use this for
Structured JSON is useful when the AI result goes into UI cards, a database row, a search filter, or a workflow step.
Example: a campus events app can turn a messy event description into title, date_text, venue, fee_rupees, and tags. Your frontend should not scrape a paragraph to find these.