beginMap

abstract fun beginMap(descriptor: SdkFieldDescriptor): MapSerializer

Begin a map (i.e. in JSON this would be a '{') and return a MapSerializer that can be used to serialize the map's entries.

Parameters

descriptor

SdkFieldDescriptor of container for formats that require them.