That's false. http://p3rl.org/JSON::XS#JSON-and-YAML
It sounds like the differences are unlikely to be encountered in conventional config files, especially those written by hand.
From that link I understand the source of problems to be:
Object keys longer than 1024 "stream characters". But these wouldn't be valid in any other yaml syntax either.
Some Unicode characters in strings (characters outside of BMP).
An escape sequence that is technically valid in JSON but never required.
It sounds like the differences are unlikely to be encountered in conventional config files, especially those written by hand.
From that link I understand the source of problems to be:
Object keys longer than 1024 "stream characters". But these wouldn't be valid in any other yaml syntax either.
Some Unicode characters in strings (characters outside of BMP).
An escape sequence that is technically valid in JSON but never required.