HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by ngcazz | Hacker News Reader
Parent
Full thread
ngcazz
·
But YAML is a superset of JSON.
View on HN
dazmax
·
But if you start leaving commas out of your JSON, it's no longer valid YAML.
pdw
·
Not only can you omit the commas, you can even omit the braces.
JSON:
{ 'one': 1, 'two': 2 }
YAML:
one: 1 two: 2
Reply on news.ycombinator.com