Aside from the other answers... one neat thing about YAML is that it supports references to other values. http://sangsoonam.github.io/2017/03/13/yaml-vs-json.html check out the "aliasing" and "merging". That's the main big difference. Otherwise, they serve basically the same cases.
I like YAML, but the referencing feature is more anti-feature than feature. It's not really useful outside of a few niche cases, and adds a lot of parser complexity and edge cases.
View all comments
Show parent comment
2
u/aboardthegravyboat Sep 13 '18
Aside from the other answers... one neat thing about YAML is that it supports references to other values. http://sangsoonam.github.io/2017/03/13/yaml-vs-json.html check out the "aliasing" and "merging". That's the main big difference. Otherwise, they serve basically the same cases.