Last active
August 29, 2015 13:56
-
-
Save cowboy/8829466 to your computer and use it in GitHub Desktop.
Why do we keep having the "comments in JSON" discussion? Just use YAML.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
# this is a comment | |
"a": "hello", | |
# this is another comment | |
"b": -1, | |
"c": [ | |
true, | |
"test", | |
null | |
], | |
# yet another comment | |
"d": { | |
"x": 1, | |
"y": 2 | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this is a comment | |
a: hello | |
# this is another comment | |
b: -1 | |
c: | |
- true | |
- "test" | |
- null | |
# yet another comment | |
d: | |
x: 1 | |
y: 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
:)