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

Comparing JSON-XS/README (file contents):
Revision 1.29 by root, Thu Feb 19 01:13:46 2009 UTC vs.
Revision 1.31 by root, Sat Aug 8 10:06:02 2009 UTC

20 $perl_scalar = $coder->decode ($unicode_json_text); 20 $perl_scalar = $coder->decode ($unicode_json_text);
21 21
22 # Note that JSON version 2.0 and above will automatically use JSON::XS 22 # Note that JSON version 2.0 and above will automatically use JSON::XS
23 # if available, at virtually no speed overhead either, so you should 23 # if available, at virtually no speed overhead either, so you should
24 # be able to just: 24 # be able to just:
25 25
26 use JSON; 26 use JSON;
27 27
28 # and do the same things, except that you have a pure-perl fallback now. 28 # and do the same things, except that you have a pure-perl fallback now.
29 29
30DESCRIPTION 30DESCRIPTION
31 This module converts Perl data structures to JSON and vice versa. Its 31 This module converts Perl data structures to JSON and vice versa. Its
377 it is disabled, the same hash might be encoded differently even if 377 it is disabled, the same hash might be encoded differently even if
378 contains the same data, as key-value pairs have no inherent ordering 378 contains the same data, as key-value pairs have no inherent ordering
379 in Perl. 379 in Perl.
380 380
381 This setting has no effect when decoding JSON texts. 381 This setting has no effect when decoding JSON texts.
382
383 This setting has currently no effect on tied hashes.
382 384
383 $json = $json->allow_nonref ([$enable]) 385 $json = $json->allow_nonref ([$enable])
384 $enabled = $json->get_allow_nonref 386 $enabled = $json->get_allow_nonref
385 If $enable is true (or missing), then the "encode" method can 387 If $enable is true (or missing), then the "encode" method can
386 convert a non-reference into its corresponding string, number or 388 convert a non-reference into its corresponding string, number or

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines