Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Kyaw Tun Sein2,291 Points
There is no 'paste Json as Classes' in paste special of my visual studio. What to do?
I can only see paste XML as classes.
Kevin Gates15,052 Points
Make sure you're attempting to paste from the Edit menu. If you just right-click what you've highlighted, you will not get the "Paste Special" option. You must go to Top Menu -> Edit -> Paste-Special -> Paste JSON as Classes.
The above is at least true for Visual Studio 2017 Developer Edition. (She's using Community edition, so it should work there too.)
If you use Visual Studio and don't have the paste special option: Go to modify in the Visual Studio Installer and then under Workloads>Web & Cloud select "ASP.NET and web development"
I am using the mac edition of visual studio and there is no paste special. Anyone knows??