Skip to content

Instantly share code, notes, and snippets.

@cig0
Forked from MoOx/comments-trick.json
Created August 12, 2021 13:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cig0/cc6a408e2bdf728e11ed6812a48349fa to your computer and use it in GitHub Desktop.
Save cig0/cc6a408e2bdf728e11ed6812a48349fa to your computer and use it in GitHub Desktop.
How to make comment in JSON file
{
"//field": "These 'double quote' 'double quote' are used as comments, because JSON doesnt' allow comment",
"field": {},
"#another-field": "Another comment",
"another-field": {},
"/*stuff": "Be careful to use them when you have full control of the content :)",
"stuff": [],
"bla": "bla"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment