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.

1

5 Answers

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

4

It should be under the Edit menu:

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.

1

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

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

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

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Chloe Bennett

Chloe Bennett

Culture, Media & Entertainment Columnist

Chloe Bennett explores the intersection of pop culture, streaming entertainment, digital trends, and contemporary lifestyle. Her weekly commentary reaches thousands of culture enthusiasts.

Share this article
Twitter Facebook Pinterest