This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import kotlinx.serialization.ExperimentalSerializationApi | |
import kotlinx.serialization.InternalSerializationApi | |
import kotlinx.serialization.descriptors.SerialDescriptor | |
import kotlinx.serialization.descriptors.StructureKind | |
import kotlinx.serialization.encoding.CompositeDecoder | |
import kotlinx.serialization.internal.NamedValueDecoder | |
@ExperimentalSerializationApi | |
@InternalSerializationApi | |
class ConvertEngine(private val map: Map<String, String>, descriptor: SerialDescriptor) : NamedValueDecoder() { |