I'm not looking for a comparison of the relative merits of YAML or JSON over each other, I'm purely looking for something that is supported by many languages and has stable implementations.
Also another plus would be to know which has the libraries that do not have huge dependency trees requiring other libraries.
Both YAML and JSON have stable libraries for many different languages and all of the most popular languages have good support for both. JSON is the simplest of the two to implement so it has slightly more support.
If you want to get a very rough idea of stable language support you can compare the lists of the libraries linked from the official homepages:
YAML
JSON
YAML is a superset of JSON - therefore if a library supports YAML, it also supports JSON.
I'd have to be JSON... Because the situation in the world of YAML is a mess. There are border cases, where every library interprets something differently from the others. That's what you get with ad hoc "specifications"...
See, for example, this rant. And there are plenty more of those out there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With