toMap

open fun toMap(jsonObj: JSONObject): Map<String, Any>

Converts a JSONObject to a Map.