Home
last modified time | relevance | path

Searched refs:JSON (Results 1 – 5 of 5) sorted by relevance

/libcore/json/src/main/java/org/json/
DJSONArray.java98 throw JSON.typeMismatch(object, "JSONArray"); in JSONArray()
152 values.add(JSON.checkDouble(value)); in put()
196 JSON.checkDouble(((Number) value).doubleValue()); in checkedPut()
262 JSON.checkDouble(((Number) value).doubleValue()); in put()
330 Boolean result = JSON.toBoolean(object); in getBoolean()
332 throw JSON.typeMismatch(index, object, "boolean"); in getBoolean()
351 Boolean result = JSON.toBoolean(object); in optBoolean()
364 Double result = JSON.toDouble(object); in getDouble()
366 throw JSON.typeMismatch(index, object, "double"); in getDouble()
385 Double result = JSON.toDouble(object); in optDouble()
[all …]
DJSONObject.java169 throw JSON.typeMismatch(object, "JSONObject"); in JSONObject()
227 nameValuePairs.put(checkName(name), JSON.checkDouble(value)); in put()
271 JSON.checkDouble(((Number) value).doubleValue()); in put()
422 Boolean result = JSON.toBoolean(object); in getBoolean()
424 throw JSON.typeMismatch(name, object, "boolean"); in getBoolean()
443 Boolean result = JSON.toBoolean(object); in optBoolean()
456 Double result = JSON.toDouble(object); in getDouble()
458 throw JSON.typeMismatch(name, object, "double"); in getDouble()
477 Double result = JSON.toDouble(object); in optDouble()
490 Integer result = JSON.toInteger(object); in getInt()
[all …]
DJSON.java19 class JSON { class
/libcore/tools/docs/crypto/
DREADME3 The central file is data/crypto_support.json, which is a JSON file that contains
/libcore/
Dnon_openjdk_java_files.bp67 "json/src/main/java/org/json/JSON.java",