encodeSerializableElement

abstract fun <T> encodeSerializableElement(    descriptor: SerialDescriptor,     index: Int,     serializer: SerializationStrategy<T>,     value: T)

Delegates value encoding of the type T to the given serializer. value is associated with an element at the given index in serial descriptor.