1 result
Asking for JSON in your prompt isn't reliable. Structured outputs with schema enforcement is. Here's how JSON mode and structured outputs work across OpenAI, Anthropic, and Google's APIs.