Class AsArraySerializerBase<T>

All Implemented Interfaces:
JsonFormatVisitable
Direct Known Subclasses:
CollectionSerializer, EnumSetSerializer, IndexedListSerializer, IterableSerializer, IteratorSerializer

public abstract class AsArraySerializerBase<T> extends StdContainerSerializer<T>
Base class for serializers that will output contents as JSON arrays; typically serializers used for Collection and array types.
  • Field Details

    • _elementType

      protected final JavaType _elementType
    • _staticTyping

      protected final boolean _staticTyping
    • _unwrapSingle

      protected final Boolean _unwrapSingle
      Setting for specific local override for "unwrap single element arrays": true for enable unwrapping, false for preventing it, `null` for using global configuration.
    • _valueTypeSerializer

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

      protected final ValueSerializer<Object> _elementSerializer
      Value serializer to use, if it can be statically determined
  • Constructor Details

  • Method Details