Home | History | Annotate | Download | only in src

Lines Matching defs:JSON

103                                 JSON: 2 };
124 var trace_debug_json = false; // Tracing all debug json packets?
137 // Process a debugger JSON message into a display text and a running status.
144 // Convert the JSON string to an object.
288 // Converts a text command to a JSON request.
299 // If the very first character is a { assume that a JSON request have been
300 // entered as a command. Converting that to a JSON request is trivial.
494 // Return undefined to indicate command handled internally (no JSON).
502 // Return undefined to indicate command handled internally (no JSON).
525 var json = '{';
526 json += '"seq":' + this.seq;
527 json += ',"type":"' + this.type + '"';
529 json += ',"command":' + StringToJSON_(this.command);
532 json += ',"arguments":';
535 json += this.arguments.toJSONProtocol();
537 json += SimpleObjectToJSON_(this.arguments);
540 json += '}';
541 return json;
550 // Create a JSON request for the evaluation command.
578 // Create a JSON request for the references/instances command.
594 // Create a JSON request for the continue command.
601 // Create a JSON request for the step command.
675 // Create a JSON request for the backtrace command.
722 // Create a JSON request for the frame command.
735 // Create a JSON request for the scopes command.
743 // Create a JSON request for the scope command.
756 // Create a JSON request for the print command.
766 // Create a JSON request for the dir command.
776 // Create a JSON request for the references command.
787 // Create a JSON request for the instances command.
799 // Create a JSON request for the list command.
834 // Create a JSON request for the source command.
864 // Create a JSON request for the scripts command.
906 // Create a JSON request for the break command.
980 // Create a JSON request for the clear command.
997 // Create a JSON request for the change breakpoint command.
1096 // Create a JSON request for the disconnect command.
1104 // Create a JSON request for the info command.
1169 // Create a JSON request for the threads command.
1184 } else if (args === 'debug json' || args === 'json' || args === 'packets') {
1186 print('Tracing of debug json packets ' +
1255 // hidden command: trace debug json - toggles tracing of debug json packets
1361 // Convert a JSON response to text for display in a text based debugger.
1628 Debug.ScriptCompilationType.JSON) {
1629 result += 'JSON ';
1705 * @param {string} json - raw protocol packet as JSON string.
1708 function ProtocolPackage(json) {
1709 this.raw_json_ = json;
1710 this.packet_ = JSON.parse(json);
2039 * Convert a String to its JSON representation (see http://www.json.org/). To
2042 * @param {String} value The String value to format as JSON
2043 * @return {string} JSON formatted String value
2073 * @param {Date} value The Date value to format as JSON
2074 * @return {string} JSON formatted Date value
2097 * @param {Date} value The Date value to format as JSON
2098 * @return {string} JSON formatted Date value
2106 * Convert an Object to its JSON representation (see http://www.json.org/).
2108 * each property to the JSON representation for some predefined types. For type
2113 * @param {Object} object The object to format as JSON
2114 * @return {string} JSON formatted object value
2161 // Make JSON object representation.
2167 * Convert an array to its JSON representation. This is a VERY simple
2169 * @param {Array} arrya The array to format as JSON
2170 * @return {string} JSON formatted array value
2173 // Make JSON array representation.
2174 var json = '[';
2177 json += ',';
2181 json += elem.toJSONProtocol(true);
2183 json += SimpleObjectToJSON_(elem);
2185 json += BooleanToJSON_(elem);
2187 json += NumberToJSON_(elem);
2189 json += StringToJSON_(elem);
2191 json += elem;
2194 json += ']';
2195 return json;
2199 // A more universal stringify that supports more types than JSON.