Learn how constrained decoding ensures LLMs generate valid JSON, regex, and schema-compliant outputs-without manual fixes. See when it helps, when it hurts, and how to use it right.