com.fasterxml.jackson.databind.ser.std

Class EnumSerializer

    • Field Detail

      • _values

        protected final EnumValues _values
        This map contains pre-resolved values (since there are ways to customize actual String constants to use) to use as serializations.
      • _serializeAsIndex

        protected final Boolean _serializeAsIndex
        Flag that is set if we statically know serialization choice between index and textual format (null if it needs to be dynamically checked).
        Since:
        2.1
      • _valuesByEnumNaming

        protected final EnumValues _valuesByEnumNaming
        Map with key as converted property class defined implementation of EnumNamingStrategy and with value as Enum names collected using Enum.name().
        Since:
        2.15

Copyright © 2008–2023 FasterXML. All rights reserved.