JSON Input
TypeScript Output
About JSON to TypeScript Conversion
- Auto Type Detection: Detects string, number, boolean, null, and nested object types
- Nested Objects: Creates separate TypeScript interfaces/types for nested objects
- Array Support: Handles arrays with proper type notation including mixed types
- Interface vs Type: Choose between interface or type alias syntax
- Optional Properties: Make all properties optional with ? modifier
- Export Support: Add export keyword to generated types