-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
enumRelated to handling of Enum valuesRelated to handling of Enum values
Milestone
Description
Is your feature request related to a problem? Please describe.
Java enums are usually defined as UPPER_CASE_WITH_UNDERSCORE
. This is not a standard in endpoints, as these rather use lower_case_with_underscore
. There is already feature for ACCEPT_CASE_INSENSITIVE_ENUMS
, which helps with deserialization, the feature for serialization is however currently missing. Only option is using @JsonProperty
or toString()
serialization.
Describe the solution you'd like
I would like to have SerializationFeature.WRITE_ENUM_LOWERCASED
.
Usage example
Any API endpoint.
goodhoko, salmar, jochenberger, adamu, nicolasmafra and 15 more
Metadata
Metadata
Assignees
Labels
enumRelated to handling of Enum valuesRelated to handling of Enum values