getJsonObject

open fun getJsonObject(property: String, defaultValue: JSONObject): JSONObject

Reads an object property.

Return

a copy of the object property; changing it does not change the flag

Parameters

property

the property name

defaultValue

the value to return when the property is absent or is not an object