Great news for Web developers, With ASP.NET and Web Tools 2012.2 RC installed, you now have a great and easy tool for converting your JSON objects into C# or VB.NET classes.
This feature uses Newtonsoft JSON parser to parse JSON text from clipboard. Once Newtonsoft JSON parser validates the clipboard data as valid JSON, then it will be converted into C# or VB.NET class depending on the selected file type.
Here’s a simple example:
A) Copy to clipboard your JSON object.
B) In VS2012, open edit menu, choose ‘Past Special’ and click on ‘Past JSON As Classes’.
Of course it also supports more complex objects like Multi-Dimensional Arrays etc..
Hope you find this article handy.