James Montemagno
James Montemagno

Live, Love, Bike, and Code.

Tags


James Montemagno

Developer Tools

Paste JSON as Code with quicktype.io in Visual Studio

quicktype! Yes that quicktype [http://quicktype.io] that I blogged about late last year [https://montemagno.com/convert-json-to-any-language-with-quicktype/] on how to convert JSON to C# classes in the browser. I am back talking about it again because they have made tons of great enhancements and just today released a new extension for Visual Studio 2017 [https://marketplace.visualstudio.com/items?itemName=typeguard.quicktype-vs]! I should mention here that all of this is FREE. Watch Now, Qu…

James Montemagno James Montemagno

Convert Json to C# (and More) with quicktype

How often do you run into the situation where you are reading data from a json file or hitting a RESTful endpoint and pulling down a huge json file that you then need to deserialize? I bet pretty often as I know I do all the time. The next issue of course is that you have this bug json file, but you need to generate the actual data types, POCOs, inside of your C# code. This can be extremely tedious if you try to do it by hand and other websites give you lack luster C# files where you have to add…

James Montemagno James Montemagno