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
- [BUG]: Ruby output fails to load with NameError when a class refers to a union class declared later
- [BUG]: Java with `--datetime-provider legacy` reads an unparseable date as null instead of rejecting it
- [BUG]: Python `from_dict` breaks when a property is named like a converter it calls (`from_date`, `from_str`), `obj`, `isinstance`, `len`, `re` or `cast`
- [BUG]: "Internal error: Cannot combine type attribute accessorNames" for a TypeScript string enum in a union (`E | null`), and for `qt-accessors` / `qt-enum-values` on the same enum
- [BUG]: C (cJSON) output crashes or does not compile for top-level maps and lists, non-string enum values and some patterns
- fix(ruby): forward-declare union classes
- fix(java): reject unparseable dates with the legacy date-time provider
- fix(python): reserve names that from_dict uses
- fix: combine accessor names and identical enum values
- fix(cjson): fix crashes and undefined behavior in generated code
- Docs
- TypeScript not yet supported