Searched refs:toJSONObject (Results 1 – 3 of 3) sorted by relevance
60 assertNull(array.toJSONObject(new JSONArray())); in testEmptyArray()338 JSONObject object = values.toJSONObject(keys); in testToJSONObject()357 JSONObject object = values.toJSONObject(keys); in testToJSONObjectWithNulls()369 JSONObject object = values.toJSONObject(keys); in testToJSONObjectMoreNamesThanValues()380 JSONObject object = values.toJSONObject(keys); in testToJSONObjectMoreValuesThanNames()390 JSONObject object = values.toJSONObject(keys); in testToJSONObjectNullKey()
218 values.toJSONObject(array); in testToJSONObject()
547 public JSONObject toJSONObject(JSONArray names) throws JSONException { in toJSONObject() method in JSONArray