kotlinx-serialization / kotlinx.serialization.builtins / AbstractEncoder / encodeStringElement

encodeStringElement

(common, js, jvm, native) fun encodeStringElement(descriptor: SerialDescriptor, index: Int, value: String): Unit

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.