Searched refs:json (Results 1 - 18 of 18) sorted by last modified time

/libcore/tools/docs/crypto/
H A Dcrypto_docs.py17 import json namespace
29 data = json.loads(stripped_contents)
H A Drun_update_crypto_support.sh6 if [ ! -f libcore/tools/docs/crypto/src/java/libcore/java/security/ListProviders.java -o ! -f libcore/tools/docs/crypto/data/crypto_support.json ]; then
17 vogar --mode=activity --toolchain=jdk --multidex=false libcore/tools/docs/crypto/src/java/libcore/java/security/ListProviders.java | libcore/tools/docs/crypto/update_crypto_support.py --api_level=$1 --rewrite_file libcore/tools/docs/crypto/data/crypto_support.json
H A Dupdate_crypto_support.py28 import json namespace
270 json.dump(
274 print json.dumps(
/libcore/
H A DJavaLibrary.mk56 test_src_files := $(call all-test-java-files-under,dalvik dalvik/test-rules dom harmony-tests json luni xml)
H A Dnon_openjdk_java_files.mk155 json/src/main/java/org/json/JSON.java \
156 json/src/main/java/org/json/JSONArray.java \
157 json/src/main/java/org/json/JSONException.java \
158 json/src/main/java/org/json/JSONObject.java \
159 json/src/main/java/org/json/JSONStringe
[all...]
/libcore/benchmarks/src/benchmarks/regression/
H A DParseBenchmark.java29 import org.json.JSONArray;
30 import org.json.JSONObject;
54 ANDROID_STREAM("json") {
59 ORG_JSON("json") {
/libcore/json/src/main/java/org/json/
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 DJSONException.java17 package org.json;
19 // Note: this class was written without inspecting the non-free org.json sourcecode.
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/json/src/test/java/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 DJSONObjectTest.java17 package org.json;
36 * This black box test was written without inspecting the non-free org.json sourcecode.
H A DJSONStringerTest.java17 package org.json;
22 * 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 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 DSelfUseTest.java17 package org.json;
26 * <p>This black box test was written without inspecting the non-free org.json

Completed in 540 milliseconds