Document that @JsonAlias can be used on enum values #193
Labels
documentation
good first issue
Issue that seems easy to resolve and is likely a good candidate for contributors new to project
FasterXML/jackson-databind#2352 added support for using
@JsonAlias
to accept alternate enum values. However, this functionality is not documented in the@JsonAlias
Javadocs. It was therefore quite the surprise to me to discover this was a valid usage.I believe the Javadocs should be updated to document this case.
Examples in other annotations that change enum values in addition to a separate primary usage:
@JsonValue
:@JsonProperty
:The text was updated successfully, but these errors were encountered: