quicktype
https://github.com/glideapps/quicktype
TypeScript
Generate types and converters from JSON, Schema, and GraphQL
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
TypeScript not yet supported2 Subscribers
Add a CodeTriage badge to quicktype
Help out
- Issues
- Cannot reference other files when using typescript as source.
- JS/TS validation of common restrictions (minimum, minLength, pattern, etc.)
- Json Schema => TypeScript additionalProperties exist on the object
- Type names randomly generated for definitions used in 20+ places
- Generated kotlinX code fails to serialize enums properly
- Use `std::optional` for optional objects in C++17
- Keep separate GraphQL types as separate classes
- Union type not supported for objects
- [Typescript, JSON Schema] No union type with anyOf
- Maximum call stack size exceeded when generating Rust from large FHIR JSON Schema
- Docs
- TypeScript not yet supported