When I was seeding the database for fintechbenchmark.com with Claude-generated or Openai-generated content, I needed structured data that matched my database schema. My format of choice was JSON, and my approach was straightforward:
- Request JSON in the prompt
- Provide an example of the desired structure
- Parse Claude’s response—a text string containing JSON wrapped in markdown code blocks with triple backticks