SelfDescribingJson

Returns a SelfDescribingJson object which will contain both the Schema and Data.

Constructors

Link copied to clipboard

Builds a SelfDescribingJson object

Link copied to clipboard

Builds a SelfDescribingJson object

Link copied to clipboard
fun SelfDescribingJson(schema: String, data: Any = HashMap<Any, Any>())

Builds a SelfDescribingJson object

Link copied to clipboard

Builds a SelfDescribingJson object

Functions

Link copied to clipboard
fun setData(selfDescribingJson: SelfDescribingJson?): SelfDescribingJson

Allows us to add data from one SelfDescribingJson into another without copying over the Schema.

Adds data to the SelfDescribingJson

Link copied to clipboard

Sets the Schema for the SelfDescribingJson

Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
Link copied to clipboard
val map: Map<String, Any?>

Inheritors

Link copied to clipboard
Link copied to clipboard