Transformed String Types: How quicktype Converts JSON String Values to Stronger Types
Aug 20, 2018, 10:18 AM
JSON often string-encodes complex data types, such as date-times. When coding, we would like to use our programming language’s native types, not strings. quicktype lets us do that. In this blog post, I'll show how straightforward it was to...
quicktype news vol. 5
Jul 16, 2018, 1:09 AM
quicktype's first birthday, Python support, 'continuous mode' for VS Code, and a brand new product: autotune
quicktype turns one
quicktype celebrated its first birthday on July 12th. In its first year, quicktype generated over 1.2 billion...
Happy Birthday, quicktype!
Jul 12, 2018, 1:34 PM
Today quicktype is one year old. After generating one billion lines of code, here's a look back on quicktype's first year.
How quicktype started
A year ago, I was writing some Swift to parse and represent JSON when I was struck by how...
Jul 5, 2018, 11:17 AM
In this post I’ll show you how to customize quicktype’s output. Suppose we’re building a mobile game in C# that the player can pick up on their Android phone in the morning, continue in their web browser in the afternoon and finish on...
quicktype news vol. 4
May 17, 2018, 3:56 PM
Our biggest set of updates ever. Let's get right to it!
Objective-C with no dependencies
Kotlin via Klaxon
Ruby with runtime typechecking
New C# Features
Instantly generate Kotlin types and serializers from JSON
May 9, 2018, 1:41 PM
quicktype can now generate Kotlin types and serializers from JSON sample data. Here's the Pokémon sample running in a quicktype playground, demonstrating Kotlin, Java, and Swift code generated from the same sample JSON data:
Convert JSON to code on any webpage with quicktype playgrounds
May 2, 2018, 5:39 PM
Based on Kotlin playgrounds, quicktype playgrounds allow you to embed quicktype in any webpage by including a single script and placing some sample JSON in a <div>. This is great for pages that display JSON because it allows...
Swift Types from C#
Apr 30, 2018, 11:55 AM
Do you have a C# codebase with model classes for a JSON API? Did you ever have to use that API with another programming language, wishing there was a way to automatically convert your C# model to that other language? With quicktype and...
Little Big Detail #3: Detecting Maps
Mar 5, 2018, 5:16 PM
In this post we show how quicktype uses Markov chains to do decide which JSON represents a class and which JSON represents a map, so it can generate the ideal code for any JSON.
Typesafe API calls in Swift: Generating Alamofire Handlers with quicktype
Mar 1, 2018, 3:56 PM
Alamofire is an elegant HTTP networking library that makes working with JSON APIs in Swift a breeze. quicktype makes Alamofire even more awesome by generating extensions and Codables for typesafe API calls.
Here's Alamofire's canonical...
Paste JSON as code in Xcode and Visual Studio
Feb 12, 2018, 11:57 PM
quicktype is now available for Xcode, Visual Studio, and Visual Studio Code.
There are many ways to use quicktype; the quicktype.io web app is the most powerful UI, works offline, and doesn't send your data over the Internet so you can use...
Little Big Detail #2: Contextual Class Names
Jan 23, 2018, 11:39 AM
Little Big Details are the subtle details that quicktype takes care of when turning your data into beautiful, readable code. This Little Big Detail is about how quicktype uses the names of outer types to generate nice alternate names when...
Little Big Detail #1: Perfect Property Names
Jan 10, 2018, 12:02 PM
This first Little Big Detail is part of how quicktype turns JSON property names into nice property names in your preferred target language.
Typesafe GraphQL queries with quicktype
Dec 22, 2017, 9:36 AM
quicktype supports GraphQL now. Here we'll go over an example showing how to make type-safe GraphQL queries with quicktype.
quicktype news vol. 3
Dec 20, 2017, 6:23 PM
quicktype made radical progress in the last month: a drool-inducing new homepage, an eye-popping new app, jaw-dropping performance improvements, brain-melting GraphQL support, pricing, and more.
A drool-inducing new homepage