toJson

abstract fun toJson(additionalMetadata: JsonObject = Json.EMPTY, overrideId: String? = null): JsonObject

Converts display data to JSON object for display_data response

Return

Display JSON

Parameters

additionalMetadata

Additional reply metadata


open fun toJson(additionalMetadata: JsonObject = Json.EMPTY): JsonObject

Deprecated

Use full version instead

Replace with

toJson(additionalMetadata, null)