Skip to content

How do I deserialize number to enum? #4291

Closed Answered by cowtowncoder
yvasyliev asked this question in Q&A
Discussion options

You must be logged in to vote

Ok, no, looks like deserialization from integer numbers is only supported wrt @JsonValue or @JsonCreator annotations.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@pjfanning
Comment options

@yvasyliev
Comment options

@cowtowncoder
Comment options

@cowtowncoder
Comment options

Answer selected by yvasyliev
@yvasyliev
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants