In Visual Studio 2015, under the "Edit" menu lies the "Paste Special" option which you may use in a .cs file to paste what is in the clipboard into C#. If what is in the clipboard is JSON then use the "Paste JSON As Classes" option to craft some new C# classes exactly in the shape of the JSON in the clipboard (in terms of getsetters and estimated types). There is also a "Paste XML As Classes" option too. Beware! We are in for some nested classes in a hierarchal breakdown.
No comments:
Post a Comment