I don’t think there is anything special against YAML. Just so JSON is good enough. Its simple, deployed everywhere, it has many tools, wraps it in a callback, and you get cross-domain requests. And it’s not very difficult to write by hand. Any format that wants to compete with JSON must overcome its network effects, which is not a trivial task.
XML is basically just out of date, again prone to network effects.
source share