map

fun <T> JSONArray.map(transform: (value: Any) -> T): List<T>

Utility function to allow map iterating on a JSONArray