how-to Transformed String Types: How quicktype Converts JSON String Values to Stronger Types 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 add two new transformed string types: UUIDs and booleans.
news quicktype news vol. 5 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
Happy Birthday, quicktype! 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
how-to Customizing quicktype 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
news quicktype news vol. 4 Our biggest set of updates ever. Let's get right to it! New Languages Objective-C with no dependencies Kotlin via Klaxon Rust Ruby with runtime typechecking Flow Vanilla JavaScript with runtime typechecking New C#
Instantly generate Kotlin types and serializers from JSON 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
Convert JSON to code on any webpage with quicktype playgrounds Based on Kotlin playgrounds[1], 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
how-to Swift Types from C# 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 Json.NET, there is!
little-big-details Little Big Detail #3: Detecting Maps 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.
how-to Typesafe API calls in Swift: Generating Alamofire Handlers with quicktype 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
Paste JSON as code in Xcode and Visual Studio 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
little-big-details Little Big Detail #2: Contextual Class Names 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
little-big-details Little Big Detail #1: Perfect Property Names This first Little Big Detail is part of how quicktype turns JSON property names into nice property names in your preferred target language.
graphql Typesafe GraphQL queries with quicktype quicktype supports GraphQL now. Here we'll go over an example showing how to make type-safe GraphQL queries with quicktype.
news quicktype news vol. 3 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 Our new homepage gives
news quicktype news vol. 2 quicktype has made awesome progress in the last couple of months. Here's a recap of everything new, including some video demos and tutorials. We’re also launching a quicktype contest with up to
news quicktype news vol. 1 New in quicktype: ⚙️ Options for Swift, TypeScript, Java, etc. Based on your feedback, we've added options for more languages. Output plain types only, without conversion code. Choose struct vs class for Swift. Choose
quicktype's big debut We’ve worked on quicktype for a few months and we think it’s ready for developers to kick the tires. Let us explain why quicktype is useful, what makes it special, and how you can get involved!
internals quicktype under the hood Learn about the three stages quicktype uses to turn sample JSON data into source code: Read, Simplify, and Render. Also learn about quicktype's core data structures.
A first look at quicktype quicktype infers types from sample data (e.g. JSON), then outputs typed code in your desired programming language (C# and Go are available to start but more are planned).