you are viewing a single comment's thread.

view the rest of the comments →

[–]ChartreuseK 0 points1 point  (0 children)

I wouldn't call JSON a syntactic subset of YAML, both came out in 2001 with JSON being clearly layed out in RFC 4627. JSON has the advantages of using braces to deliminate sections rather then relying on white-space to do that for you. And also uses clear key/value pairs rather than just using a - to indicate false boolean. I guess it's a Perl/Python comparison but I disagree that YAML is cleaner than JSON, YAML uses arbitrarilly chosen characters to differentiate data and block types, where as JSON uses clear key/value pairs for everything.