Home | History | Annotate | Download | only in debug

Lines Matching refs:json

15 var JSONParse = global.JSON.parse;
16 var JSONStringify = global.JSON.stringify;
76 JSON: 2 };
1323 var json = {};
1324 json.seq= this.seq;
1326 json.request_seq = this.request_seq;
1328 json.type = this.type;
1330 json.event = this.event;
1333 json.command = this.command;
1336 json.success = this.success;
1338 json.success = false;
1358 json.body = bodyJson;
1359 json.refs = serializer.serializeReferencedObjects();
1362 json.message = this.message;
1365 json.error_details = this.error_details;
1367 json.running = this.running;
1368 return JSONStringify(json);
1383 // Convert the JSON string to an object.
1431 // Return the response as a JSON encoded string.
1962 // (for singletons), raw value (primitive types supported in JSON),
2504 * may be serilized to a JSON object using JSON.stringify().
2542 var json = [];
2544 json.push(ValueToProtocolValue_(array[i], mirror_serializer));
2546 return json;
2559 var json;
2563 json = mirror_serializer.serializeValue(value);
2565 json = ArrayToProtocolArray_(value, mirror_serializer);
2567 json = ObjectToProtocolObject_(value, mirror_serializer);
2574 json = value;
2578 json = null;
2580 return json;