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

1 2 3 4 5 6 7 8 91011

  /external/v8/test/mjsunit/es6/
json.js 6 assertEquals('[object JSON]', "" + JSON);
7 assertEquals("JSON", JSON[Symbol.toStringTag]);
8 var desc = Object.getOwnPropertyDescriptor(JSON, Symbol.toStringTag);
11 assertEquals("JSON", desc.value);
12 delete JSON[Symbol.toStringTag];
13 assertEquals('[object Object]', "" + JSON);
  /external/webrtc/webrtc/examples/objc/AppRTCDemo/
RTCMediaConstraints+JSON.h 13 @interface RTCMediaConstraints (JSON)
RTCICECandidate+JSON.h 13 @interface RTCICECandidate (JSON)
RTCICEServer+JSON.h 13 @interface RTCICEServer (JSON)
16 // CEOD provides different JSON, and this parses that.
RTCSessionDescription+JSON.h 13 @interface RTCSessionDescription (JSON)
  /external/v8/test/mjsunit/regress/
regress-3135.js 6 assertEquals('{"x":1}', JSON.stringify({ x : 1 }, ["x", 1, "x", 1]));
7 assertEquals('{"1":1}', JSON.stringify({ 1 : 1 }, ["x", 1, "x", 1]));
8 assertEquals('{"1":1}', JSON.stringify({ 1 : 1 }, ["1", 1, "1", 1]));
9 assertEquals('{"1":1}', JSON.stringify({ 1 : 1 }, [1, "1", 1, "1"]));
14 assertEquals('{"x":2}', JSON.stringify(getter_obj, ["x", "y", "x"]));
18 assertEquals('{"y":4,"x":3}', JSON.stringify({ x : 3, y : 4}, ["y", "x"]));
20 JSON.stringify({ x : 3, y : 4, 1 : 2 }, ["y", 1, "x"]));
26 JSON.stringify(a, ["__proto__", "x", "__proto__"]));
29 JSON.stringify(a, ["__proto__", "x"]));
31 assertEquals('{}', JSON.stringify(b))
    [all...]
regress-crbug-430846.js 11 var json = '{"foo": {"x": 1}}'; variable
12 var o2 = JSON.parse(json);
13 var o3 = JSON.parse(json);
regress-crbug-554946.js 12 JSON.stringify(array));
21 JSON.stringify(array));
29 assertEquals('[0,1,2,{"value":"funky"},4,5,6,7,8,null]', JSON.stringify(array));
37 assertEquals('[0,1,2,{"value":"funky"},4,5,6,7,8,null]', JSON.stringify(array));
45 assertEquals('[0,1,2,{"value":"funky"},4,5,null,7,8,9]', JSON.stringify(array));
53 assertEquals('[0,1,2,{"value":"funky"},4,5,6,7,8,9]', JSON.stringify(array));
61 assertEquals('[0,1,2,{"value":"funky"},4,5,6,7,8,9]', JSON.stringify(array));
  /external/jetty/src/java/org/eclipse/jetty/util/ajax/
JSONPojoConvertorFactory.java 24 import org.eclipse.jetty.util.ajax.JSON.Convertor;
25 import org.eclipse.jetty.util.ajax.JSON.Output;
27 public class JSONPojoConvertorFactory implements JSON.Convertor
29 private final JSON _json;
32 public JSONPojoConvertorFactory(JSON json)
34 if (json==null)
38 _json=json;
44 * @param json The JSON instance to us
    [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/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"'))
492 var json = '{"stuff before slash\\\\\\\\stuff after slash":"whatever"}'; variable
    [all...]
  /external/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...]
  /external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/static/
jquery.json-2.2.min.js 3 {if(typeof(JSON)=='object'&&JSON.stringify)
4 return JSON.stringify(o);var type=typeof(o);if(o===null)
22 {if(typeof(JSON)=='object'&&JSON.parse)
23 return JSON.parse(src);return eval("("+src+")");};$.secureEvalJSON=function(src)
24 {if(typeof(JSON)=='object'&&JSON.parse)
25 return JSON.parse(src);var filtered=src;filtered=filtered.replace(/\\["\\\/bfnrtu]/g,'@');filtered=filtered.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,']');filtered=filtered.replace(/(?:^|:|,)(?:\s*\[)+/g,'');if(/^[\],:{}\s]*$/.test(filtered))
27 throw new SyntaxError("Error parsing JSON, source is not valid.");};$.quoteString=function(string
    [all...]
  /external/chromium-trace/catapult/third_party/mapreduce/mapreduce/static/
jquery.json-2.2.min.js 3 {if(typeof(JSON)=='object'&&JSON.stringify)
4 return JSON.stringify(o);var type=typeof(o);if(o===null)
22 {if(typeof(JSON)=='object'&&JSON.parse)
23 return JSON.parse(src);return eval("("+src+")");};$.secureEvalJSON=function(src)
24 {if(typeof(JSON)=='object'&&JSON.parse)
25 return JSON.parse(src);var filtered=src;filtered=filtered.replace(/\\["\\\/bfnrtu]/g,'@');filtered=filtered.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,']');filtered=filtered.replace(/(?:^|:|,)(?:\s*\[)+/g,'');if(/^[\],:{}\s]*$/.test(filtered))
27 throw new SyntaxError("Error parsing JSON, source is not valid.");};$.quoteString=function(string
    [all...]
  /external/chromium-trace/catapult/third_party/pipeline/pipeline/ui/
jquery.json.min.js 3 {if(typeof(JSON)=='object'&&JSON.stringify)
4 return JSON.stringify(o);var type=typeof(o);if(o===null)
22 {if(typeof(JSON)=='object'&&JSON.parse)
23 return JSON.parse(src);return eval("("+src+")");};$.secureEvalJSON=function(src)
24 {if(typeof(JSON)=='object'&&JSON.parse)
25 return JSON.parse(src);var filtered=src;filtered=filtered.replace(/\\["\\\/bfnrtu]/g,'@');filtered=filtered.replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,']');filtered=filtered.replace(/(?:^|:|,)(?:\s*\[)+/g,'');if(/^[\],:{}\s]*$/.test(filtered))
27 throw new SyntaxError("Error parsing JSON, source is not valid.");};$.quoteString=function(string
    [all...]
  /external/skia/tools/
reformat-json.py 11 Rewrites a JSON file to use Python's standard JSON pretty-print format,
16 Should not modify the JSON contents in any meaningful way.
27 # that directory. That script allows us to parse the actual-results.json file
46 parser = argparse.ArgumentParser(description='Reformat JSON files in-place.')
  /external/google-tv-pairing-protocol/java/src/com/google/polo/wire/
WireFormat.java 20 import com.google.polo.wire.json.JsonWireAdapter;
29 JSON, // JSON, implemented by JsonWireInterface
42 case JSON:
  /libcore/json/src/main/java/org/json/
JSONArray.java 17 package org.json;
25 // Note: this class was written without inspecting the non-free org.json sourcecode.
96 throw JSON.typeMismatch(object, "JSONArray");
101 * Creates a new {@code JSONArray} with values from the JSON string.
103 * @param json a JSON-encoded string containing an array.
107 public JSONArray(String json) throws JSONException {
108 this(new JSONTokener(json));
150 values.add(JSON.checkDouble(value));
194 JSON.checkDouble(((Number) value).doubleValue())
    [all...]
  /external/chromium-trace/catapult/experimental/bisect_lib/
fetch_intervening_revisions.py 18 import json namespace
25 '?format=json&n=%d')
47 ValueError: The response wasn't valid JSON.
48 KeyError: The JSON didn't contain the expected data.
68 response_dict = json.loads(response_json)
95 print json.dumps(revision_pairs)
  /external/chromium-trace/catapult/third_party/gsutil/gslib/
cs_api_map.py 26 JSON = 'JSON'
54 ApiSelector.JSON: GcsJsonApi

Completed in 878 milliseconds

1 2 3 4 5 6 7 8 91011