Searched defs:json (Results 1 - 14 of 14) sorted by relevance

/libcore/json/src/main/java/org/json/
H A DJSONException.java17 package org.json;
19 // Note: this class was written without inspecting the non-free org.json sourcecode.
H A DJSON.java17 package org.json;
H A DJSONArray.java17 package org.json;
25 // Note: this class was written without inspecting the non-free org.json sourcecode.
103 * @param json a JSON-encoded string containing an array.
107 public JSONArray(String json) throws JSONException { argument
108 this(new JSONTokener(json));
H A DJSONObject.java17 package org.json;
27 // Note: this class was written without inspecting the non-free org.json sourcecode.
171 * @param json a JSON-encoded string containing an object.
175 public JSONObject(String json) throws JSONException { argument
176 this(new JSONTokener(json));
H A DJSONStringer.java17 package org.json;
23 // Note: this class was written without inspecting the non-free org.json sourcecode.
30 * String json = object.toString();</pre>
H A DJSONTokener.java17 package org.json;
19 // Note: this class was written without inspecting the non-free org.json sourcecode.
26 * String json = "{"
31 * JSONObject object = (JSONObject) new JSONTokener(json).nextValue();
/libcore/tools/docs/crypto/
H A Dcrypto_docs.py17 import json namespace
29 data = json.loads(stripped_contents)
H A Dupdate_crypto_support.py28 import json namespace
270 json.dump(
274 print json.dumps(
/libcore/json/src/test/java/org/json/
H A DParsingTest.java17 package org.json;
232 private void assertParsed(String message, Object expected, String json) throws JSONException { argument
233 Object actual = new JSONTokener(json).nextValue();
236 assertEquals("For input \"" + json + "\" " + message, expected, actual);
239 private void assertParsed(Object expected, String json) throws JSONException { argument
240 assertParsed("", expected, json);
H A DJSONStringerTest.java17 package org.json;
22 * This black box test was written without inspecting the non-free org.json sourcecode.
H A DSelfUseTest.java17 package org.json;
26 * <p>This black box test was written without inspecting the non-free org.json
H A DJSONArrayTest.java17 package org.json;
26 * This black box test was written without inspecting the non-free org.json sourcecode.
H A DJSONTokenerTest.java17 package org.json;
23 * This black box test was written without inspecting the non-free org.json sourcecode.
H A DJSONObjectTest.java17 package org.json;
36 * This black box test was written without inspecting the non-free org.json sourcecode.

Completed in 1760 milliseconds