QuickType.io - Quickly auto-generate models/class/type/interface and serializers from JSON, schema, and GraphQL for working with data quickly & safely in any programming language. Convert JSON into gorgeous, typesafe code in any language. - Source: dev.to / 3 months ago
Quicktype automates the generation of code from JSON data. It's a real timesaver when dealing with complex JSON structures in your applications. - Source: dev.to / 7 months ago
Nice! JSON schemas are really useful, we use them a lot for code generation. Another library that does this for multiple languages is https://quicktype.io/ . It's great, but not so actively developed. - Source: Hacker News / 7 months ago
Quicktype is a speedy way to transform JSON data into well-structured, type-safe code in any programming language. Can help simplify the process of generating models and serializers from JSON, schema, or GraphQL—for secure, efficient data handling. 6-20PM finds it a "Godsend to convert JSON into data structures in any language.". Source: 8 months ago
Good candidate modules for these initial conversions are utility functions and code related to external APIs or specifications. It is possible to automatically generate TypeScript type definitions from Swagger contracts, GraphQL or JSON schemas to be included in your project. As well as you can use website called https://quicktype.io/ to generate types and interfaces in order to user them in your tsx or ts file. - Source: dev.to / 10 months ago
Using Codable structs is better than dictionaries. Paste the JSON into https://quicktype.io/ and it will create the structs for you. Source: 11 months ago
Check out quicktype.io. You can paste in your JSON and it will build your model for you. There's even an option for creating constructors. And you can choose your programming language. I usually spend some time cleaning it up a bit. It's not the perfect solution and I don't use it all the time, but it sure saves time for complicated models. Source: about 1 year ago
Hello. I used quicktype.io to try and implement an api in my code. Source: about 1 year ago
I would to build models in a dynamic way - for now, I'm using https://quicktype.io/ to convert json to model in a semi-manual way. It would be great, to have the possibility to generate models in a fully automated style - json is coming, and model files are generated. Source: about 1 year ago
You already have the answer, but in the future https://quicktype.io/ is a great reference for JSON/Swift decoding. Source: about 1 year ago
Seems like date handling or decimal point differences are the most likely causes. I would paste your JSON into https://quicktype.io and see if the Swift code they spit out works under other languages. Source: about 1 year ago
I actually worked in a company that used this, my work involved doing the frontend with nextjs, so basically I’d use https://quicktype.io to create the types for the api written in Django, not the best process considering that there’s this amazing library called tRPC that merges front and back altogether end to end type safe. Source: over 1 year ago
The first step is to take the raw json result and paste it into https://quicktype.io/ to generate structs. Source: over 1 year ago
I always use https://quicktype.io/. Source: over 1 year ago
QuickType.io - Quickly auto generate models/class/type/interface and serializers from JSON, schema, and GraphQL for working with data quickly & safely in any programming language. Convert JSON into gorgeous, typesafe code in any language. - Source: dev.to / over 1 year ago
Take the JSON, paste it into https://quicktype.io, and it will generate Swift structs for you. Source: over 1 year ago
If it was bigger I probably would have used one of the many tools to generate a schema and then generate a Rust struct. Offhand, quicktype is one I've used before. Source: over 1 year ago
For those unfamiliar with what it is – quicktype.io is a website that offers a way to convert your JSON structure into swift structs. Source: over 1 year ago
This looks really nice as an alternative to JSON schema, which is horribly verbose. Like using RELAX NG compact syntax for XML schemas back in the day, versus horrible verbose DTDs or XSDs. But I think the most natural way to express JSON schemas would be TypeScript type declarations. Is there a project that can take a TS type and generate a runtime parser/validator for it? I thought maybe Quicktype... - Source: Hacker News / over 1 year ago
FYI https://quicktype.io/ works really well here. Many different configuration options, can use standard JSON or a JSON schema, and not limited to C# but has a ton of other language options as well. Source: almost 2 years ago
I like to use quicktype.io for making codables out of JSON. For nested JSON, like that location object you have in there, quicktype typically creates a nested codable and just sets the "location" inside of the parent codable to that location codable type. If you want to access it, you would decode the entire thing and pull the location out. That pattern works for my uses, but for your use, like if the JSON is... Source: almost 2 years ago
Do you know an article comparing quicktype to other products?
Suggest a link to a post with product alternatives.
This is an informative page about quicktype. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.