toList

open fun <T> toList(): List<T>

Method to get a list from the jsonArraySource No-any params required

Return

list value as List of T


open fun <T> toList(jsonArray: JSONArray): List<T>

Method to get a list from a JSONArray

Return

list value as List of T

Parameters

jsonArray

: the JSONArray source from fetch the list