--- JSON-XS/XS.pm 2007/11/25 19:36:54 1.73 +++ JSON-XS/XS.pm 2007/12/02 15:34:13 1.76 @@ -86,7 +86,7 @@ use strict; -our $VERSION = '1.6'; +our $VERSION = '2.0'; our @ISA = qw(Exporter); our @EXPORT = qw(to_json from_json); @@ -279,8 +279,6 @@ =item $json = $json->pretty ([$enable]) -=item $enabled = $json->get_pretty - This enables (or disables) all of the C, C and C (and in the future possibly more) flags in one call to generate the most readable (or most compact) form possible. @@ -431,13 +429,13 @@ =item $json = $json->allow_blessed ([$enable]) -=item $enabled = $json->get_allow_bless +=item $enabled = $json->get_allow_blessed If C<$enable> is true (or missing), then the C method will not barf when it encounters a blessed reference. Instead, the value of the B option will decide whether C (C -disabled or no C method found) or a representation of the -object (C enabled and C method found) is being +disabled or no C method found) or a representation of the +object (C enabled and C method found) is being encoded. Has no effect on C. If C<$enable> is false (the default), then C will throw an