CustomDefinitionProviderV2 interface for treating enum types as plain strings based on a JsonValue annotation
being present with value = true on exactly one argument-free method and/or JsonProperty annotations being present on all enum
constants.JsonSubTypes annotation.BeanDescription for the given type's erased class in order to avoid having to re-create the complexity therein.JsonValue annotated method with value = true and no expected arguments.JsonPropertyOrder annotation.JsonNaming annotation.JsonProperty annotation marks it as read-only.JsonProperty annotation and consider its "required" attribute.JsonProperty annotation.JsonValue annotated method with
value = true and no expected arguments.JsonProperty annotation marks it as write-only.jackson-annotations.JacksonModule's processing.JsonPropertyOrder annotation on the declaring type.JsonSubTypes annotation.JsonPropertyOrder annotation should be sorted
alphabetically, based on JsonPropertyOrder.alphabetic().Copyright © 2021 VicTools. All rights reserved.