4 ms·
Not only can you omit the commas, you can even omit the braces. JSON: { 'one': 1, 'two': 2 } YAML: one: 1 two: 2
by pdw 12y ago
Not only can you omit the commas, you can even omit the braces.
JSON:
{ 'one': 1, 'two': 2 }
YAML:
one: 1
two: 2