Thread
#serialization
    a

    Ayfri

    7 months ago
    Hi, is there a way to modify how an enum value will serialize ? I have this enum :
    @Serializable
    enum class Environment {
    	BOTH,
    	CLIENT,
    	SERVER;
    }
    And I want the
    BOTH
    value to be serialized to
    *
    e

    ephemient

    7 months ago
    @SerialName("*") BOTH,
    a

    Ayfri

    7 months ago
    Oh thanks ^^