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.121 by root, Mon Jul 13 22:13:17 2009 UTC vs.
Revision 1.123 by root, Sat Aug 8 10:06:02 2009 UTC

101 101
102package JSON::XS; 102package JSON::XS;
103 103
104use common::sense; 104use common::sense;
105 105
106our $VERSION = '2.24'; 106our $VERSION = '2.25';
107our @ISA = qw(Exporter); 107our @ISA = qw(Exporter);
108 108
109our @EXPORT = qw(encode_json decode_json to_json from_json); 109our @EXPORT = qw(encode_json decode_json to_json from_json);
110 110
111sub to_json($) { 111sub to_json($) {
440the same JSON text (given the same overall settings). If it is disabled, 440the same JSON text (given the same overall settings). If it is disabled,
441the same hash might be encoded differently even if contains the same data, 441the same hash might be encoded differently even if contains the same data,
442as key-value pairs have no inherent ordering in Perl. 442as key-value pairs have no inherent ordering in Perl.
443 443
444This setting has no effect when decoding JSON texts. 444This setting has no effect when decoding JSON texts.
445
446This setting has currently no effect on tied hashes.
445 447
446=item $json = $json->allow_nonref ([$enable]) 448=item $json = $json->allow_nonref ([$enable])
447 449
448=item $enabled = $json->get_allow_nonref 450=item $enabled = $json->get_allow_nonref
449 451

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines