Home
last modified time | relevance | path

Searched refs:json (Results 1 – 24 of 24) sorted by relevance

/libcore/json/src/test/java/libcore/org/json/
DParsingTest.java17 package libcore.org.json;
27 import org.json.JSONArray;
28 import org.json.JSONException;
29 import org.json.JSONObject;
30 import org.json.JSONTokener;
237 private void assertParsed(String message, Object expected, String json) throws JSONException { in assertParsed() argument
238 Object actual = new JSONTokener(json).nextValue(); in assertParsed()
241 assertEquals("For input \"" + json + "\" " + message, expected, actual); in assertParsed()
244 private void assertParsed(Object expected, String json) throws JSONException { in assertParsed() argument
245 assertParsed("", expected, json); in assertParsed()
DSelfUseTest.java17 package libcore.org.json;
21 import org.json.JSONArray;
22 import org.json.JSONException;
23 import org.json.JSONObject;
24 import org.json.JSONTokener;
DJSONStringerTest.java17 package libcore.org.json;
21 import org.json.JSONArray;
22 import org.json.JSONException;
23 import org.json.JSONObject;
24 import org.json.JSONStringer;
DJSONArrayTest.java17 package libcore.org.json;
25 import org.json.JSONArray;
26 import org.json.JSONException;
27 import org.json.JSONObject;
28 import org.json.JSONTokener;
DJSONTokenerTest.java17 package libcore.org.json;
22 import org.json.JSONArray;
23 import org.json.JSONException;
24 import org.json.JSONTokener;
DJSONObjectTest.java17 package libcore.org.json;
35 import org.json.JSONArray;
36 import org.json.JSONException;
37 import org.json.JSONObject;
38 import org.json.JSONTokener;
/libcore/
DPREUPLOAD.cfg4 # * json/src/main/java
6 …e-luni-json-xml = java -jar ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.jar -c tools/checkstyle/c…
Dnullability_annotated_classes.txt6 org.json.JSONObject
Dnon_openjdk_java_files.bp67 "json/src/main/java/org/json/JSON.java",
68 "json/src/main/java/org/json/JSONArray.java",
69 "json/src/main/java/org/json/JSONException.java",
70 "json/src/main/java/org/json/JSONObject.java",
71 "json/src/main/java/org/json/JSONStringer.java",
72 "json/src/main/java/org/json/JSONTokener.java",
74 path: "json/src/main",
DJavaLibrary.bp25 // e.g. dalvik, dom, harmony-tests, json, jsr166-tests, luni, libart, ojluni,
535 "json/src/test/java/**/*.java",
/libcore/tools/docs/crypto/
Dcrypto_docs.py17 import json
29 data = json.loads(stripped_contents)
Drun_update_crypto_support.sh6 …java/security/ListProviders.java -o ! -f libcore/tools/docs/crypto/data/crypto_support.json ]; then
17 …_crypto_support.py --api_level=$1 --rewrite_file libcore/tools/docs/crypto/data/crypto_support.json
Dupdate_crypto_support.py28 import json
272 json.dump(
276 print json.dumps(
DREADME3 The central file is data/crypto_support.json, which is a JSON file that contains
/libcore/json/src/main/java/org/json/
DTEST_MAPPING7 "include-filter": "libcore.org.json"
DJSONException.java17 package org.json;
DJSONArray.java17 package org.json;
109 public JSONArray(String json) throws JSONException { in JSONArray() argument
110 this(new JSONTokener(json)); in JSONArray()
DJSON.java17 package org.json;
DJSONObject.java17 package org.json;
181 public JSONObject(@NonNull String json) throws JSONException { in JSONObject() argument
182 this(new JSONTokener(json)); in JSONObject()
DJSONStringer.java17 package org.json;
DJSONTokener.java17 package org.json;
/libcore/luni/src/module/java/
Dmodule-info.java124 exports org.json;
/libcore/expectations/
Dknownfailures.txt1649 description: "a low-impact bug, also present in Crockford's implementation of org.json",
1651 name: "libcore.org.json.ParsingTest#test64BitHexValues",
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent-api.txt1180 package org.json {