Home | History | Annotate | Download | only in src

Lines Matching defs:JSON

67                                 JSON: 2 };
1087 return JSON.stringify(ObjectToProtocolObject_(o));
1338 var json = {};
1339 json.seq= this.seq;
1341 json.request_seq = this.request_seq;
1343 json.type = this.type;
1345 json.event = this.event;
1348 json.command = this.command;
1351 json.success = this.success;
1353 json.success = false;
1373 json.body = bodyJson;
1374 json.refs = serializer.serializeReferencedObjects();
1377 json.message = this.message;
1380 json.error_details = this.error_details;
1382 json.running = this.running;
1383 return JSON.stringify(json);
1398 // Convert the JSON string to an object.
1399 request = JSON.parse(json_request);
1497 // Return the response as a JSON encoded string.
2038 // (for singletons), raw value (primitive types supported in JSON),
2557 * may be serilized to a JSON object using JSON.stringify().
2595 var json = [];
2597 json.push(ValueToProtocolValue_(array[i], mirror_serializer));
2599 return json;
2612 var json;
2616 json = mirror_serializer.serializeValue(value);
2618 json = ArrayToProtocolArray_(value, mirror_serializer);
2620 json = ObjectToProtocolObject_(value, mirror_serializer);
2627 json = value;
2631 json = null;
2633 return json;