What is the best way to annotate getter in this ca...
# getting-started
w
What is the best way to annotate getter in this case?
enum class JobState constructor(val value: Int) { ... }
. My goal is to port Java's Jackson enum marshalling approach like this
@JsonValue public Integer getValue() { return value; }
.