Allow use of @JsonValue
on Creator methods as alias to @JsonCreator(mode=DELEGATING)
#3155
Labels
duplicate
Duplicate of an existing (usually earlier) issue
It seems useful (if redundant) to allow use of
@JsonValue
as a sort of alias for existing@JsonCreator
(withmode = DELEGATING
). Doing this makes sense for the common case of@JsonValue
already being used to indicate serialization, like:While this may be a minor thing for Java usage, this could be particularly helpful for Kotlin module.
The text was updated successfully, but these errors were encountered: