3 ms·
CPAN link provided by the parent says 1.2 still isn't a superset: > Addendum/2009: the YAML 1.2 spec is still incompatible with JSON, even though the incompati
by kelnos 5y ago
CPAN link provided by the parent says 1.2 still isn't a superset:
> Addendum/2009: the YAML 1.2 spec is still incompatible with JSON, even though the incompatibilities have been documented (and are known to Brian) for many years and the spec makes explicit claims that YAML is a superset of JSON. It would be so easy to fix, but apparently, bullying people and corrupting userdata is so much easier.
- terom 5y agoAre these documented YAML 1.2 JSON incompatibilities listed / linked to somewhere? I assume these are something related to non-ascii string encoding / escapes?
- guelo 5y agoThey are listed in that same CPAN link "Please note that YAML has hardcoded limits on (simple) object key lengths that JSON doesn't have and also has different and incompatible unicode character escape syntax... YAML also does not allow \/ sequences in strings"