Searched defs:json (Results 1 - 12 of 12) 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;
23 // Note: this class was written without inspecting the non-free org.json sourcecode.
98 * @param json a JSON-encoded string containing an array.
102 public JSONArray(String json) throws JSONException { argument
103 this(new JSONTokener(json));
H A DJSONObject.java17 package org.json;
24 // Note: this class was written without inspecting the non-free org.json sourcecode.
166 * @param json a JSON-encoded string containing an object.
170 public JSONObject(String json) throws JSONException { argument
171 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/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;
25 * 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;
32 * This black box test was written without inspecting the non-free org.json sourcecode.

Completed in 167 milliseconds