Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Interfaces
  • Classes
  • Annotation Interfaces
  • Fields
  • Methods
  • Constructors
  • Enum Constants
  • Deprecated Interfaces
    Interface
    Description
    org.codehaus.jackson.map.JsonSerializable
  • Deprecated Classes
    Class
    Description
    org.codehaus.jackson.impl.DefaultPrettyPrinter
    Moved to DefaultPrettyPrinter; will be removed in Jackson 2.0
    org.codehaus.jackson.impl.JsonNumericParserBase
    Since 1.9.0: functionality demoted down to JsonParserBase
    org.codehaus.jackson.impl.ReaderBasedParserBase
    Since 1.9 sub-classes should just include code from here as is.
    org.codehaus.jackson.impl.StreamBasedParserBase
    Since 1.9, sub-classes should just embed code from here
    org.codehaus.jackson.map.deser.ArrayDeserializer
    Since 1.9, use ObjectArrayDeserializer instead.
    org.codehaus.jackson.map.deser.ArrayDeserializers
    Since 1.9, use PrimitiveArrayDeserializers instead.
    org.codehaus.jackson.map.deser.CollectionDeserializer
    Since 1.9, use ContainerDeserializerBase instead.
    org.codehaus.jackson.map.deser.ContainerDeserializer
    Since 1.9, use ContainerDeserializerBase instead.
    org.codehaus.jackson.map.deser.CustomDeserializerFactory
    Starting with 1.7, functionality of this class has been implemented both in base SerializerFactory (see methods like SerializerFactory.withAdditionalSerializers(Serializers)) and through new Module API. As such, this class is not the best way to add custom functionality, and will likely be removed from 2.0 release
    org.codehaus.jackson.map.deser.DateDeserializer
    Since 1.9, use JsonNodeDeserializer instead.
    org.codehaus.jackson.map.deser.EnumDeserializer
    Since 1.9, use EnumDeserializer instead.
    org.codehaus.jackson.map.deser.EnumResolver
    Since 1.9, use EnumResolver instead.
    org.codehaus.jackson.map.deser.FromStringDeserializer
    Since 1.9, use FromStringDeserializer instead.
    org.codehaus.jackson.map.deser.JsonNodeDeserializer
    Since 1.9, use JsonNodeDeserializer instead.
    org.codehaus.jackson.map.deser.MapDeserializer
    Since 1.9, use MapDeserializer instead.
    org.codehaus.jackson.map.deser.StdDeserializer
    Since 1.9, use StdDeserializer instead.
    org.codehaus.jackson.map.deser.StdDeserializer.CalendarDeserializer
    Since 1.9 use CalendarDeserializer instead.
    org.codehaus.jackson.map.deser.StdDeserializer.ClassDeserializer
    Since 1.9 use ClassDeserializer instead.
    org.codehaus.jackson.map.deser.StdDeserializer.StringDeserializer
    Since 1.9 use StringDeserializer instead.
    org.codehaus.jackson.map.deser.StdKeyDeserializer
    Since 1.9, use StdKeyDeserializer instead.
    org.codehaus.jackson.map.deser.StdScalarDeserializer
    Since 1.9, use StdScalarDeserializer instead.
    org.codehaus.jackson.map.deser.ThrowableDeserializer
    Since 1.9, use ThrowableDeserializer instead.
    org.codehaus.jackson.map.deser.UntypedObjectDeserializer
    Since 1.9, use UntypedObjectDeserializer instead.
    org.codehaus.jackson.map.Deserializers.None
    As of 1.9, use Deserializers.Base instead
    org.codehaus.jackson.map.introspect.BasicClassIntrospector.GetterMethodFilter
    Since 1.9 just don't use
    org.codehaus.jackson.map.introspect.BasicClassIntrospector.SetterAndGetterMethodFilter
    Since 1.9 just don't use
    org.codehaus.jackson.map.introspect.BasicClassIntrospector.SetterMethodFilter
    Since 1.9 just don't use
    org.codehaus.jackson.map.ser.ArraySerializers
    Since 1.9 use StdArraySerializers
    org.codehaus.jackson.map.ser.ContainerSerializers
    Since 1.9 use StdContainerSerializers instead
    org.codehaus.jackson.map.ser.EnumSerializer
    Since 1.9 use EnumSerializer
    org.codehaus.jackson.map.ser.JdkSerializers
    Since 1.9 use StdJdkSerializers
    org.codehaus.jackson.map.ser.MapSerializer
    Since 1.9 use MapSerializer
    org.codehaus.jackson.map.ser.ScalarSerializerBase
    Since 1.9 use SerializerBase instead.
    org.codehaus.jackson.map.ser.SerializerBase
    Since 1.9 use SerializerBase
    org.codehaus.jackson.map.ser.StdKeySerializer
    Since 1.9 use StdKeySerializer instead
    org.codehaus.jackson.map.ser.StdSerializers.CalendarSerializer
    Since 1.9, use DateSerializer instead
    org.codehaus.jackson.map.ser.StdSerializers.SerializableSerializer
    Since 1.9, use DateSerializer instead
    org.codehaus.jackson.map.ser.StdSerializers.SerializableWithTypeSerializer
    Since 1.9, use DateSerializer instead
    org.codehaus.jackson.map.ser.StdSerializers.StringSerializer
    Since 1.9, use StringSerializer instead
    org.codehaus.jackson.map.ser.StdSerializers.UtilDateSerializer
    Since 1.9, use DateSerializer instead
    org.codehaus.jackson.map.ser.ToStringSerializer
    Since 1.9 use ToStringSerializer
    org.codehaus.jackson.map.Serializers.None
    As of 1.9, use Serializers.Base instead
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    org.codehaus.jackson.annotate.JsonGetter
    Use JsonProperty instead (deprecated since version 1.5)
    org.codehaus.jackson.annotate.JsonWriteNullProperties
    (since 1.6) Currently recommended annotation to use is JsonSerialize.include() (with values ALWAYS or NON_NULL)
  • Deprecated Fields
    Field
    Description
    org.codehaus.jackson.map.deser.JsonNodeDeserializer.instance
    Use JsonNodeDeserializer.getDeserializer(java.lang.Class<?>) accessor instead: will be removed from 2.0
    org.codehaus.jackson.map.introspect.BasicClassIntrospector.DEFAULT_GETTER_FILTER
    Since 1.9 just don't use
    org.codehaus.jackson.map.introspect.BasicClassIntrospector.DEFAULT_SETTER_AND_GETTER_FILTER
    Since 1.9 just don't use
    org.codehaus.jackson.map.introspect.BasicClassIntrospector.DEFAULT_SETTER_FILTER
    Since 1.9 just don't use
    org.codehaus.jackson.map.ser.StdSerializerProvider.DEFAULT_KEY_SERIALIZER
    Since 1.9, use StdKeySerializers instead
    org.codehaus.jackson.map.type.TypeFactory.instance
    As of 1.8, should use a per-ObjectMapper instance instead of global singleton
  • Deprecated Methods
    Method
    Description
    org.codehaus.jackson.impl.JsonGeneratorBase._writeEndArray()
    since 1.7, should just override JsonGeneratorBase.writeEndArray() instead of defining this method
    org.codehaus.jackson.impl.JsonGeneratorBase._writeEndObject()
    since 1.7, should just override JsonGeneratorBase.writeEndObject() instead of defining this method
    org.codehaus.jackson.impl.JsonGeneratorBase._writeStartArray()
    since 1.7, should just override JsonGeneratorBase.writeStartArray() instead of defining this method
    org.codehaus.jackson.impl.JsonGeneratorBase._writeStartObject()
    since 1.7, should just override JsonGeneratorBase.writeStartObject() instead of defining this method
    org.codehaus.jackson.JsonFactory.disableGeneratorFeature(JsonGenerator.Feature)
    Use JsonFactory.disable(JsonGenerator.Feature) instead
    org.codehaus.jackson.JsonFactory.disableParserFeature(JsonParser.Feature)
    Use JsonFactory.disable(JsonParser.Feature) instead
    org.codehaus.jackson.JsonFactory.enableGeneratorFeature(JsonGenerator.Feature)
    Use JsonFactory.enable(JsonGenerator.Feature) instead
    org.codehaus.jackson.JsonFactory.enableParserFeature(JsonParser.Feature)
    Use JsonFactory.enable(JsonParser.Feature) instead
    org.codehaus.jackson.JsonFactory.isGeneratorFeatureEnabled(JsonGenerator.Feature)
    Use JsonFactory.isEnabled(JsonGenerator.Feature) instead
    org.codehaus.jackson.JsonFactory.isParserFeatureEnabled(JsonParser.Feature)
    Use JsonFactory.isEnabled(JsonParser.Feature) instead
    org.codehaus.jackson.JsonFactory.setGeneratorFeature(JsonGenerator.Feature, boolean)
    Use JsonFactory.configure(JsonGenerator.Feature, boolean) instead
    org.codehaus.jackson.JsonFactory.setParserFeature(JsonParser.Feature, boolean)
    Use JsonFactory.configure(JsonParser.Feature, boolean) instead
    org.codehaus.jackson.JsonGenerator.disableFeature(JsonGenerator.Feature)
    Use JsonGenerator.disable(org.codehaus.jackson.JsonGenerator.Feature) instead
    org.codehaus.jackson.JsonGenerator.enableFeature(JsonGenerator.Feature)
    Use JsonGenerator.enable(org.codehaus.jackson.JsonGenerator.Feature) instead
    org.codehaus.jackson.JsonGenerator.isFeatureEnabled(JsonGenerator.Feature)
    Use JsonGenerator.isEnabled(org.codehaus.jackson.JsonGenerator.Feature) instead
    org.codehaus.jackson.JsonGenerator.setFeature(JsonGenerator.Feature, boolean)
    Use JsonGenerator.configure(org.codehaus.jackson.JsonGenerator.Feature, boolean) instead
    org.codehaus.jackson.JsonNode.getPath(int)
    Use JsonNode.path(int) instead
    org.codehaus.jackson.JsonNode.getPath(String)
    Use JsonNode.path(String) instead
    org.codehaus.jackson.JsonNode.getValueAsBoolean()
    Since 1.9, use JsonNode.asBoolean() instead
    org.codehaus.jackson.JsonNode.getValueAsBoolean(boolean)
    Since 1.9, use JsonNode.asBoolean() instead
    org.codehaus.jackson.JsonNode.getValueAsDouble()
    Since 1.9, use JsonNode.asDouble() instead
    org.codehaus.jackson.JsonNode.getValueAsDouble(double)
    Since 1.9, use JsonNode.asDouble() instead
    org.codehaus.jackson.JsonNode.getValueAsInt()
    Since 1.9, use JsonNode.asInt() instead
    org.codehaus.jackson.JsonNode.getValueAsInt(int)
    Since 1.9, use JsonNode.asInt() instead
    org.codehaus.jackson.JsonNode.getValueAsLong()
    Since 1.9, use JsonNode.asLong() instead
    org.codehaus.jackson.JsonNode.getValueAsLong(long)
    Since 1.9, use JsonNode.asLong() instead
    org.codehaus.jackson.JsonNode.getValueAsText()
    Since 1.9, use JsonNode.asText() instead
    org.codehaus.jackson.JsonParser.disableFeature(JsonParser.Feature)
    Use JsonParser.disable(Feature) instead
    org.codehaus.jackson.JsonParser.enableFeature(JsonParser.Feature)
    Use JsonParser.enable(Feature) instead
    org.codehaus.jackson.JsonParser.isFeatureEnabled(JsonParser.Feature)
    Use JsonParser.isEnabled(Feature) instead
    org.codehaus.jackson.JsonParser.setFeature(JsonParser.Feature, boolean)
    Use JsonParser.configure(org.codehaus.jackson.JsonParser.Feature, boolean) instead
    org.codehaus.jackson.map.BeanDescription.findDeserializableFields(VisibilityChecker<?>, Collection<String>)
    Since 1.9 use BeanDescription.findProperties()
    org.codehaus.jackson.map.BeanDescription.findGetters(VisibilityChecker<?>, Collection<String>)
    Since 1.9 use BeanDescription.findProperties()
    org.codehaus.jackson.map.BeanDescription.findSerializableFields(VisibilityChecker<?>, Collection<String>)
    Since 1.9 use the non-deprecated version
    org.codehaus.jackson.map.BeanDescription.findSetters(VisibilityChecker<?>)
    Since 1.9 use BeanDescription.findProperties()
    org.codehaus.jackson.map.ClassIntrospector.forClassAnnotations(MapperConfig<?>, Class<?>, ClassIntrospector.MixInResolver)
    since 1.9, use variant that takes JavaType
    org.codehaus.jackson.map.ClassIntrospector.forDirectClassAnnotations(MapperConfig<?>, Class<?>, ClassIntrospector.MixInResolver)
    since 1.9, use variant that takes JavaType
    org.codehaus.jackson.map.deser.BeanDeserializer.wrapAndThrow(Throwable, Object, int)
    Since 1.7 use variant that takes DeserializationContext
    org.codehaus.jackson.map.deser.BeanDeserializer.wrapAndThrow(Throwable, Object, String)
    Since 1.7 use variant that takes DeserializationContext
    org.codehaus.jackson.map.deser.JsonNodeDeserializer.deserializeAny(JsonParser, DeserializationContext)
    since 1.9.0
    org.codehaus.jackson.map.deser.JsonNodeDeserializer.deserializeArray(JsonParser, DeserializationContext)
    since 1.9.0
    org.codehaus.jackson.map.deser.JsonNodeDeserializer.deserializeObject(JsonParser, DeserializationContext)
    since 1.9.0
    org.codehaus.jackson.map.deser.SettableAnyProperty.setValueDeserializer(JsonDeserializer<Object>)
    Since 1.9 - construct with deserializer
    org.codehaus.jackson.map.deser.SettableBeanProperty.getPropertyName()
    Since 1.7, use SettableBeanProperty.getName() instead.
    org.codehaus.jackson.map.deser.SettableBeanProperty.getProperytIndex()
    Since 1.9: use SettableBeanProperty.getPropertyIndex() instead
    org.codehaus.jackson.map.deser.SettableBeanProperty.setValueDeserializer(JsonDeserializer<Object>)
    org.codehaus.jackson.map.DeserializationConfig.disable(DeserializationConfig.Feature)
    Since 1.9, it is preferable to use DeserializationConfig.without(org.codehaus.jackson.map.DeserializationConfig.Feature...) instead; this method is deprecated as it modifies current instance instead of creating a new one (as the goal is to make this class immutable)
    org.codehaus.jackson.map.DeserializationConfig.enable(DeserializationConfig.Feature)
    Since 1.9, it is preferable to use DeserializationConfig.with(org.codehaus.jackson.map.DeserializationConfig.Feature...) instead; this method is deprecated as it modifies current instance instead of creating a new one (as the goal is to make this class immutable)
    org.codehaus.jackson.map.DeserializationConfig.fromAnnotations(Class<?>)
    Since 1.9, it is preferably to explicitly configure instances; this method also modifies existing instance which is against immutable design goals of this class.
    org.codehaus.jackson.map.DeserializationConfig.set(DeserializationConfig.Feature, boolean)
    Since 1.9, it is preferable to use DeserializationConfig.without(org.codehaus.jackson.map.DeserializationConfig.Feature...) and DeserializationConfig.with(org.codehaus.jackson.map.DeserializationConfig.Feature...) instead; this method is deprecated as it modifies current instance instead of creating a new one (as the goal is to make this class immutable)
    org.codehaus.jackson.map.introspect.AnnotatedClass.resolveFields(boolean)
    org.codehaus.jackson.map.introspect.AnnotatedClass.resolveMemberMethods(MethodFilter, boolean)
    org.codehaus.jackson.map.introspect.BasicClassIntrospector.getDeserializationMethodFilter(DeserializationConfig)
    Since 1.9 just don't use
    org.codehaus.jackson.map.introspect.BasicClassIntrospector.getSerializationMethodFilter(SerializationConfig)
    Since 1.9 just don't use
    org.codehaus.jackson.map.MapperConfig.appendAnnotationIntrospector(AnnotationIntrospector)
    Since 1.9 use MapperConfig.withAppendedAnnotationIntrospector(AnnotationIntrospector) instead; this method is deprecated as it changes state, preventing immutability of instances
    org.codehaus.jackson.map.MapperConfig.fromAnnotations(Class<?>)
    Since 1.9, it is preferably to explicitly configure instances; this method also modifies existing instance which is against immutable design goals of this class.
    org.codehaus.jackson.map.MapperConfig.insertAnnotationIntrospector(AnnotationIntrospector)
    Since 1.9 use MapperConfig.withInsertedAnnotationIntrospector(AnnotationIntrospector) instead; this method is deprecated as it changes state, preventing immutability of instances
    org.codehaus.jackson.map.MapperConfig.setAnnotationIntrospector(AnnotationIntrospector)
    Since 1.8, use either MapperConfig.withAnnotationIntrospector(AnnotationIntrospector) or Module API instead
    org.codehaus.jackson.map.MapperConfig.setDateFormat(DateFormat)
    As of version 1.8, it is preferable to call method in ObjectMapper instead; or construct new instance with MapperConfig.withDateFormat(DateFormat)
    org.codehaus.jackson.map.ObjectMapper.defaultPrettyPrintingWriter()
    Since 1.9, use ObjectMapper.writerWithDefaultPrettyPrinter() instead.
    org.codehaus.jackson.map.ObjectMapper.filteredWriter(FilterProvider)
    Since 1.9, use ObjectMapper.writer(FilterProvider) instead.
    org.codehaus.jackson.map.ObjectMapper.prettyPrintingWriter(PrettyPrinter)
    Since 1.9, use ObjectMapper.writer(FilterProvider) instead.
    org.codehaus.jackson.map.ObjectMapper.schemaBasedReader(FormatSchema)
    Since 1.9, use ObjectMapper.reader(FormatSchema) instead.
    org.codehaus.jackson.map.ObjectMapper.schemaBasedWriter(FormatSchema)
    Since 1.9, use ObjectMapper.writer(FilterProvider) instead.
    org.codehaus.jackson.map.ObjectMapper.typedWriter(Class<?>)
    Since 1.9, use ObjectMapper.writerWithType(Class) instead.
    org.codehaus.jackson.map.ObjectMapper.typedWriter(JavaType)
    Since 1.9, use ObjectMapper.writerWithType(JavaType) instead.
    org.codehaus.jackson.map.ObjectMapper.typedWriter(TypeReference<?>)
    Since 1.9, use ObjectMapper.writerWithType(TypeReference) instead.
    org.codehaus.jackson.map.ObjectMapper.updatingReader(Object)
    Since 1.9, use ObjectMapper.readerForUpdating(java.lang.Object) instead.
    org.codehaus.jackson.map.ObjectMapper.viewWriter(Class<?>)
    Since 1.9, use ObjectMapper.writerWithView(Class) instead.
    org.codehaus.jackson.map.ser.BeanSerializerFactory.sortBeanProperties(SerializationConfig, BasicBeanDescription, List<BeanPropertyWriter>)
    Since 1.9 this method does nothing, so there is no benefit from overriding it; it will be removed from 2.0.
    org.codehaus.jackson.map.ser.std.MapSerializer.construct(String[], JavaType, boolean, TypeSerializer, BeanProperty)
    As of 1.8; use the variant with more arguments
    org.codehaus.jackson.map.ser.std.SerializerBase.wrapAndThrow(Throwable, Object, int)
    Use version that takes SerializerProvider instead.
    org.codehaus.jackson.map.ser.std.SerializerBase.wrapAndThrow(Throwable, Object, String)
    Use version that takes SerializerProvider instead.
    org.codehaus.jackson.map.SerializationConfig.disable(SerializationConfig.Feature)
    Since 1.9, it is preferable to use SerializationConfig.without(org.codehaus.jackson.map.SerializationConfig.Feature...) instead; this method is deprecated as it modifies current instance instead of creating a new one (as the goal is to make this class immutable)
    org.codehaus.jackson.map.SerializationConfig.enable(SerializationConfig.Feature)
    Since 1.9, it is preferable to use SerializationConfig.with(org.codehaus.jackson.map.SerializationConfig.Feature...) instead; this method is deprecated as it modifies current instance instead of creating a new one (as the goal is to make this class immutable)
    org.codehaus.jackson.map.SerializationConfig.fromAnnotations(Class<?>)
    Since 1.9, it is preferably to explicitly configure instances; this method also modifies existing instance which is against immutable design goals of this class.
    org.codehaus.jackson.map.SerializationConfig.set(SerializationConfig.Feature, boolean)
    Since 1.9, it is preferable to use SerializationConfig.without(org.codehaus.jackson.map.SerializationConfig.Feature...) and SerializationConfig.with(org.codehaus.jackson.map.SerializationConfig.Feature...) instead; this method is deprecated as it modifies current instance instead of creating a new one (as the goal is to make this class immutable)
    org.codehaus.jackson.map.SerializationConfig.setDateFormat(DateFormat)
    Since 1.8, use SerializationConfig.withDateFormat(java.text.DateFormat) instead.
    org.codehaus.jackson.map.SerializationConfig.setSerializationInclusion(JsonSerialize.Inclusion)
    since 1.9 should either use SerializationConfig.withSerializationInclusion(org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion) to construct new instance, or configure through ObjectMapper
    org.codehaus.jackson.map.SerializationConfig.setSerializationView(Class<?>)
    Since 1.8, use SerializationConfig.withView(java.lang.Class<?>) instead
    org.codehaus.jackson.map.SerializerFactory.createSerializer(JavaType, SerializationConfig)
    Since 1.7, call variant with more arguments
    org.codehaus.jackson.map.SerializerFactory.createTypeSerializer(JavaType, SerializationConfig)
    Since 1.7, call variant with more arguments
    org.codehaus.jackson.map.SerializerProvider.findTypedValueSerializer(Class<?>, boolean)
    As of version 1.7, use version that exposes property object instead of just its type (needed for contextual serializers)
    org.codehaus.jackson.map.SerializerProvider.findTypedValueSerializer(JavaType, boolean)
    As of version 1.7, use version that exposes property object instead of just its type (needed for contextual serializers)
    org.codehaus.jackson.map.SerializerProvider.findValueSerializer(Class<?>)
    As of version 1.7, use version that exposes property object instead of just its type (needed for contextual serializers)
    org.codehaus.jackson.map.SerializerProvider.findValueSerializer(JavaType)
    As of version 1.7, use version that exposes property object instead of just its type (needed for contextual serializers)
    org.codehaus.jackson.map.SerializerProvider.getKeySerializer()
    As of version 1.7, use version that exposes property object instead of just its type (needed for contextual serializers)
    org.codehaus.jackson.map.SerializerProvider.getKeySerializer(JavaType, BeanProperty)
    As of version 1.8
    org.codehaus.jackson.map.type.ArrayType.construct(JavaType)
    Since 1.9, if you must directly instantiate, call method that takes handlers
    org.codehaus.jackson.map.type.TypeFactory.arrayType(Class<?>)
    org.codehaus.jackson.map.type.TypeFactory.arrayType(JavaType)
    org.codehaus.jackson.map.type.TypeFactory.collectionType(Class<? extends Collection>, Class<?>)
    org.codehaus.jackson.map.type.TypeFactory.collectionType(Class<? extends Collection>, JavaType)
    org.codehaus.jackson.map.type.TypeFactory.fastSimpleType(Class<?>)
    org.codehaus.jackson.map.type.TypeFactory.findParameterTypes(Class<?>, Class<?>)
    org.codehaus.jackson.map.type.TypeFactory.findParameterTypes(Class<?>, Class<?>, TypeBindings)
    org.codehaus.jackson.map.type.TypeFactory.findParameterTypes(JavaType, Class<?>)
    org.codehaus.jackson.map.type.TypeFactory.fromClass(Class<?>)
    Use TypeFactory.type(Type) instead
    org.codehaus.jackson.map.type.TypeFactory.fromType(Type)
    Use TypeFactory.type(Type) instead
    org.codehaus.jackson.map.type.TypeFactory.fromTypeReference(TypeReference<?>)
    Use TypeFactory.type(Type) instead
    org.codehaus.jackson.map.type.TypeFactory.mapType(Class<? extends Map>, Class<?>, Class<?>)
    org.codehaus.jackson.map.type.TypeFactory.mapType(Class<? extends Map>, JavaType, JavaType)
    org.codehaus.jackson.map.type.TypeFactory.parametricType(Class<?>, Class<?>...)
    org.codehaus.jackson.map.type.TypeFactory.parametricType(Class<?>, JavaType...)
    org.codehaus.jackson.map.type.TypeFactory.specialize(JavaType, Class<?>)
    org.codehaus.jackson.map.type.TypeFactory.type(Type)
    org.codehaus.jackson.map.type.TypeFactory.type(Type, Class<?>)
    org.codehaus.jackson.map.type.TypeFactory.type(Type, TypeBindings)
    org.codehaus.jackson.map.type.TypeFactory.type(Type, JavaType)
    org.codehaus.jackson.map.type.TypeFactory.type(TypeReference<?>)
    org.codehaus.jackson.map.util.ClassUtil.isLocalType(Class<?>)
    since 1.9, use variant that takes second argument
    org.codehaus.jackson.map.util.EnumValues.valueFor(Enum<?>)
    since 1.7, use EnumValues.serializedValueFor(java.lang.Enum<?>) instead
    org.codehaus.jackson.type.JavaType.setValueHandler(Object)
    Since 1.9, should not be used; instead, use withContentTypeHandler and withContentValueHandler methods.
  • Deprecated Constructors
    Constructor
    Description
    org.codehaus.jackson.map.deser.ArrayDeserializer(ArrayType, JsonDeserializer<Object>)
     
    org.codehaus.jackson.map.deser.BeanDeserializer(AnnotatedClass, JavaType, BeanProperty, CreatorCollector, BeanPropertyMap, Map<String, SettableBeanProperty>, HashSet<String>, boolean, SettableAnyProperty)
    (since 1.9) Use the constructor that takes ValueInstantiator instead
    org.codehaus.jackson.map.deser.BeanDeserializerFactory()
    org.codehaus.jackson.map.deser.CollectionDeserializer(JavaType, JsonDeserializer<Object>, TypeDeserializer, Constructor<Collection<Object>>)
    Since 1.9, use variant that takes ValueInstantiator
    org.codehaus.jackson.map.deser.MapDeserializer(JavaType, Constructor<Map<Object, Object>>, KeyDeserializer, JsonDeserializer<Object>, TypeDeserializer)
    Since 1.9, use variant that takes ValueInstantiator
    org.codehaus.jackson.map.deser.SettableAnyProperty(BeanProperty, AnnotatedMethod, JavaType)
    Since 1.9 - use variant that takes deserializer
    org.codehaus.jackson.map.deser.std.CollectionDeserializer(JavaType, JsonDeserializer<Object>, TypeDeserializer, Constructor<Collection<Object>>)
    Since 1.9, use variant that takes ValueInstantiator
    org.codehaus.jackson.map.deser.std.EnumMapDeserializer(EnumResolver<?>, JsonDeserializer<Object>)
    org.codehaus.jackson.map.deser.std.MapDeserializer(JavaType, Constructor<Map<Object, Object>>, KeyDeserializer, JsonDeserializer<Object>, TypeDeserializer)
    Since 1.9, use variant that takes ValueInstantiator
    org.codehaus.jackson.map.introspect.BasicBeanDescription(MapperConfig<?>, JavaType, AnnotatedClass)
    Since 1.9, should use factory methods instead
    org.codehaus.jackson.map.jsontype.impl.AsArrayTypeDeserializer(JavaType, TypeIdResolver, BeanProperty)
    org.codehaus.jackson.map.jsontype.impl.AsPropertyTypeDeserializer(JavaType, TypeIdResolver, BeanProperty, String)
    org.codehaus.jackson.map.jsontype.impl.AsWrapperTypeDeserializer(JavaType, TypeIdResolver, BeanProperty)
    org.codehaus.jackson.map.jsontype.impl.TypeDeserializerBase(JavaType, TypeIdResolver, BeanProperty)
    Since 1.9, use the constructor that takes 'defaultImpl'
    org.codehaus.jackson.map.ObjectMapper(SerializerFactory)
    Use other constructors instead; note that you can just set serializer factory with ObjectMapper.setSerializerFactory(org.codehaus.jackson.map.SerializerFactory)
    org.codehaus.jackson.map.ser.MapSerializer(HashSet<String>, JavaType, boolean, TypeSerializer)
    Use variant that takes Key type and property information
    org.codehaus.jackson.map.ser.MapSerializer(HashSet<String>, JavaType, JavaType, boolean, TypeSerializer, JsonSerializer<Object>, BeanProperty)
    As of 1.8, use version that takes valueSerializer
    org.codehaus.jackson.map.ser.std.AsArraySerializerBase(Class<?>, JavaType, boolean, TypeSerializer, BeanProperty)
    since 1.8
    org.codehaus.jackson.map.ser.std.EnumMapSerializer(JavaType, boolean, EnumValues, TypeSerializer, BeanProperty)
    Since 1.8, use variant that takes value serializer
    org.codehaus.jackson.map.ser.std.ObjectArraySerializer(JavaType, boolean, TypeSerializer, BeanProperty)
    since 1.8
    org.codehaus.jackson.map.ser.std.StringCollectionSerializer(BeanProperty)
    org.codehaus.jackson.map.type.CollectionLikeType(Class<?>, JavaType)
    org.codehaus.jackson.map.type.MapLikeType(Class<?>, JavaType, JavaType)
    org.codehaus.jackson.map.type.SimpleType(Class<?>, String[], JavaType[])
    org.codehaus.jackson.map.type.TypeBase(Class<?>, int)
    org.codehaus.jackson.map.util.JSONPObject(String, Object, Class<?>)
    Since 1.8; instead use variant that takes JavaType: this ensures that type information is properly resolved
    org.codehaus.jackson.map.util.JSONWrappedObject(String, String, Object, Class<?>)
    Since 1.8; should construct with resolved JavaType, to ensure type has been properly resolved
  • Deprecated Enum Constants
    Enum Constant
    Description
    org.codehaus.jackson.map.SerializationConfig.Feature.WRITE_NULL_PROPERTIES
    As of 1.1, use SerializationConfig.setSerializationInclusion(org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion) instead