{
  "id": 14658586,
  "title": "Structured Output That Doesn't Break: JSON Schemas, Validation, and Smart Retries",
  "url": "https://urgent.news/2026/10/15/structured-output-that-doesnt-break-json-schemas-validation-and-smart",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-10-15T09:18:21.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/kuldeep_paul/structured-output-that-doesnt-break-json-schemas-validation-and-smart-retries-2b3k"
  },
  "original_language": "en",
  "account": null,
  "summary": "TL;DR Unconstrained LLM responses frequently break downstream software through schema drift, malformed JSON syntax, and invalid property types. Constrained decoding enforces strict JSON schemas at the token level by masking invalid tokens during inference, preventing syntactic corruption. Constrained decoding alone cannot prevent semantic or business-rule violations, requiring a layered…",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}