Searched refs:JSON (Results 1 – 25 of 126) sorted by relevance
123456
/external/v8/test/mjsunit/ |
D | json.js | 46 assertTrue(Object.prototype === JSON.__proto__); 47 assertEquals("[object JSON]", Object.prototype.toString.call(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"')); 98 assertEquals("f\no", JSON.parse('"f\\no"')); 100 JSON.parse('"\\b\\f\\n\\r\\t\\"\\u2028\\/\\\\"')); [all …]
|
D | debug-liveedit-3.js | 61 print("Result: " + JSON.stringify(result) + "\n"); 62 print("Change log: " + JSON.stringify(change_log) + "\n");
|
D | debug-liveedit-newsource.js | 61 print("Result: " + JSON.stringify(result) + "\n"); 62 print("Change log: " + JSON.stringify(change_log) + "\n");
|
D | debug-evaluate-bool-constructor.js | 50 request = JSON.stringify(request); 53 var response = JSON.parse(resp);
|
D | debug-liveedit-breakpoints.js | 78 print("Result: " + JSON.stringify(result) + "\n"); 79 print("Change log: " + JSON.stringify(change_log) + "\n");
|
D | mirror-error.js | 47 var json = JSON.stringify(serializer.serializeValue(mirror)); 49 JSON.stringify(serializer.serializeReferencedObjects()));
|
D | mirror-function.js | 47 var json = JSON.stringify(serializer.serializeValue(mirror)); 49 JSON.stringify(serializer.serializeReferencedObjects()));
|
D | mirror-script.js | 36 var json = JSON.stringify(serializer.serializeValue(mirror)); 67 var fromJSON = JSON.parse(json);
|
D | mirror-unresolved-function.js | 45 var json = JSON.stringify(serializer.serializeValue(mirror)); 47 JSON.stringify(serializer.serializeReferencedObjects()));
|
D | mirror-regexp.js | 58 var json = JSON.stringify(serializer.serializeValue(mirror)); 60 JSON.stringify(serializer.serializeReferencedObjects()));
|
D | debug-evaluate-with-context.js | 126 var request = JSON.stringify(request_json); 128 var response = JSON.parse(response_json);
|
/external/webkit/LayoutTests/fast/js/resources/ |
D | JSON-parse.js | 313 return jsonObject.parse(JSON.stringify(simpleObject)); 315 result[result.length - 1].expected = JSON.stringify(simpleObject); 317 return jsonObject.parse(JSON.stringify(complexObject)); 320 return jsonObject.parse(JSON.stringify(complexObject)); 322 result[result.length - 1].expected = JSON.stringify(complexObject); 324 return jsonObject.parse(JSON.stringify(simpleObject,null,100)); 326 result[result.length - 1].expected = JSON.stringify(simpleObject); 328 return jsonObject.parse(JSON.stringify(complexObject,null,100)); 331 return jsonObject.parse(JSON.stringify(complexObject,null,100)); 333 result[result.length - 1].expected = JSON.stringify(complexObject); [all …]
|
D | json2-es5-compat.js | 161 if (!this.JSON) { 162 JSON = {}; 351 if (typeof JSON.stringify !== 'function') { 352 JSON.stringify = function (value, replacer, space) { 398 if (typeof JSON.parse !== 'function') { 399 JSON.parse = function (text, reviver) {
|
D | JSON-stringify.js | 208 result[result.length - 1].expected = JSON.stringify(simpleObject, null, 10); 212 result[result.length - 1].expected = JSON.stringify(simpleObject, null, 10); 216 result[result.length - 1].expected = JSON.stringify(simpleObject, null, 10); 276 result[result.length - 1].expected = JSON.stringify(simpleObjectWithProto, null, 10); 280 result[result.length - 1].expected = JSON.stringify(simpleObjectWithProto, null, 10); 284 result[result.length - 1].expected = JSON.stringify(simpleObjectWithProto, null, 10); 323 replaceTracker += key + "("+(typeof key)+")" + JSON.stringify(value) + ";";
|
/external/v8/test/mjsunit/regress/ |
D | regress-1015.js | 45 var ja = JSON.parse('[1,2,3,4]'); 46 var jo = JSON.parse('{"bar": 10, "foo": 20}') 47 var jop = JSON.parse('{"bar": 10, "__proto__": { }, "foo": 20}') 57 var ja = JSON.parse('[1,2,3,4]'); 58 var jo = JSON.parse('{"bar": 10, "foo": 20}') 59 var jop = JSON.parse('{"bar": 10, "__proto__": { }, "foo": 20}')
|
D | regress-753.js | 35 assertEquals(JSON.stringify(obj,null, 5.99999), JSON.stringify(obj,null, 5));
|
D | regress-94873.js | 35 var request = JSON.stringify(cmd); 37 return JSON.parse(response);
|
D | regress-1853.js | 42 var request = JSON.stringify(cmd); 44 return JSON.parse(response);
|
/external/chromium/chrome/common/extensions/docs/examples/extensions/news/javascript/ |
D | options.js | 159 var topics = JSON.parse(window.localStorage.getItem('topics')); 183 var keywords = JSON.parse(window.localStorage.getItem('keywords')); 246 var keywords = JSON.parse(window.localStorage.getItem('keywords')); 252 window.localStorage.setItem('keywords', JSON.stringify(keywords)); 254 window.localStorage.setItem('keywords', JSON.stringify(tempCusTopics)); 261 window.localStorage.setItem('topics', JSON.stringify(topicArr)); 297 var keywords = JSON.parse(window.localStorage.getItem('keywords') || "[]"); 375 var keywords = JSON.parse(window.localStorage.getItem('keywords')); 383 window.localStorage.setItem('keywords', JSON.stringify(keywords));
|
D | feed.js | 281 var msg = JSON.parse(e.data); 331 var keywords = JSON.parse(window.localStorage.getItem('keywords')); 355 var topics = JSON.parse(window.localStorage.getItem('topics')); 356 var keywords = JSON.parse(window.localStorage.getItem('keywords'));
|
/external/webkit/PerformanceTests/SunSpider/hosted/ |
D | json2.js | 162 if (!this.JSON) { 163 this.JSON = {}; 355 if (typeof JSON.stringify !== 'function') { 356 JSON.stringify = function (value, replacer, space) { 402 if (typeof JSON.parse !== 'function') { 403 JSON.parse = function (text, reviver) {
|
/external/chromium/chrome/common/extensions/docs/examples/api/contextMenus/basic/ |
D | sample.js | 8 console.log("info: " + JSON.stringify(info)); 9 console.log("tab: " + JSON.stringify(tab)); 48 console.log(JSON.stringify(info));
|
/external/chromium/chrome/browser/resources/file_manager/js/ |
D | main.js | 22 var params = JSON.parse(json); 23 console.log('params: ' + JSON.stringify(params));
|
/external/webkit/Source/WebCore/inspector/front-end/ |
D | Settings.js | 93 return JSON.parse(window.localStorage[key]); 104 window.localStorage[key] = JSON.stringify(value);
|
D | TextEditorHighlighter.js | 144 …var postConditionStringified = state ? state.postConditionStringified : JSON.stringify(this._token… 161 this._tokenizer.condition = JSON.parse(postConditionStringified); 174 postConditionStringified = JSON.stringify(this._tokenizer.condition);
|
123456