Plugin Request: Convert selected JSON to TypeScript Interfaces or Go Structs via context menu
Integrating APIs often involves converting sample JSON responses into TypeScript interfaces or Go structs using external web tools.
Ideal workflow:
- Select JSON string anywhere (VS Code, Postman, browser).
- Right click -> "Convert to TypeScript / Go Type".
- Auto-infer nested objects, optional fields, and format into clipboard directly.
3 days ago
1.4k
3 Replies
SA
Strongly agree! Please include an option to strip or retain comments from Swagger schema outputs.
3 days agoReplied by:
DA
Noted! Planning to extract nested objects into named sibling types to avoid unreadable inline nesting.
3 days agoReplied by:
MA
Looking forward to Go struct generation with automatic json:'fieldName' tags!
3 days ago