Uses of Class
com.fasterxml.jackson.annotation.JsonTypeInfo.As
-
Packages that use JsonTypeInfo.As Package Description com.fasterxml.jackson.annotation Public core annotations, most of which are used to configure how Data Mapping/Binding works.com.fasterxml.jackson.databind 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.com.fasterxml.jackson.databind.cfg 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).com.fasterxml.jackson.databind.jsontype Package that contains interfaces that define how to implement functionality for dynamically resolving type during deserialization.com.fasterxml.jackson.databind.jsontype.impl Package that contains standard implementations forTypeResolverBuilderandTypeIdResolver. -
-
Uses of JsonTypeInfo.As in com.fasterxml.jackson.annotation
Methods in com.fasterxml.jackson.annotation that return JsonTypeInfo.As Modifier and Type Method Description JsonTypeInfo.Asinclude()Specifies mechanism to use for including type metadata (if any; forJsonTypeInfo.Id.NONEnothing is included); used when serializing, and expected when deserializing.static JsonTypeInfo.AsJsonTypeInfo.As. valueOf(String name)Returns the enum constant of this type with the specified name.static JsonTypeInfo.As[]JsonTypeInfo.As. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of JsonTypeInfo.As in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind with parameters of type JsonTypeInfo.As Modifier and Type Method Description ObjectMapperObjectMapper. 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).ObjectMapperObjectMapper. enableDefaultTyping(ObjectMapper.DefaultTyping applicability, JsonTypeInfo.As includeAs)Deprecated.Since 2.10 useObjectMapper.activateDefaultTyping(PolymorphicTypeValidator,DefaultTyping,JsonTypeInfo.As)instead -
Uses of JsonTypeInfo.As in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg with parameters of type JsonTypeInfo.As Modifier and Type Method Description BMapperBuilder. 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.As Modifier and Type Method Description abstract 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.As Modifier and Type Method Description TTypeResolverBuilder. 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.As Modifier and Type Field Description protected JsonTypeInfo.AsStdTypeResolverBuilder. _includeAsprotected JsonTypeInfo.AsAsPropertyTypeDeserializer. _inclusionMethods in com.fasterxml.jackson.databind.jsontype.impl that return JsonTypeInfo.As Modifier and Type Method Description JsonTypeInfo.AsAsArrayTypeDeserializer. getTypeInclusion()JsonTypeInfo.AsAsArrayTypeSerializer. getTypeInclusion()JsonTypeInfo.AsAsDeductionTypeSerializer. getTypeInclusion()JsonTypeInfo.AsAsExistingPropertyTypeSerializer. getTypeInclusion()JsonTypeInfo.AsAsExternalTypeDeserializer. getTypeInclusion()JsonTypeInfo.AsAsExternalTypeSerializer. getTypeInclusion()JsonTypeInfo.AsAsPropertyTypeDeserializer. getTypeInclusion()JsonTypeInfo.AsAsPropertyTypeSerializer. getTypeInclusion()JsonTypeInfo.AsAsWrapperTypeDeserializer. getTypeInclusion()JsonTypeInfo.AsAsWrapperTypeSerializer. getTypeInclusion()abstract JsonTypeInfo.AsTypeDeserializerBase. getTypeInclusion()abstract JsonTypeInfo.AsTypeSerializerBase. getTypeInclusion()Methods in com.fasterxml.jackson.databind.jsontype.impl with parameters of type JsonTypeInfo.As Modifier and Type Method Description StdTypeResolverBuilderStdTypeResolverBuilder. inclusion(JsonTypeInfo.As includeAs)Constructors in com.fasterxml.jackson.databind.jsontype.impl with parameters of type JsonTypeInfo.As Constructor Description AsPropertyTypeDeserializer(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)StdTypeResolverBuilder(JsonTypeInfo.Id idType, JsonTypeInfo.As idAs, String propName)
-