Home | History | Annotate | Download | only in src

Lines Matching refs:JSON

44                                 JSON: 2 };
1069 return JSON.stringify(ObjectToProtocolObject_(o));
1301 var json = {};
1302 json.seq= this.seq;
1304 json.request_seq = this.request_seq;
1306 json.type = this.type;
1308 json.event = this.event;
1311 json.command = this.command;
1314 json.success = this.success;
1316 json.success = false;
1336 json.body = bodyJson;
1337 json.refs = serializer.serializeReferencedObjects();
1340 json.message = this.message;
1343 json.error_details = this.error_details;
1345 json.running = this.running;
1346 return JSON.stringify(json);
1361 // Convert the JSON string to an object.
1362 request = JSON.parse(json_request);
1407 // Return the response as a JSON encoded string.
1948 // (for singletons), raw value (primitive types supported in JSON),
2490 * may be serilized to a JSON object using JSON.stringify().
2528 var json = [];
2530 json.push(ValueToProtocolValue_(array[i], mirror_serializer));
2532 return json;
2545 var json;
2549 json = mirror_serializer.serializeValue(value);
2551 json = ArrayToProtocolArray_(value, mirror_serializer);
2553 json = ObjectToProtocolObject_(value, mirror_serializer);
2560 json = value;
2564 json = null;
2566 return json;