Hacker News new | ask | show | jobs
by ccouzens 1678 days ago
Interesting. Thanks for bringing that to my attention.

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.