structField

abstract fun structField(descriptor: SdkFieldDescriptor, block: StructSerializer.() -> Unit)

Writes the field name given in the descriptor, and then serializes the struct field using the given block.

Parameters

descriptor
block