How to comment a line in a config,json file

1278
2
01-11-2021 08:48 AM
JoseSanchez
Occasional Contributor III

hello everyone,

 

How do you comment a line in a config,json file

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

You don't. There is NO acceptable way to quote out a line in a json file. What you have to do is create a new json file with what you want commented out Removed.

RobertMeyering
Esri Contributor

I do it like this...

  ...

"COMMENTED_OUT_title": "TBDAPP (vLast)", "title": "TBDAPP (vNext)", "subtitle": "with ArcGIS Web AppBuilder",

...

or sometimes I use ORIG_ as the prefix 

0 Kudos