Lines Matching defs:decode_json
17 @JSON::PP::EXPORT = qw(encode_json decode_json from_json to_json);
110 sub decode_json { # decode
122 Carp::croak ("JSON::PP::from_json has been renamed to decode_json.");
639 my ($self, $opt); # $opt is an effective flag during this decode_json.
1617 $perl_hash_or_arrayref = decode_json $utf8_encoded_json_text;
1694 =head2 decode_json
1696 $perl_scalar = decode_json $json_text
1737 is encoded in UTF-8, you should use C<decode_json> or C<JSON> module object
1749 $perl_scalar = decode_json( $json_text );
1765 So you B<cannot> use C<decode_json> nor C<JSON> module object with C<utf8> enable.
1770 Or C<encode 'utf8'> and C<decode_json>:
1772 $perl_scalar = decode_json( encode( 'utf8', $unicode_json_text ) );