Re:Comments in JSON
by roryokane on Friday August 02, 2013 @10:47AM
(#6147191)
Sublime Text actually already supports '//' comments in its "JSON" configuration files, though it's non-standard. The comments are properly ignored, and syntax-highlighted. However, the comments (along with all other manual formatting) are lost if the file is programmatically edited, for example by changing the font size using the keyboard shortcuts.
[ Parent
| on HN ]