you are viewing a single comment's thread
view the rest of the comments
[–] [S] 17 points 2 years ago

Please don't. If you need something like json but with comments, then use YAML or TOML. Those formats are designed to be human-readable by default, json is better suited for interchanging information between different pieces of software. And if you really need comments inside JSON, then find a parser that supports // or /* */ syntax.

  • source
  • parent