mapEntry

abstract fun mapEntry(key: String, mapDescriptor: SdkFieldDescriptor, block: MapSerializer.() -> Unit)

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

Parameters

key
mapDescriptor
block