Which has the most mature stable libraries for multiple languages available for it, YAML or JSON?
json, yaml
Solution
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
- C/C++
- Java
- Python
- Ruby
- Perl Modules
- C#/.NET
- PHP
- OCaml
- Javascript
- Actionscript
- Haskell
JSON
- ASP
- ActionScript
- C
- C++
- C#
- ColdFusion
- D
- Delphi
- E
- Eiffel
- Erlang
- Fantom
- Flex
- Go
- Haskell
- Haxe
- Java
- JavaScript
- Lasso
- Lisp
- LotusScript
- Lua
- Objective C
- Objective CAML
- OpenLaszlo
- Perl
- PHP
- Pike
- PL/SQL
- PowerShell
- Prolog
- Python
- R
- REALbasic
- Rebol
- RPG
- Ruby
- Squeak
- Tcl
- Visual Basic
- Visual FoxPro
Problem
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.