'Paste special (json to a class) missing VS2019 - with all web dev tools installed

A very valuable tool is the ability to quickly grab json and create a class. Paste Special in previous versions of VS was a great feature, but I can't locate it in Visual Studio 2019.

According to this forum thread, you just need to add the ASP web development tools. I've installed everything, paste special nowhere to be found.

How/where do I go to enable this or what is the new alternative provided in Visual Studio 2019?

I've combed through all the options & individual components in Visual Studio Installer, and I've enabled just about everything where this might live. But it's still not showing up in menu.



Solution 1:[1]

I met the same problems in here too with 2019 visual studio and found out how to fix it.

Go to Visual Studio Installer > Modify > Individual Components > Web development Tools

installer screenshot

Solution 2:[2]

It should be under the Edit menu:

Edit -> Paste Special -> Paste JSON As Classes

If you've installed the ASP.NET tools and still don't see this, send feedback so the product team can investigate why.

Solution 3:[3]

If you don't do it often, just use an online JSON to class converter

Solution 4:[4]

Try restarting your computer. My Paste special disappeared after altering some extensions. I updated Web Essentials 2019 and then uninstalled CodeMaid. When the option disappeared, I tried restarting Visual Studio and it didnt work, but after I restarted my machine, the option came back

Solution 5:[5]

The "Paste JSON as Classes" option doesn't display when in debug. Just in case you had the option, but it seemed to disappear.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 KyleMit
Solution 2 Jimmy
Solution 3 tolsen64
Solution 4 kudzanayi
Solution 5 RSA