Claude · JSON

Claude structured IO

Return JSON per schema with validation.

All topics / Claude prompts

Replace highlighted brackets, then copy.

Extract data into JSON with schema: [schema]. Return only JSON. If missing fields, use null. Validate types.
  • schema - replace the bracketed field with your info
  • Schema
  • Text to parse
  • Language
  • Constraints
  • JSON
  • Missing fields
  • Validation notes
  • Keep keys exact.
  • Avoid trailing commas.
  • State assumptions if inferred.