(common, js, jvm, native) openfun 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.