pluck

open fun <T> pluck(jsonArray: JSONArray, key: String): List<T>

Given a JSONArray of JSONObject, return list made of values for key

Return

Parameters

jsonArray
key
<T>

Throws


open fun <T> pluck(jsonObjects: Array<JSONObject>, key: String): List<T>

Given an array of JSONObject, return list made of values for key

Return

Parameters

jsonObjects
key
<T>

Throws