Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Json2CSharpExtension

Json2CSharpExtension

Greg V

|
603 installs
| (0) | Free
Copy a JSON object and paste it into Visual Studio as a C# class.

Copy a JSON object to your clipboard, then right click in the editor and select "Paste JSON as Class"

You have to install the NuGet package Newtonsoft.Json to utilize the JsonProperty

Copy entire object from anywhere including brackets { } image__1.png

Right click where you want to paste the C# class

image.png

Result

Change the name "Root" to your class name image__2.png

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft