toList

open fun toList(array: JSONArray): List<Any>

Converts a JSONArray to a List.