Searched refs:toJSONArray (Results 1 – 3 of 3) sorted by relevance
53 assertNull(object.toJSONArray(new JSONArray())); in testEmptyObject()544 JSONArray array = object.toJSONArray(names); in testToJSONArray()565 JSONArray array = object.toJSONArray(names); in testToJSONArrayMissingNames()580 assertEquals(null, object.toJSONArray(null)); in testToJSONArrayNull()583 object.toJSONArray(null); in testToJSONArrayNull()593 assertEquals(1, object.toJSONArray(array).length()); in testToJSONArrayEndsUpEmpty()608 JSONArray array = object.toJSONArray(names); in testToJSONArrayNonString()
169 object.toJSONArray(array); in testToJSONArray()
642 @Nullable public JSONArray toJSONArray(@Nullable JSONArray names) throws JSONException { in toJSONArray() method in JSONObject