I found that it’s much easier to get JSON responses with Claude.AI compared to OpenAI and Gemini. While OpenAI and Gemini provide JSON as a string in their responses, which is in JSON-SAFE mode, Claude.AI allows you to request JSON directly, and you receive it as an object within the response body, not as a string. This makes it easy to navigate the JSON.
This is extremely helpful because when I was using OpenAI and Gemini, it was a headache to work with their JSON responses. The API connector detects them as strings, and converting them to JSON is a lengthy process that requires extra effort.