structure

fun <T> TextContentBuilderBase<*>.structure(structure: StructuredData<T, *>, value: T)(source)

Adds a structured representation of the given value to the TextContentBuilderBase.

Parameters

structure

The structure definition

value

The value to be serialized and added to the builder.