HomeSort by relevance Sort by last modified time
    Searched full:decode_json (Results 1 - 18 of 18) sorted by null

  /external/chromium_org/third_party/JSON/JSON-2.59/t/
03_types.t 32 ok ('[1,2,3,4]' eq encode_json decode_json ('[1,2, 3,4]'));
33 ok ('[{},[],[],{}]' eq encode_json decode_json ('[{},[], [ ] ,{ }]'));
35 ok ('{"1":2,"3":4}' eq JSON->new->canonical (1)->encode (decode_json '{ "1" : 2, "3" : 4 }'));
36 ok ('{"1":2,"3":1.2}' eq JSON->new->canonical (1)->encode (decode_json '{ "1" : 2, "3" : 1.2 }'));
47 ok ($v == ((decode_json "[$v]")->[0]));
48 ok ($v == ((decode_json encode_json [$v])->[0]));
51 ok (30123 == ((decode_json encode_json [30123])->[0]));
52 ok (32123 == ((decode_json encode_json [32123])->[0]));
53 ok (32456 == ((decode_json encode_json [32456])->[0]));
54 ok (32789 == ((decode_json encode_json [32789])->[0]))
    [all...]
x02_error.t 55 eval { decode_json ("\"\xa0") }; ok $@ =~ /malformed.*character/;
56 eval { decode_json ("\"\xa0\"") }; ok $@ =~ /malformed.*character/;
58 #eval { decode_json ("\"\xa0") }; ok $@ =~ /JSON text must be an object or array/;
59 #eval { decode_json ("\"\xa0\"") }; ok $@ =~ /JSON text must be an object or array/;
99_binary.t 23 ok ($_[0] eq ((decode_json $js)->[0]));
28 ok ($_[0] eq ((decode_json $js)->[0]));
02_error.t 49 eval { decode_json ("\"\xa0") }; ok $@ =~ /malformed.*character/;
50 eval { decode_json ("\"\xa0\"") }; ok $@ =~ /malformed.*character/;
  /external/chromium_org/third_party/JSON/JSON-2.59/eg/
bench_decode.pl 22 my $perl = JSON::XS::decode_json $json;
bench_encode.pl 22 my $perl = JSON::XS::decode_json $json;
  /external/chromium_org/third_party/JSON/JSON-2.59/
README 36 use JSON; # imports encode_json, decode_json, to_json and from_json.
41 $perl_hash_or_arrayref = decode_json $utf8_encoded_json_text;
193 decode_json
194 $perl_scalar = decode_json $json_text
252 world, you should use "decode_json" (supposed that JSON data are encoded
280 and so on, is encoded in UTF-8, you should use "decode_json" or "JSON"
293 $perl_scalar = decode_json( $json_text );
310 cannot use "decode_json" nor "JSON" module object with "utf8" enable.
318 Or "encode 'utf8'" and "decode_json":
320 $perl_scalar = decode_json( encode( 'utf8', $unicode_json_text ) )
    [all...]
Changes 353 - renamed from_json and to_json to decode_json and encode_json
  /external/chromium_org/third_party/JSON/JSON-2.59/blib/lib/
JSON.pm 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)
    [all...]
  /external/chromium_org/third_party/JSON/JSON-2.59/lib/
JSON.pm 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)
    [all...]
  /external/chromium_org/third_party/JSON/out/lib/perl5/
JSON.pm 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)
    [all...]
  /external/chromium_org/third_party/JSON/JSON-2.59/blib/man3/
JSON__backportPP.3pm 143 \& $perl_hash_or_arrayref = decode_json $utf8_encoded_json_text;
217 .SS "decode_json"
218 .IX Subsection "decode_json"
220 \& $perl_scalar = decode_json $json_text
260 is encoded in \s-1UTF\-8\s0, you should use \f(CW\*(C`decode_json\*(C'\fR or \f(CW\*(C`JSON\*(C'\fR module object
273 \& $perl_scalar = decode_json( $json_text );
292 So you \fBcannot\fR use \f(CW\*(C`decode_json\*(C'\fR nor \f(CW\*(C`JSON\*(C'\fR module object with \f(CW\*(C`utf8\*(C'\fR enable.
299 Or \f(CW\*(C`encode \*(Aqutf8\*(Aq\*(C'\fR and \f(CW\*(C`decode_json\*(C'\fR:
302 \& $perl_scalar = decode_json( encode( \*(Aqutf8\*(Aq, $unicode_json_text ) );
    [all...]
JSON.3pm 137 \& use JSON; # imports encode_json, decode_json, to_json and from_json.
142 \& $perl_hash_or_arrayref = decode_json $utf8_encoded_json_text;
296 .SS "decode_json"
297 .IX Subsection "decode_json"
299 \& $perl_scalar = decode_json $json_text
379 you should use \f(CW\*(C`decode_json\*(C'\fR (supposed that \s-1JSON\s0 data are encoded in \s-1UTF\-8\s0).
408 is encoded in \s-1UTF\-8\s0, you should use \f(CW\*(C`decode_json\*(C'\fR or \f(CW\*(C`JSON\*(C'\fR module object
421 \& $perl_scalar = decode_json( $json_text );
440 So you \fBcannot\fR use \f(CW\*(C`decode_json\*(C'\fR nor \f(CW\*(C`JSON\*(C'\fR module object with \f(CW\*(C`utf8\*(C'\fR enable.
449 Or \f(CW\*(C`encode \*(Aqutf8\*(Aq\*(C'\fR and \f(CW\*(C`decode_json\*(C'\fR
    [all...]
  /external/chromium_org/third_party/JSON/out/man/man3/
JSON__backportPP.3pm 143 \& $perl_hash_or_arrayref = decode_json $utf8_encoded_json_text;
217 .SS "decode_json"
218 .IX Subsection "decode_json"
220 \& $perl_scalar = decode_json $json_text
260 is encoded in \s-1UTF\-8\s0, you should use \f(CW\*(C`decode_json\*(C'\fR or \f(CW\*(C`JSON\*(C'\fR module object
273 \& $perl_scalar = decode_json( $json_text );
292 So you \fBcannot\fR use \f(CW\*(C`decode_json\*(C'\fR nor \f(CW\*(C`JSON\*(C'\fR module object with \f(CW\*(C`utf8\*(C'\fR enable.
299 Or \f(CW\*(C`encode \*(Aqutf8\*(Aq\*(C'\fR and \f(CW\*(C`decode_json\*(C'\fR:
302 \& $perl_scalar = decode_json( encode( \*(Aqutf8\*(Aq, $unicode_json_text ) );
    [all...]
JSON.3pm 137 \& use JSON; # imports encode_json, decode_json, to_json and from_json.
142 \& $perl_hash_or_arrayref = decode_json $utf8_encoded_json_text;
296 .SS "decode_json"
297 .IX Subsection "decode_json"
299 \& $perl_scalar = decode_json $json_text
379 you should use \f(CW\*(C`decode_json\*(C'\fR (supposed that \s-1JSON\s0 data are encoded in \s-1UTF\-8\s0).
408 is encoded in \s-1UTF\-8\s0, you should use \f(CW\*(C`decode_json\*(C'\fR or \f(CW\*(C`JSON\*(C'\fR module object
421 \& $perl_scalar = decode_json( $json_text );
440 So you \fBcannot\fR use \f(CW\*(C`decode_json\*(C'\fR nor \f(CW\*(C`JSON\*(C'\fR module object with \f(CW\*(C`utf8\*(C'\fR enable.
449 Or \f(CW\*(C`encode \*(Aqutf8\*(Aq\*(C'\fR and \f(CW\*(C`decode_json\*(C'\fR
    [all...]
  /external/chromium_org/third_party/JSON/JSON-2.59/blib/lib/JSON/
backportPP.pm 18 @JSON::PP::EXPORT = qw(encode_json decode_json from_json to_json);
111 sub decode_json { # decode subroutine
123 Carp::croak ("JSON::PP::from_json has been renamed to decode_json.");
640 my ($self, $opt); # $opt is an effective flag during this decode_json.
    [all...]
  /external/chromium_org/third_party/JSON/JSON-2.59/lib/JSON/
backportPP.pm 18 @JSON::PP::EXPORT = qw(encode_json decode_json from_json to_json);
111 sub decode_json { # decode subroutine
123 Carp::croak ("JSON::PP::from_json has been renamed to decode_json.");
640 my ($self, $opt); # $opt is an effective flag during this decode_json.
    [all...]
  /external/chromium_org/third_party/JSON/out/lib/perl5/JSON/
backportPP.pm 18 @JSON::PP::EXPORT = qw(encode_json decode_json from_json to_json);
111 sub decode_json { # decode subroutine
123 Carp::croak ("JSON::PP::from_json has been renamed to decode_json.");
640 my ($self, $opt); # $opt is an effective flag during this decode_json.
    [all...]

Completed in 832 milliseconds