Visual Studio Tip #1 - Create a class for XML or JSON
Did you know that you can create object classes from an xml or json file?
Steps:
Copy the xml or json file to the clipboard.
Select “Edit” menu and then select “Paste Special”.
Select “Paste XML As Classes” or “Paste JSON As Classes”.
So you have it, an auto-generated class by Visual Studio. It’s simple!!!
This post is licensed under CC BY 4.0 by the author.