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