SerializableEnumFromWire

data class SerializableEnumFromWire(val enumFqn: String, val entries: List<Pair<String, String>>) : MappingStrategy

Wire String → enum via kotlinx.serialization @Serializable/@SerialName (the MappableEnum-free path). entries is the resolved entrySimpleName → wireValue list (wireValue = @SerialName argument, else the entry name); the generator emits a compile-time when over these — no runtime serializer. Wire type is always String.

Constructors

Link copied to clipboard
constructor(enumFqn: String, entries: List<Pair<String, String>>)

Properties

Link copied to clipboard
Link copied to clipboard