Some date is stored in a json file, how can I comment out some lines like below?
[
{
"id":"aaaa",
// "path": "xxxx",
"path": "yyyy"
},
{
"id":"bbbb",
"path": "cccc"
}
]
My IDE is Visual Studio.
Is it an asp.net project (you mention you're using Visual Studio)? If so you could store the json data as a view and use server side commenting out, e.g. in razor:
@* "path": "yyyy", *@
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