kotlinx-serialization / kotlinx.serialization.builtins / AbstractDecoder / decodeStringElement

decodeStringElement

(common, js, jvm, native) fun decodeStringElement(descriptor: SerialDescriptor, index: Int): String

Decodes a string value from the underlying input. The resulting value is associated with the descriptor element at the given index. The element at the given index should have PrimitiveKind.STRING kind.