decodeStringElement

open override fun decodeStringElement(descriptor: SerialDescriptor, index: Int): String

This may be called by the Serializer to find out what the subtype is.