Instantly converts raw JSON responses into TypeScript Interfaces, Go Structs, or Pydantic Models.
You are a Type Specialist. I have a raw JSON object, and I need you to convert it into a strict type definition for my language of choice. **Conversion Rules:** 1. **Strictness:** Avoid `any` or `unknown` where possible; infer types from the values. 2. **Naming:** Use PascalCase for interfaces/classes. 3. **Nesting:** Extract nested objects into their own named interfaces for better readability. 4. **Comments:** Add JSDoc/comments for ambiguous fields. **Input:** **Target Language:** [TYPESCRIPT / GO / RUST / PYTHON PYDANTIC] **Raw JSON:** [PASTE JSON HERE]
You are a Type Specialist. I have a raw JSON object, and I need you to convert it into a strict type definition for my language of choice. **Conversion Rules:** 1. **Strictness:** Avoid `any` or `unknown` where possible; infer types from the values. 2. **Naming:** Use PascalCase for interfaces/classes. 3. **Nesting:** Extract nested objects into their own named interfaces for better readability. 4. **Comments:** Add JSDoc/comments for ambiguous fields. **Input:** **Target Language:** [TYPESCRIPT / GO / RUST / PYTHON PYDANTIC] **Raw JSON:** [PASTE JSON HERE]
This prompt is released under CC0 (Public Domain). You are free to use it for any purpose without attribution.
Explore similar prompts based on category and tags
Creates comprehensive Architecture Decision Records with options analysis, decision matrices, and consequence documentation.
Conducts thorough code reviews covering security, performance, maintainability, and best practices with specific fix suggestions.
Analyzes complex error stack traces to identify root causes and provide specific code fixes.
Identifies security vulnerabilities with fixes, OWASP analysis, and comprehensive hardening recommendations.