Value

@SerialInfo
@Target(allowedTargets = [AnnotationTarget.FIELD])
annotation class Value(val value: Int)

Annotation for enum constants to serialize/deserialize that constant as the specified value instead of its ordinal value.

Properties

Link copied to clipboard
val value: Int