endStructure

open override fun endStructure(descriptor: SerialDescriptor)(source)

Denotes the end of the structure associated with current encoder. For example, composite encoder of JSON format will write a closing bracket in the underlying input and reduce the number of nesting for pretty printing.