quicktype-vs icon indicating copy to clipboard operation
quicktype-vs copied to clipboard

Visual Studio extension to paste JSON as C#, C++, TypeScript, and more

Install from VS Marketplace


Build status Join us in Slack

quicktype infers types from sample JSON data, then outputs strongly typed models and serializers for working with that data in Swift, Objective-C, C++, Java and more. This extension adds native quicktype support to Xcode 9.

Visual Studio extension

This extension provides the "Paste JSON as Code" command in the Tools window. Simply copy some JSON into your clipboard, add a new source file (C#, C++, TypeScript) and invoke the command.

Building

Clone quicktype and do

npm run pkg

Then copy bin/windows/quicktype.exe into the Resources directory in this repository and build with Visual Studio.