: JSONObject = objArray.getJSONObject(i)
if (tmpObject.containsKey("theKey")) {
val theValue: String = tmpObject.getString("theKey")
}