addMapToJSONObject

open fun addMapToJSONObject(map: Map<String, String>, keys: List<String>, jsonObject: JSONObject): JSONObject

Adds a JSONObject of key-value pairs extracted from a map.

Return

JSONObject with the additions.

Parameters

map

Map.

keys

Keys.

jsonObject

JSONObject to be added to.