Skip to content

Instantly share code, notes, and snippets.

@hitrust
Forked from MoOx/comments-trick.json
Created June 5, 2020 03:12
Show Gist options
  • Save hitrust/d7e25ff3e8d8bd5475b2a43bbbb22fd7 to your computer and use it in GitHub Desktop.
Save hitrust/d7e25ff3e8d8bd5475b2a43bbbb22fd7 to your computer and use it in GitHub Desktop.

Revisions

  1. @MoOx MoOx revised this gist Apr 19, 2020. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions comments-trick.json
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,9 @@
    {
    "": "These 'double quote' 'double quote' are used as comments, because JSON doesnt' allow comment",
    "Your field": {},
    "": "Another comment",
    "another field": {},
    "": "Be careful to use them when you have full control of the content :)",
    "//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"
    }
  2. @MoOx MoOx revised this gist Mar 29, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion comments-trick.json
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,7 @@
    "Your field": {},
    "": "Another comment",
    "another field": {},
    "": "Be careful to use them when you have full control of the content :)"
    "": "Be careful to use them when you have full control of the content :)",
    "stuff": [],
    "bla": "bla"
    }
  3. @MoOx MoOx created this gist Mar 29, 2013.
    9 changes: 9 additions & 0 deletions comments-trick.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    {
    "": "These 'double quote' 'double quote' are used as comments, because JSON doesnt' allow comment",
    "Your field": {},
    "": "Another comment",
    "another field": {},
    "": "Be careful to use them when you have full control of the content :)"
    "stuff": [],
    "bla": "bla"
    }