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.166 by root, Fri Sep 22 00:53:33 2017 UTC vs.
Revision 1.167 by root, Tue Aug 28 16:16:17 2018 UTC

365 365
366=item $enabled = $json->get_relaxed 366=item $enabled = $json->get_relaxed
367 367
368If C<$enable> is true (or missing), then C<decode> will accept some 368If C<$enable> is true (or missing), then C<decode> will accept some
369extensions to normal JSON syntax (see below). C<encode> will not be 369extensions to normal JSON syntax (see below). C<encode> will not be
370affected in anyway. I<Be aware that this option makes you accept invalid 370affected in any way. I<Be aware that this option makes you accept invalid
371JSON texts as if they were valid!>. I suggest only to use this option to 371JSON texts as if they were valid!>. I suggest only to use this option to
372parse application-specific files written by humans (configuration files, 372parse application-specific files written by humans (configuration files,
373resource files etc.) 373resource files etc.)
374 374
375If C<$enable> is false (the default), then C<decode> will only accept 375If C<$enable> is false (the default), then C<decode> will only accept

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines