BrazeProperties



fun BrazeProperties(jsonObject: JSONObject)

Creates an BrazeProperties object using JSON. Invalid keys and invalid string values are removed from the constructed object. JSONObject.NULL values are also removed if present.

The intended use of this constructor is to be able to reconstruct an BrazeProperties object from its corresponding forJsonPut form.

Parameters

jsonObject

object to create the BrazeProperties from


fun BrazeProperties(map: Map<String, *>)

Creates an BrazeProperties object using Map. Invalid keys are removed from the constructed object.

Parameters

map

to create the BrazeProperties from