iterator

inline operator fun <T> JSONArray?.iterator(): Iterator<T>

Return

An Iterator on the JSONArray that only returns elements of the provided type and skips non-matching types.


inline operator fun <T> JSONObject.iterator(): Iterator<T>

Return

An Iterator on the JSONObject that only returns elements of the provided type and skips non-matching types.