com.fasterxml.jackson.databind.ser.impl

Class MapEntrySerializer

    • Field Detail

      • MARKER_FOR_EMPTY

        public static final Object MARKER_FOR_EMPTY
        Since:
        2.9
      • _property

        protected final BeanProperty _property
        Map-valued property being serialized with this instance
      • _valueTypeIsStatic

        protected final boolean _valueTypeIsStatic
        Whether static types should be used for serialization of values or not (if not, dynamic runtime type is used)
      • _entryType

        protected final JavaType _entryType
      • _keyType

        protected final JavaType _keyType
      • _valueType

        protected final JavaType _valueType
      • _keySerializer

        protected JsonSerializer<Object> _keySerializer
        Key serializer to use, if it can be statically determined
      • _valueSerializer

        protected JsonSerializer<Object> _valueSerializer
        Value serializer to use, if it can be statically determined
      • _valueTypeSerializer

        protected final TypeSerializer _valueTypeSerializer
        Type identifier serializer used for values, if any.
      • _dynamicValueSerializers

        protected PropertySerializerMap _dynamicValueSerializers
        If value type cannot be statically determined, mapping from runtime value types to serializers are stored in this object.
      • _suppressableValue

        protected final Object _suppressableValue
        Value that indicates suppression mechanism to use for values contained; either "filter" (of which equals() is called), or marker value of MARKER_FOR_EMPTY, or null to indicate no filtering for non-null values. Note that inclusion value for Map instance itself is handled by caller (POJO property that refers to the Map value).
        Since:
        2.5
      • _suppressNulls

        protected final boolean _suppressNulls
        Flag that indicates what to do with `null` values, distinct from handling of _suppressableValue
        Since:
        2.9

Copyright © 2008–2022 FasterXML. All rights reserved.