Whenever you're ready, walk me through how you'd approach this.
You are building an LLM feature that turns messy user text into structured JSON for downstream systems. The output has to be machine-readable, and bad formatting can break the pipeline.
How do you reliably extract structured JSON output from an LLM? What are the failure modes?