@JsonSetter (nulls = Nulls.AS_EMPTY) #3821
Unanswered
double-Nian
asked this question in
Q&A
Replies: 1 comment 2 replies
-
What exactly are you doing? What is the input, what kind of type is You are missing a lot of relevant information here to try to help. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@JsonSetter (nulls = Nulls.AS_EMPTY)
becomes ""
How to assign an enumeration
now protocol is null
I want to make "" become an enumeration
@JsonSetter(nulls = Nulls.AS_EMPTY)
private Constants.PROTO_TYPE protocol;
Beta Was this translation helpful? Give feedback.
All reactions