MandatoryEnumSerializer

class MandatoryEnumSerializer<E : Enum<*>>(memberIdOf: (E) -> String, fromMemberId: (String?) -> E) : EnumSerializer, IPropertyValueSerializer<E>

Constructors

Link copied to clipboard
constructor(memberIdOf: (E) -> String, fromMemberId: (String?) -> E)

Functions

Link copied to clipboard
open override fun deserialize(serialized: String?): E
Link copied to clipboard
open override fun serialize(value: E): String