HomeSort by relevance Sort by last modified time
    Searched refs:JSON (Results 1 - 25 of 388) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/JSON/JSON-2.59/t/
_unicode_handling.pm 14 $JSON::can_handle_UTF16_and_utf8 = 0;
17 $JSON::can_handle_UTF16_and_utf8 = 1;
20 # $JSON::can_handle_UTF16_and_utf8 = 0;
xe08_decode.t 11 use JSON;
21 skip "can't use JSON::XS.", 6, unless( JSON->backend->is_xs );
23 my $json = JSON->new->allow_nonref;
26 is($json->decode(q|"ü"|), "ü"); # utf8
27 is($json->decode(q|"\u00fc"|), "\xfc"); # latin1
28 is($json->decode(q|"\u00c3\u00bc"|), "\xc3\xbc"); # utf8
32 is($json->decode(q|"\u00e3\u0081\u0082"|), $str);
36 is($json->decode(q|"\u3042"|), $str)
    [all...]
  /external/chromium_org/third_party/JSON/JSON-2.59/eg/
bench_decode.pl 11 use JSON qw( -support_by_pp -no_export ); # for JSON::PP::Boolean inheritance
12 use JSON::PP ();
13 use JSON::XS ();
16 my $pp = JSON::PP->new->utf8;
17 my $xs = JSON::XS->new->utf8;
21 my $json = <>;
22 my $perl = JSON::XS::decode_json $json;
26 printf( "JSON::PP %s\n", JSON::PP->VERSION )
    [all...]
bench_encode.pl 11 use JSON qw( -support_by_pp -no_export ); # for JSON::PP::Boolean inheritance
12 use JSON::PP ();
13 use JSON::XS ();
16 my $pp = JSON::PP->new->utf8;
17 my $xs = JSON::XS->new->utf8;
21 my $json = <>;
22 my $perl = JSON::XS::decode_json $json;
26 printf( "JSON::PP %s\n", JSON::PP->VERSION )
    [all...]
  /external/chromium_org/third_party/JSON/JSON-2.59/blib/lib/JSON/backportPP/
Boolean.pm 3 JSON::PP::Boolean - dummy module providing JSON::PP::Boolean
12 and similar modules. See L<JSON::PP> for more info about this class.
16 use JSON::backportPP ();
23 This idea is from L<JSON::XS::Boolean> written by
Compat5005.pm 1 package # This is JSON::backportPP
2 JSON::backportPP5005;
9 $JSON::PP5005::VERSION = '1.10';
30 *JSON::PP::JSON_PP_encode_ascii = \&_encode_ascii;
31 *JSON::PP::JSON_PP_encode_latin1 = \&_encode_latin1;
32 *JSON::PP::JSON_PP_decode_surrogates = \&_decode_surrogates;
33 *JSON::PP::JSON_PP_decode_unicode = \&_decode_unicode;
93 sub JSON::PP::incr_text {
94 $_[0]->{_incr_parser} ||= JSON::PP::IncrParser->new;
112 JSON::PP5005 - Helper module in using JSON::PP in Perl 5.00
    [all...]
Compat5006.pm 1 package # This is JSON::backportPP
2 JSON::backportPP56;
9 $JSON::PP56::VERSION = '1.08';
69 *JSON::PP::JSON_PP_encode_ascii = \&_encode_ascii;
70 *JSON::PP::JSON_PP_encode_latin1 = \&_encode_latin1;
71 *JSON::PP::JSON_PP_decode_surrogates = \&JSON::PP::_decode_surrogates;
72 *JSON::PP::JSON_PP_decode_unicode = \&JSON::PP::_decode_unicode;
88 sprintf('\u%04x', $_) : sprintf('\u%x\u%x', JSON::PP::_encode_surrogates($_))
    [all...]
  /external/chromium_org/third_party/JSON/JSON-2.59/lib/JSON/backportPP/
Boolean.pm 3 JSON::PP::Boolean - dummy module providing JSON::PP::Boolean
12 and similar modules. See L<JSON::PP> for more info about this class.
16 use JSON::backportPP ();
23 This idea is from L<JSON::XS::Boolean> written by
Compat5005.pm 1 package # This is JSON::backportPP
2 JSON::backportPP5005;
9 $JSON::PP5005::VERSION = '1.10';
30 *JSON::PP::JSON_PP_encode_ascii = \&_encode_ascii;
31 *JSON::PP::JSON_PP_encode_latin1 = \&_encode_latin1;
32 *JSON::PP::JSON_PP_decode_surrogates = \&_decode_surrogates;
33 *JSON::PP::JSON_PP_decode_unicode = \&_decode_unicode;
93 sub JSON::PP::incr_text {
94 $_[0]->{_incr_parser} ||= JSON::PP::IncrParser->new;
112 JSON::PP5005 - Helper module in using JSON::PP in Perl 5.00
    [all...]
Compat5006.pm 1 package # This is JSON::backportPP
2 JSON::backportPP56;
9 $JSON::PP56::VERSION = '1.08';
69 *JSON::PP::JSON_PP_encode_ascii = \&_encode_ascii;
70 *JSON::PP::JSON_PP_encode_latin1 = \&_encode_latin1;
71 *JSON::PP::JSON_PP_decode_surrogates = \&JSON::PP::_decode_surrogates;
72 *JSON::PP::JSON_PP_decode_unicode = \&JSON::PP::_decode_unicode;
88 sprintf('\u%04x', $_) : sprintf('\u%x\u%x', JSON::PP::_encode_surrogates($_))
    [all...]
  /external/chromium_org/third_party/JSON/out/lib/perl5/JSON/backportPP/
Boolean.pm 3 JSON::PP::Boolean - dummy module providing JSON::PP::Boolean
12 and similar modules. See L<JSON::PP> for more info about this class.
16 use JSON::backportPP ();
23 This idea is from L<JSON::XS::Boolean> written by
Compat5005.pm 1 package # This is JSON::backportPP
2 JSON::backportPP5005;
9 $JSON::PP5005::VERSION = '1.10';
30 *JSON::PP::JSON_PP_encode_ascii = \&_encode_ascii;
31 *JSON::PP::JSON_PP_encode_latin1 = \&_encode_latin1;
32 *JSON::PP::JSON_PP_decode_surrogates = \&_decode_surrogates;
33 *JSON::PP::JSON_PP_decode_unicode = \&_decode_unicode;
93 sub JSON::PP::incr_text {
94 $_[0]->{_incr_parser} ||= JSON::PP::IncrParser->new;
112 JSON::PP5005 - Helper module in using JSON::PP in Perl 5.00
    [all...]
  /external/chromium_org/third_party/JSON/JSON-2.59/blib/lib/
JSON.pm 1 package JSON;
7 @JSON::EXPORT = qw(from_json to_json jsonToObj objToJson encode_json decode_json);
10 $JSON::VERSION = '2.59';
11 $JSON::DEBUG = 0 unless (defined $JSON::DEBUG);
12 $JSON::DEBUG = $ENV{ PERL_JSON_DEBUG } if exists $ENV{ PERL_JSON_DEBUG };
15 my $Module_XS = 'JSON::XS';
16 my $Module_PP = 'JSON::PP';
17 my $Module_bp = 'JSON::backportPP'; # included in JSON distributio
    [all...]
  /external/chromium_org/third_party/JSON/JSON-2.59/lib/
JSON.pm 1 package JSON;
7 @JSON::EXPORT = qw(from_json to_json jsonToObj objToJson encode_json decode_json);
10 $JSON::VERSION = '2.59';
11 $JSON::DEBUG = 0 unless (defined $JSON::DEBUG);
12 $JSON::DEBUG = $ENV{ PERL_JSON_DEBUG } if exists $ENV{ PERL_JSON_DEBUG };
15 my $Module_XS = 'JSON::XS';
16 my $Module_PP = 'JSON::PP';
17 my $Module_bp = 'JSON::backportPP'; # included in JSON distributio
    [all...]
  /external/chromium_org/third_party/JSON/out/lib/perl5/
JSON.pm 1 package JSON;
7 @JSON::EXPORT = qw(from_json to_json jsonToObj objToJson encode_json decode_json);
10 $JSON::VERSION = '2.59';
11 $JSON::DEBUG = 0 unless (defined $JSON::DEBUG);
12 $JSON::DEBUG = $ENV{ PERL_JSON_DEBUG } if exists $ENV{ PERL_JSON_DEBUG };
15 my $Module_XS = 'JSON::XS';
16 my $Module_PP = 'JSON::PP';
17 my $Module_bp = 'JSON::backportPP'; # included in JSON distributio
    [all...]
  /external/v8/test/mjsunit/
json.js 46 assertTrue(Object.prototype === JSON.__proto__);
47 assertEquals("[object JSON]", Object.prototype.toString.call(JSON));
88 assertFalse(p == "JSON");
92 assertEquals({}, JSON.parse("{}"));
93 assertEquals({42:37}, JSON.parse('{"42":37}'));
94 assertEquals(null, JSON.parse("null"));
95 assertEquals(true, JSON.parse("true"));
96 assertEquals(false, JSON.parse("false"));
97 assertEquals("foo", JSON.parse('"foo"'))
    [all...]
  /external/chromium_org/third_party/JSON/JSON-2.59/
Makefile.PL 9 eval q| require JSON |;
14 print "We try to look up lib/JSON.pm, but in vain. B module can't install?\n";
23 my $version = JSON->VERSION;
28 Welcome to JSON (v.$version)
33 * This is 'JSON version 2' and there are many differences *
44 'NAME' => 'JSON',
45 'VERSION_FROM' => 'lib/JSON.pm', # finds $VERSION
50 (ABSTRACT_FROM => 'lib/JSON.pm', # retrieve abstract from module
57 repository => 'https://github.com/makamaka/JSON',
60 'JSON::XS' => JSON->require_xs_version
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/tests/
test_pass1.py 1 from json.tests import PyTest, CTest
4 # from http://json.org/JSON_checker/test/pass1.json
5 JSON = r'''
7 "JSON Test Pattern pass1",
40 "url": "http://www.JSON.org/",
69 res = self.loads(JSON)
test_pass2.py 1 from json.tests import PyTest, CTest
4 # from http://json.org/JSON_checker/test/pass2.json
5 JSON = r'''
12 res = self.loads(JSON)
test_pass3.py 1 from json.tests import PyTest, CTest
4 # from http://json.org/JSON_checker/test/pass3.json
5 JSON = r'''
7 "JSON Test Pattern pass3": {
18 res = self.loads(JSON)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/tests/
test_pass1.py 1 from json.tests import PyTest, CTest
4 # from http://json.org/JSON_checker/test/pass1.json
5 JSON = r'''
7 "JSON Test Pattern pass1",
40 "url": "http://www.JSON.org/",
69 res = self.loads(JSON)
test_pass2.py 1 from json.tests import PyTest, CTest
4 # from http://json.org/JSON_checker/test/pass2.json
5 JSON = r'''
12 res = self.loads(JSON)
test_pass3.py 1 from json.tests import PyTest, CTest
4 # from http://json.org/JSON_checker/test/pass3.json
5 JSON = r'''
7 "JSON Test Pattern pass3": {
18 res = self.loads(JSON)
  /external/chromium_org/v8/test/mjsunit/
json.js 46 assertTrue(Object.prototype === JSON.__proto__);
47 assertEquals("[object JSON]", Object.prototype.toString.call(JSON));
88 assertFalse(p == "JSON");
92 assertEquals({}, JSON.parse("{}"));
93 assertEquals({42:37}, JSON.parse('{"42":37}'));
94 assertEquals(null, JSON.parse("null"));
95 assertEquals(true, JSON.parse("true"));
96 assertEquals(false, JSON.parse("false"));
97 assertEquals("foo", JSON.parse('"foo"'))
483 var json = '{"stuff before slash\\\\\\\\stuff after slash":"whatever"}'; variable
    [all...]
  /external/chromium_org/v8/test/webkit/
JSON-stringify-replacer.js 24 description("Test to ensure correct behaviour of replacer functions in JSON.stringify");
70 shouldBeUndefined("JSON.stringify(object, returnUndefined)");
71 shouldBeUndefined("JSON.stringify(array, returnUndefined)");
73 shouldBe("JSON.stringify(object, returnObjectFor1)", '\'{"0":0,"1":{},"2":2}\'');
74 shouldBe("JSON.stringify(array, returnObjectFor1)", '\'[0,{},2,null]\'');
76 shouldBe("JSON.stringify(object, returnArrayFor1)", '\'{"0":0,"1":[],"2":2}\'');
77 shouldBe("JSON.stringify(array, returnArrayFor1)", '\'[0,[],2,null]\'');
79 shouldBe("JSON.stringify(object, returnUndefinedFor1)", '\'{"0":0,"2":2}\'');
80 shouldBe("JSON.stringify(array, returnUndefinedFor1)", '\'[0,null,2,null]\'');
82 shouldBe("JSON.stringify(object, returnFunctionFor1)", '\'{"0":0,"2":2}\'')
    [all...]

Completed in 1422 milliseconds

1 2 3 4 5 6 7 8 91011>>