Home | History | Annotate | Download | only in src

Lines Matching defs:JSON

98                                 JSON: 2 };
118 // Process a debugger JSON message into a display text and a running status.
122 // Convert the JSON string to an object.
255 // Converts a text command to a JSON request.
262 // If the very first character is a { assume that a JSON request have been
263 // entered as a command. Converting that to a JSON request is trivial.
353 // Return undefined to indicate command handled internally (no JSON).
361 // Return undefined to indicate command handled internally (no JSON).
386 var json = '{';
387 json += '"seq":' + this.seq;
388 json += ',"type":"' + this.type + '"';
390 json += ',"command":' + StringToJSON_(this.command);
393 json += ',"arguments":';
396 json += this.arguments.toJSONProtocol()
398 json += SimpleObjectToJSON_(this.arguments);
401 json += '}';
402 return json;
411 // Create a JSON request for the evaluation command.
439 // Create a JSON request for the references/instances command.
455 // Create a JSON request for the continue command.
462 // Create a JSON request for the step command.
522 // Create a JSON request for the backtrace command.
569 // Create a JSON request for the frame command.
582 // Create a JSON request for the scopes command.
590 // Create a JSON request for the scope command.
603 // Create a JSON request for the print command.
613 // Create a JSON request for the dir command.
623 // Create a JSON request for the references command.
634 // Create a JSON request for the instances command.
646 // Create a JSON request for the source command.
676 // Create a JSON request for the scripts command.
715 // Create a JSON request for the break command.
773 // Create a JSON request for the clear command.
790 // Create a JSON request for the threads command.
918 // Convert a JSON response to text for display in a text based debugger.
1090 Debug.ScriptCompilationType.JSON) {
1091 result += 'JSON ';
1147 * @param {string} json - raw protocol packet as JSON string.
1150 function ProtocolPackage(json) {
1151 this.packet_ = JSON.parse(json);
1470 * Convert a String to its JSON representation (see http://www.json.org/). To
1473 * @param {String} value The String value to format as JSON
1474 * @return {string} JSON formatted String value
1504 * @param {Date} value The Date value to format as JSON
1505 * @return {string} JSON formatted Date value
1528 * @param {Date} value The Date value to format as JSON
1529 * @return {string} JSON formatted Date value
1537 * Convert an Object to its JSON representation (see http://www.json.org/).
1539 * each property to the JSON representation for some predefined types. For type
1544 * @param {Object} object The object to format as JSON
1545 * @return {string} JSON formatted object value
1590 // Make JSON object representation.
1596 * Convert an array to its JSON representation. This is a VERY simple
1598 * @param {Array} arrya The array to format as JSON
1599 * @return {string} JSON formatted array value
1602 // Make JSON array representation.
1603 var json = '[';
1606 json += ',';
1610 json += elem.toJSONProtocol(true)
1612 json += SimpleObjectToJSON_(elem);
1614 json += BooleanToJSON_(elem);
1616 json += NumberToJSON_(elem);
1618 json += StringToJSON_(elem);
1620 json += elem;
1623 json += ']';
1624 return json;