Home | History | Annotate | Download | only in lib

Lines Matching refs:from_json

7 @JSON::EXPORT = qw(from_json to_json jsonToObj objToJson encode_json decode_json);
118 my $alternative = 'from_json';
123 return JSON::from_json(@_);
158 sub from_json ($@) {
160 Carp::croak "from_json should not be called as a method.";
626 use JSON; # imports encode_json, decode_json, to_json and from_json.
650 $perl_scalar = from_json( $json_text, { utf8 => 1 } );
781 C<to_json> and C<from_json> are additional functions.
831 =head2 from_json
833 $perl_scalar = from_json($json_text)
844 $perl_scalar = from_json($json_text, $flag_hashref)
848 $perl_scalar = from_json($json_text, {utf8 => 1})
916 Instead of them, you use C<JSON> module object with C<utf8> disable or C<from_json>.
920 $perl_scalar = from_json( $unicode_json_text );
1632 print from_json('["foo"]', {utf8 => 1});
2049 with C<from_json> and C<to_json>.
2101 from_json($json_text);
2110 from_json($json_text, $flags);