kotlinx-serialization / kotlinx.serialization.builtins / AbstractDecoder / endStructure

endStructure

(common, js, jvm, native) open fun endStructure(descriptor: SerialDescriptor): Unit

Denotes the end of the structure associated with current decoder. For example, composite decoder of JSON format will expect (and parse) a closing bracket in the underlying input.