Home
last modified time | relevance | path

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

12

/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.bp66 "json/src/main/java/org/json/JSON.java",
67 "json/src/main/java/org/json/JSONArray.java",
68 "json/src/main/java/org/json/JSONException.java",
69 "json/src/main/java/org/json/JSONObject.java",
70 "json/src/main/java/org/json/JSONStringer.java",
71 "json/src/main/java/org/json/JSONTokener.java",
73 path: "json/src/main",
DJavaLibrary.bp25 // e.g. dalvik, dom, harmony-tests, json, jsr166-tests, luni, libart, ojluni,
578 "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;
184 public JSONObject(@NonNull String json) throws JSONException { in JSONObject() argument
185 this(new JSONTokener(json)); in JSONObject()
DJSONStringer.java17 package org.json;
DJSONTokener.java17 package org.json;
/libcore/luni/src/module/java/
Dmodule-info.java123 exports org.json;
/libcore/api/
Dcurrent.txt19240 package org.json {
19245 ctor public JSONArray(org.json.JSONTokener) throws org.json.JSONException;
19246 ctor public JSONArray(String) throws org.json.JSONException;
19247 ctor public JSONArray(Object) throws org.json.JSONException;
19248 method public Object get(int) throws org.json.JSONException;
19249 method public boolean getBoolean(int) throws org.json.JSONException;
19250 method public double getDouble(int) throws org.json.JSONException;
19251 method public int getInt(int) throws org.json.JSONException;
19252 method public org.json.JSONArray getJSONArray(int) throws org.json.JSONException;
19253 method public org.json.JSONObject getJSONObject(int) throws org.json.JSONException;
[all …]
/libcore/expectations/
Dknownfailures.txt1644 description: "a low-impact bug, also present in Crockford's implementation of org.json",
1646 name: "libcore.org.json.ParsingTest#test64BitHexValues",
/libcore/mmodules/core_platform_api/api/legacy_platform/
Dcurrent.txt770 package org.json {

12