ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/JSON-XS/XS.pm
(Generate patch)

Comparing JSON-XS/XS.pm (file contents):
Revision 1.80 by root, Sat Dec 29 17:22:39 2007 UTC vs.
Revision 1.81 by root, Sat Dec 29 17:33:38 2007 UTC

922YAML. Please note that YAML has hardcoded limits on (simple) object key 922YAML. Please note that YAML has hardcoded limits on (simple) object key
923lengths that JSON doesn't have and also has different and incompatible 923lengths that JSON doesn't have and also has different and incompatible
924unicode handling, so you should make sure that your hash keys are 924unicode handling, so you should make sure that your hash keys are
925noticeably shorter than the 1024 "stream characters" YAML allows and that 925noticeably shorter than the 1024 "stream characters" YAML allows and that
926you do not have codepoints with values outside the Unicode BMP (basic 926you do not have codepoints with values outside the Unicode BMP (basic
927multilingual page). 927multilingual page). YAML also does not allow C<\/> sequences in strings
928(which JSON::XS does not I<currently> generate).
928 929
929There might be other incompatibilities that I am not aware of. In general 930There might be other incompatibilities that I am not aware of. In general
930you should not try to generate YAML with a JSON generator or vice versa, 931you should not try to generate YAML with a JSON generator or vice versa,
931or try to parse JSON with a YAML parser or vice versa: chances are high 932or try to parse JSON with a YAML parser or vice versa: chances are high
932that you will run into severe interoperability problems when you least 933that you will run into severe interoperability problems when you least

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines