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.68 by root, Tue Oct 23 03:30:02 2007 UTC vs.
Revision 1.69 by root, Tue Oct 23 03:31:14 2007 UTC

780 780
781Undocumented/buggy Unicode handling (how JSON handles Unicode values is 781Undocumented/buggy Unicode handling (how JSON handles Unicode values is
782undocumented. One can get far by feeding it Unicode strings and doing 782undocumented. One can get far by feeding it Unicode strings and doing
783en-/decoding oneself, but Unicode escapes are not working properly). 783en-/decoding oneself, but Unicode escapes are not working properly).
784 784
785No roundtripping (strings get clobbered if they look like numbers, e.g. 785No round-tripping (strings get clobbered if they look like numbers, e.g.
786the string C<2.0> will encode to C<2.0> instead of C<"2.0">, and that will 786the string C<2.0> will encode to C<2.0> instead of C<"2.0">, and that will
787decode into the number 2. 787decode into the number 2.
788 788
789=item JSON::PC 0.01 789=item JSON::PC 0.01
790 790
791Very fast. 791Very fast.
792 792
793Undocumented/buggy Unicode handling. 793Undocumented/buggy Unicode handling.
794 794
795No roundtripping. 795No round-tripping.
796 796
797Has problems handling many Perl values (e.g. regex results and other magic 797Has problems handling many Perl values (e.g. regex results and other magic
798values will make it croak). 798values will make it croak).
799 799
800Does not even generate valid JSON (C<{1,2}> gets converted to C<{1:2}> 800Does not even generate valid JSON (C<{1,2}> gets converted to C<{1:2}>
814 814
815Completely broken (and confusingly documented) Unicode handling (Unicode 815Completely broken (and confusingly documented) Unicode handling (Unicode
816escapes are not working properly, you need to set ImplicitUnicode to 816escapes are not working properly, you need to set ImplicitUnicode to
817I<different> values on en- and decoding to get symmetric behaviour). 817I<different> values on en- and decoding to get symmetric behaviour).
818 818
819No roundtripping (simple cases work, but this depends on whether the scalar 819No round-tripping (simple cases work, but this depends on whether the scalar
820value was used in a numeric context or not). 820value was used in a numeric context or not).
821 821
822Dumping hashes may skip hash values depending on iterator state. 822Dumping hashes may skip hash values depending on iterator state.
823 823
824Unmaintained (maintainer unresponsive for many months, bugs are not 824Unmaintained (maintainer unresponsive for many months, bugs are not
839Undocumented Unicode handling (but the best of the pack. Unicode escapes 839Undocumented Unicode handling (but the best of the pack. Unicode escapes
840still don't get parsed properly). 840still don't get parsed properly).
841 841
842Very inflexible. 842Very inflexible.
843 843
844No roundtripping. 844No round-tripping.
845 845
846Does not generate valid JSON texts (key strings are often unquoted, empty keys 846Does not generate valid JSON texts (key strings are often unquoted, empty keys
847result in nothing being output) 847result in nothing being output)
848 848
849Does not check input for validity. 849Does not check input for validity.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines