Home | History | Annotate | Download | only in lib

Lines Matching refs:ENCODING

734 and L<JSON::XS/ENCODING/CODESET_FLAG_NOTES>.
906 my $encoding = 'cp932';
907 my $unicode_json_text = decode( $encoding, <$fh> ); # UNICODE
911 # open( my $fh, "<:encoding($encoding)", 'json.data' );
937 If C<$perl_scalar> does not contain UNICODE but C<$encoding>-encoded strings
939 (because it does not concern with your $encoding).
944 # $perl_scalar contains $encoding encoded string values
951 Or C<decode $encoding> all string values and C<encode_json>:
953 $perl_scalar->{ foo } = decode( $encoding, $perl_scalar->{ foo } );
1026 encoding families, as described in RFC4627.
1029 Unicode string, while decode expects thus a Unicode string. Any decoding or encoding
1388 if possible: perl stores strings internally either in an encoding called
1404 Sets the maximum nesting level (default C<512>) accepted while encoding
1873 exception, encoding the reference as if it weren't blessed, or provide
1890 before encoding as JSON strings, and anything else as number value:
2024 in de/encoding, can support some unsupported methods - C<loose>, C<allow_bignum>,
2031 and it makes the de/encoding speed down a bit.