I'm trying to follow a tutorial on JSONs and I follow the instruction: File > New > File...
and I search for the file type "JSON" which is not there.
Could someone tell me what I need to install please :
You don't need to install any VS extension.
You can add the file like above or simply right click on the folder you want the file in. Add -> New Item
. The file type doesn't really matter.
From there, type your file name and add the .json
file extension. Visual Studio will recognize the extension and know that it is of type JSON.
This is probably very late to give in an answer, but I too faced an issue with creating and opening JSON files in Visual Studio 2019. So I found out this workaround after some tinkering.
So first, open up Visual Studio Installer, Tools > Get Tools and Features
Then in the window that has just opened, select Desktop Development with C++
Then, from the right panel uncheck all the Optional downloads, especially the "MSVC v142..."
After doing this you would get JSON editor under Individual components
Click Modify.
I hope this works out for you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With