Class AsPropertyTypeSerializer

  • Direct Known Subclasses:

    public class AsPropertyTypeSerializer
    extends AsArrayTypeSerializer
    Type serializer that preferably embeds type information as an additional JSON Object property, if possible (when resulting serialization would use JSON Object). If this is not possible (for JSON Arrays, scalars), uses a JSON Array wrapper (similar to how JsonTypeInfo.As.WRAPPER_ARRAY always works) as a fallback.