encodeStringElement

abstract fun encodeStringElement(    descriptor: SerialDescriptor,     index: Int,     value: String)

Encodes a string value associated with an element at the given index in serial descriptor. The element at the given index should have PrimitiveKind.STRING kind.