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.
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", *@