Paste JSON as Class
Here is a quick shortcut for creating a .NET class for deserializing JSON.
First create a new class file. You can do this in Visual Studio 2019 by using a built in template.
Right click on the project or a project folder in the Solution Explorer. This will bring up a context menu. Click "Add" on the context menu and this will bring up a submenu. From the submenu, click on "Class...". The specific items on your menus may be slightly different. This will bring up a dialog window with a "Class" selected by Default. It will also ask you for a filename. The default filename will be Class1.cs. Go ahead and just click the "Add" button at the bottom and accept the default class name.

The new file will open in the editor. Select all of the default text in the file and remove it.
Now copy the JSON you want to create a .NET class for into your clipboard.
With the JSON text in the clipboard, select "Edit" > "Paste Special" > "Paste JSON as Class" from the top menu.
The necessary class(es) needed to deserialize the JSON will be created and pasted into the file. You can use the classes created as is or modify as necessary to meet your needs.
You must be logged in to see the comments. Log in now!