Lines Matching defs:JSON
103 JSON: 2 };
124 var trace_debug_json = false; // Tracing all debug json packets?
141 // Process a debugger JSON message into a display text and a running status.
148 // Convert the JSON string to an object.
292 // Converts a text command to a JSON request.
303 // If the very first character is a { assume that a JSON request have been
304 // entered as a command. Converting that to a JSON request is trivial.
498 // Return undefined to indicate command handled internally (no JSON).
506 // Return undefined to indicate command handled internally (no JSON).
536 var json = '{';
537 json += '"seq":' + this.seq;
538 json += ',"type":"' + this.type + '"';
540 json += ',"command":' + StringToJSON_(this.command);
543 json += ',"arguments":';
546 json += this.arguments.toJSONProtocol();
548 json += SimpleObjectToJSON_(this.arguments);
551 json += '}';
552 return json;
591 // Create a JSON request for the evaluation command.
632 // Create a JSON request for the references/instances command.
648 // Create a JSON request for the continue command.
655 // Create a JSON request for the step command.
729 // Create a JSON request for the backtrace command.
776 // Create a JSON request for the frame command.
789 // Create a JSON request for the scopes command.
797 // Create a JSON request for the scope command.
810 // Create a JSON request for the print command.
820 // Create a JSON request for the dir command.
830 // Create a JSON request for the references command.
841 // Create a JSON request for the instances command.
853 // Create a JSON request for the list command.
888 // Create a JSON request for the source command.
918 // Create a JSON request for the scripts command.
960 // Create a JSON request for the break command.
1034 // Create a JSON request for the clear command.
1051 // Create a JSON request for the change breakpoint command.
1150 // Create a JSON request for the disconnect command.
1158 // Create a JSON request for the info command.
1483 // Create a JSON request for the threads command.
1498 } else if (args === 'debug json' || args === 'json' || args === 'packets') {
1500 print('Tracing of debug json packets ' +
1613 // hidden command: trace debug json - toggles tracing of debug json packets
1950 // Convert a JSON response to text for display in a text based debugger.
2217 Debug.ScriptCompilationType.JSON) {
2218 result += 'JSON ';
2322 * @param {string} json - raw protocol packet as JSON string.
2325 function ProtocolPackage(json) {
2326 this.raw_json_ = json;
2327 this.packet_ = JSON.parse(json);
2656 * Convert a String to its JSON representation (see http://www.json.org/). To
2659 * @param {String} value The String value to format as JSON
2660 * @return {string} JSON formatted String value
2690 * @param {Date} value The Date value to format as JSON
2691 * @return {string} JSON formatted Date value
2714 * @param {Date} value The Date value to format as JSON
2715 * @return {string} JSON formatted Date value
2723 * Convert an Object to its JSON representation (see http://www.json.org/).
2725 * each property to the JSON representation for some predefined types. For type
2730 * @param {Object} object The object to format as JSON
2731 * @return {string} JSON formatted object value
2778 // Make JSON object representation.
2784 * Convert an array to its JSON representation. This is a VERY simple
2786 * @param {Array} arrya The array to format as JSON
2787 * @return {string} JSON formatted array value
2790 // Make JSON array representation.
2791 var json = '[';
2794 json += ',';
2798 json += elem.toJSONProtocol(true);
2800 json += SimpleObjectToJSON_(elem);
2802 json += BooleanToJSON_(elem);
2804 json += NumberToJSON_(elem);
2806 json += StringToJSON_(elem);
2808 json += elem;
2811 json += ']';
2812 return json;