Home | History | Annotate | Download | only in lib

Lines Matching refs:decode_json

7 @JSON::EXPORT = qw(from_json to_json jsonToObj objToJson encode_json decode_json);
399 *{"JSON::decode_json"} = \&{"JSON::PP::decode_json"};
443 *{"JSON::decode_json"} = \&{"JSON::XS::decode_json"};
626 use JSON; # imports encode_json, decode_json, to_json and from_json.
631 $perl_hash_or_arrayref = decode_json $utf8_encoded_json_text;
793 =head2 decode_json
795 $perl_scalar = decode_json $json_text
855 you should use C<decode_json> (supposed that JSON data are encoded in UTF-8).
887 is encoded in UTF-8, you should use C<decode_json> or C<JSON> module object
899 $perl_scalar = decode_json( $json_text );
915 So you B<cannot> use C<decode_json> nor C<JSON> module object with C<utf8> enable.
922 Or C<encode 'utf8'> and C<decode_json>:
924 $perl_scalar = decode_json( encode( 'utf8', $unicode_json_text ) );