--- JSON-XS/XS.pm 2007/03/23 15:10:55 1.7 +++ JSON-XS/XS.pm 2007/03/23 16:00:19 1.9 @@ -61,7 +61,7 @@ package JSON::XS; BEGIN { - $VERSION = '0.2'; + $VERSION = '0.3'; @ISA = qw(Exporter); @EXPORT = qw(to_json from_json); @@ -226,7 +226,10 @@ strings. This flag optionally resizes strings generated by either C or C to their minimum size possible. This can save memory when your JSON strings are either very very long or you have many -short strings. +short strings. It will also try to downgrade any strings to octet-form +if possible: perl stores strings internally either in an encoding called +UTF-X or in octet-form. The latter cannot store everything but uses less +space in general. If C<$enable> is true (or missing), the string returned by C will be shrunk-to-fit, while all strings generated by C will also be shrunk-to-fit.