HomeSort by relevance Sort by last modified time
    Searched full:json (Results 26 - 50 of 134) sorted by null

12 3 4 5 6

  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
User.java 21 import org.json.JSONObject;
89 * Creates and returns an instance of the user from the provided JSON data.
92 * @return user The new instance of Voiper user created from the JSON data.
110 Log.i("User", "Error parsing JSON user object" + ex.toString());
144 Log.i("User.Status", "Error parsing JSON user object");
  /external/v8/test/mjsunit/
mirror-date.js 32 // Create mirror and JSON representation.
35 var json = JSON.stringify(serializer.serializeValue(mirror));
51 // Parse JSON representation and check.
52 var fromJSON = eval('(' + json + ')');
mirror-string.js 34 // Create mirror and JSON representation.
37 var json = JSON.stringify(serializer.serializeValue(mirror));
57 // Parse JSON representation and check.
58 var fromJSON = eval('(' + json + ')');
debug-mirror-cache.js 61 var json;
62 json = '{"seq":0,"type":"request","command":"backtrace"}'
63 dcp.processDebugJSONRequest(json);
debug-evaluate-bool-constructor.js 50 request = JSON.stringify(request);
53 var response = JSON.parse(resp);
  /external/v8/test/mjsunit/regress/
regress-1081309.js 37 function ParsedResponse(json) {
38 this.response_ = eval('(' + json + ')');
75 var json;
76 json = '{"seq":0,"type":"request","command":"backtrace"}'
77 var response = new ParsedResponse(dcp.processDebugJSONRequest(json));
  /external/webkit/WebKit/chromium/src/js/
InjectDispatch.js 42 * @param {string} json_args JSON-serialized call parameters.
43 * @return {string} JSON-serialized result of the dispatched call.
47 var params = JSON.parse(json_args);
68 DevToolsAgentHost.dispatchToApu(JSON.stringify(args));
104 var call = JSON.stringify(args);
  /dalvik/libcore/json/src/main/java/org/json/
JSONArray.java 17 package org.json;
23 // Note: this class was written without inspecting the non-free org.json sourcecode.
91 throw JSON.typeMismatch(object, "JSONArray");
96 * Creates a new {@code JSONArray} with values from the JSON string.
98 * @param json a JSON-encoded string containing an array.
102 public JSONArray(String json) throws JSONException {
103 this(new JSONTokener(json));
131 values.add(JSON.checkDouble(value));
230 JSON.checkDouble(((Number) value).doubleValue())
    [all...]
JSON.java 17 package org.json;
19 class JSON {
21 * Returns the input if it is a JSON-permissable value; throws otherwise.
JSONStringer.java 17 package org.json;
23 // Note: this class was written without inspecting the non-free org.json sourcecode.
30 * String json = object.toString();</pre>
32 * <p>Stringers only encode well-formed JSON strings. In particular:
43 * Calls that would result in a malformed JSON string will fail with a
105 * JSONObject.quote() only. Not used for JSON encoding.
420 * Returns the encoded JSON string.
JSONTokener.java 17 package org.json;
19 // Note: this class was written without inspecting the non-free org.json sourcecode.
22 * Parses a JSON (<a href="http://www.ietf.org/rfc/rfc4627.txt">RFC 4627</a>)
26 * String json = "{"
31 * JSONObject object = (JSONObject) new JSONTokener(json).nextValue();
35 * <p>For best interoperability and performance use JSON that complies with
38 * input string was valid JSON. All of the following syntax errors will be
55 * <p>Each tokener may be used to parse a single JSON string. Instances of this
64 /** The input JSON. */
74 * @param in JSON encoded string. Null is not permitted and will yield
    [all...]
  /external/v8/tools/visual_studio/
js2c.cmd 6 %PYTHON% ..\js2c.py %TARGET_DIR%\natives.cc %TARGET_DIR%\natives-empty.cc CORE %SOURCE_DIR%\macros.py %SOURCE_DIR%\runtime.js %SOURCE_DIR%\v8natives.js %SOURCE_DIR%\array.js %SOURCE_DIR%\string.js %SOURCE_DIR%\uri.js %SOURCE_DIR%\math.js %SOURCE_DIR%\messages.js %SOURCE_DIR%\apinatives.js %SOURCE_DIR%\debug-delay.js %SOURCE_DIR%\mirror-delay.js %SOURCE_DIR%\date-delay.js %SOURCE_DIR%\regexp-delay.js %SOURCE_DIR%\json-delay.js
  /external/webkit/WebKitTools/simplejson/
decoder.py 198 Simple JSON <http://json.org> decoder
203 | JSON | Python |
223 their corresponding ``float`` values, which is outside the JSON spec.
239 of every JSON object decoded and its return value will be used in
241 deserializations (e.g. to support JSON-RPC class hinting).
249 instance containing a JSON document)
259 Decode a JSON document from ``s`` (a ``str`` or ``unicode`` beginning
260 with a JSON document) and return a 2-tuple of the Python
263 This can be used to decode a JSON document from a string that ma
    [all...]
encoder.py 43 raise ValueError("Out of range float values are not JSON compliant: %r"
51 Return a JSON representation of a Python string
82 Extensible JSON <http://json.org> encoder for Python data structures.
87 | Python | JSON |
132 encoded as such. This behavior is not JSON specification compliant,
138 that JSON serializations can be compared on a day-to-day basis.
140 If indent is a non-negative integer, then JSON array
146 tuple. The default is (', ', ': '). To get the most compact JSON
150 transformed into unicode using that encoding prior to JSON-encoding.
    [all...]
  /external/v8/src/
d8-debug.cc 51 // Get the toJSONProtocol function on the event and get the JSON format.
98 // Convert the debugger command to a JSON debugger request.
107 // no JSON to send.
118 // Invoke the JavaScript to convert the debug command line to a JSON
119 // request, invoke the JSON request and convert the JSON respose to a text
287 // Convert the debugger command to a JSON debugger request.
297 // no JSON to send.
302 // Send the JSON debugger request.
  /development/samples/SampleSyncAdapter/samplesyncadapter_server/
main.py 62 it returns user's friend info in JSON format.It uses helper
103 it returns status info in JSON format.
128 """Dumps the data represented by the object to JSON for wire transfer."""
133 """Dumps the data represented by the object to JSON for wire transfer."""
139 This class knows how to serialize itself to JSON.
  /external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/layout_package/
json_layout_results_generator.py 40 """A JSON results generator for layout tests."""
44 # Additional JSON fields.
51 """Modifies the results.json file. Grabs it off the archive directory
71 # We want relative paths to LayoutTest root for JSON output.
162 """Creates a summary object to insert into the JSON.
  /dalvik/libcore/json/src/test/java/org/json/
ParsingTest.java 17 package org.json;
229 private void assertParsed(String message, Object expected, String json) throws JSONException {
230 Object actual = new JSONTokener(json).nextValue();
233 assertEquals("For input \"" + json + "\" " + message, expected, actual);
236 private void assertParsed(Object expected, String json) throws JSONException {
237 assertParsed("", expected, json);
AllTests.java 17 package org.json;
  /development/samples/Wiktionary/src/com/example/android/wiktionary/
SimpleWikiHelper.java 25 import org.json.JSONArray;
26 import org.json.JSONException;
27 import org.json.JSONObject;
56 "rvprop=content&format=json%s";
147 // Drill into the JSON response to find the content body
  /development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
SimpleWikiHelper.java 25 import org.json.JSONArray;
26 import org.json.JSONException;
27 import org.json.JSONObject;
63 "rvprop=content&format=json%s";
154 // Drill into the JSON response to find the content body
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
GoogleSuggestionProvider.java 26 import org.json.JSONArray;
27 import org.json.JSONException;
151 + "json=true&q=";
160 /* Goto http://www.google.com/complete/search?json=true&q=foo
161 * to see what the data format looks like. It's basically a json
  /external/webkit/SunSpider/resources/
results-TEMPLATE.html 58 var outputJSON = JSON.parse(decodeURI(location.search.substring(1)));
94 var output1JSON = JSON.parse(decodeURI(other.split("?")[1]));
  /external/webkit/WebCore/inspector/front-end/
Settings.js 57 this._store = JSON.parse(settingsString);
92 InspectorBackend.saveFrontendSettings(JSON.stringify(this._store));
  /external/webkit/WebKit/chromium/src/
APUAgentDelegate.h 39 /* Sends a json object to apu. */ \

Completed in 321 milliseconds

12 3 4 5 6