Uses of Enum Class
com.fasterxml.jackson.annotation.JsonTypeInfo.As
Packages that use JsonTypeInfo.As
Package
Description
Public core annotations, most of which are used to configure how
Data Mapping/Binding works.
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode), as well as
writing Java Objects and trees as JSON.Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind).Package that contains interfaces that define how to implement
functionality for dynamically resolving type during deserialization.
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver.-
Uses of JsonTypeInfo.As in com.fasterxml.jackson.annotation
Fields in com.fasterxml.jackson.annotation declared as JsonTypeInfo.AsModifier and TypeFieldDescriptionprotected final JsonTypeInfo.AsJsonTypeInfo.Value._inclusionTypeMethods in com.fasterxml.jackson.annotation that return JsonTypeInfo.AsModifier and TypeMethodDescriptionJsonTypeInfo.Value.getInclusionType()static JsonTypeInfo.AsReturns the enum constant of this class with the specified name.static JsonTypeInfo.As[]JsonTypeInfo.As.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.fasterxml.jackson.annotation with parameters of type JsonTypeInfo.AsModifier and TypeMethodDescriptionstatic JsonTypeInfo.ValueJsonTypeInfo.Value.construct(JsonTypeInfo.Id idType, JsonTypeInfo.As inclusionType, String propertyName, Class<?> defaultImpl, boolean idVisible, Boolean requireTypeIdForSubtypes) JsonTypeInfo.Value.withInclusionType(JsonTypeInfo.As inclusionType) Constructors in com.fasterxml.jackson.annotation with parameters of type JsonTypeInfo.AsModifierConstructorDescriptionprotectedValue(JsonTypeInfo.Id idType, JsonTypeInfo.As inclusionType, String propertyName, Class<?> defaultImpl, boolean idVisible, Boolean requireTypeIdForSubtypes) -
Uses of JsonTypeInfo.As in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind with parameters of type JsonTypeInfo.AsModifier and TypeMethodDescriptionObjectMapper.activateDefaultTyping(PolymorphicTypeValidator ptv, ObjectMapper.DefaultTyping applicability, JsonTypeInfo.As includeAs) Method for enabling automatic inclusion of type information ("Default Typing"), needed for proper deserialization of polymorphic types (unless types have been annotated withJsonTypeInfo).ObjectMapper.enableDefaultTyping(ObjectMapper.DefaultTyping applicability, JsonTypeInfo.As includeAs) Deprecated. -
Uses of JsonTypeInfo.As in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg with parameters of type JsonTypeInfo.AsModifier and TypeMethodDescriptionMapperBuilder.activateDefaultTyping(PolymorphicTypeValidator subtypeValidator, ObjectMapper.DefaultTyping applicability, JsonTypeInfo.As includeAs) Method for enabling automatic inclusion of type information, needed for proper deserialization of polymorphic types (unless types have been annotated withJsonTypeInfo). -
Uses of JsonTypeInfo.As in com.fasterxml.jackson.databind.jsontype
Methods in com.fasterxml.jackson.databind.jsontype that return JsonTypeInfo.AsModifier and TypeMethodDescriptionabstract JsonTypeInfo.AsTypeDeserializer.getTypeInclusion()Accessor for type information inclusion method that deserializer uses; indicates how type information is (expected to be) embedded in JSON input.abstract JsonTypeInfo.AsTypeSerializer.getTypeInclusion()Accessor for type information inclusion method that serializer uses; indicates how type information is embedded in resulting JSON.Methods in com.fasterxml.jackson.databind.jsontype with parameters of type JsonTypeInfo.AsModifier and TypeMethodDescriptionTypeResolverBuilder.inclusion(JsonTypeInfo.As includeAs) Method for specifying mechanism to use for including type metadata in JSON. -
Uses of JsonTypeInfo.As in com.fasterxml.jackson.databind.jsontype.impl
Fields in com.fasterxml.jackson.databind.jsontype.impl declared as JsonTypeInfo.AsModifier and TypeFieldDescriptionprotected JsonTypeInfo.AsStdTypeResolverBuilder._includeAsprotected final JsonTypeInfo.AsAsPropertyTypeDeserializer._inclusionMethods in com.fasterxml.jackson.databind.jsontype.impl that return JsonTypeInfo.AsModifier and TypeMethodDescriptionAsArrayTypeDeserializer.getTypeInclusion()AsArrayTypeSerializer.getTypeInclusion()AsDeductionTypeSerializer.getTypeInclusion()AsExistingPropertyTypeSerializer.getTypeInclusion()AsExternalTypeDeserializer.getTypeInclusion()AsExternalTypeSerializer.getTypeInclusion()AsPropertyTypeDeserializer.getTypeInclusion()AsPropertyTypeSerializer.getTypeInclusion()AsWrapperTypeDeserializer.getTypeInclusion()AsWrapperTypeSerializer.getTypeInclusion()abstract JsonTypeInfo.AsTypeDeserializerBase.getTypeInclusion()abstract JsonTypeInfo.AsTypeSerializerBase.getTypeInclusion()Methods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type JsonTypeInfo.AsConstructors in com.fasterxml.jackson.databind.jsontype.impl with parameters of type JsonTypeInfo.AsModifierConstructorDescriptionAsPropertyTypeDeserializer(JavaType bt, TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, JavaType defaultImpl, JsonTypeInfo.As inclusion) Deprecated.Since 2.15 (not used)AsPropertyTypeDeserializer(JavaType bt, TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, JavaType defaultImpl, JsonTypeInfo.As inclusion, boolean strictTypeIdHandling) protectedStdTypeResolverBuilder(JsonTypeInfo.Id idType, JsonTypeInfo.As idAs, String propName)
ObjectMapper.activateDefaultTyping(PolymorphicTypeValidator,DefaultTyping,JsonTypeInfo.As)instead