Tagged: Json

1 post

Claude API Structured Output: 3 Patterns for Guaranteed JSON

Claude API Structured Output: 3 Patterns for Guaranteed JSON

March 25, 2026 · 9 min read · blog
Clean JSON from Claude every time: tool use as schema contract, assistant prefill, stop sequences. When each pattern wins and what breaks them.