Emil Kantis
11/03/2022, 11:02 PMPrimitiveSerialDescriptor
. The docs state:
For primitive serialization, the PrimitiveSerialDescriptor function must be used with a unique name of the type that is being serialized.But this KDoc example sets the name to
kotlinx.serialization.LongAsStringSerializer
, which is the name of the serializer, not the type being serialized. Which one is correct?