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 that I blogged about late last year 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! I should mention here that all of this is FREE. Watch Now, Questions Later Want to see it in action? Checkout my short video overview: Doesn't VS Do This? It is true that Visual Studio has a Paste JSON as Classes feature, but it b…

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

I crush code and share it, publish NuGet packages, speak at conferences, upload videos, pretend I am good at playing video games, tweet up a storm, drink gallons of coffee, and ride my bike. Checkout my monthly newsletter that you should subscribe to!