Lines Matching defs:JSON
67 JSON: 2 };
1069 return JSON.stringify(ObjectToProtocolObject_(o));
1317 var json = {};
1318 json.seq= this.seq;
1320 json.request_seq = this.request_seq;
1322 json.type = this.type;
1324 json.event = this.event;
1327 json.command = this.command;
1330 json.success = this.success;
1332 json.success = false;
1352 json.body = bodyJson;
1353 json.refs = serializer.serializeReferencedObjects();
1356 json.message = this.message;
1358 json.running = this.running;
1359 return JSON.stringify(json);
1374 // Convert the JSON string to an object.
1375 request = JSON.parse(json_request);
1495 // Return the response as a JSON encoded string.
2539 * may be serilized to a JSON object using JSON.stringify().
2577 var json = [];
2579 json.push(ValueToProtocolValue_(array[i], mirror_serializer));
2581 return json;
2594 var json;
2598 json = mirror_serializer.serializeValue(value);
2600 json = ArrayToProtocolArray_(value, mirror_serializer);
2602 json = ObjectToProtocolObject_(value, mirror_serializer);
2609 json = value;
2613 json = null;
2615 return json;