getJSONObject

open fun getJSONObject(): JSONObject

Returns JSONObject stored in attributes if getType of attributes is OBJECT, otherwise returns null.