Class AsArrayTypeSerializer

  • Direct Known Subclasses:
    AsPropertyTypeSerializer

    public class AsArrayTypeSerializer
    extends TypeSerializerBase
    Type serializer that will embed type information in an array, as the first element, and actual value as the second element.
    • Method Detail

      • getTypeInclusion

        public com.fasterxml.jackson.annotation.JsonTypeInfo.As getTypeInclusion()
        Description copied from class: TypeSerializer
        Accessor for type information inclusion method that serializer uses; indicates how type information is embedded in resulting JSON.
        Specified by:
        getTypeInclusion in class TypeSerializerBase