Top Deprecated By Reference
Jackson 2.18.2

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
com.fasterxml.jackson.annotation.JsonTypeInfo.None

Since 2.5, use any Annotation type (such as JsonTypeInfo), if such behavior is needed; this is rarely necessary.

Returns:

I/O context created
com.fasterxml.jackson.core.JsonFactory._createContext
(Object
"Raw" source/target reference
rawContentRef
,
boolean
Whether input/output buffer is managed by this factory or not
resourceManaged
)

Since 2.13

Returns:

This factory instance (to allow call chaining)
com.fasterxml.jackson.core.JsonFactory.configure
(JsonFactory.Feature
Feature to enable/disable
f
,
boolean
Whether to enable or disable the feature
state
)

since 2.10 use JsonFactoryBuilder#configure(JsonFactory.Feature, boolean) instead

Returns:

Generator constructed
com.fasterxml.jackson.core.JsonFactory.createJsonGenerator
(OutputStream
OutputStream to use for writing JSON content
out
,
JsonEncoding
Character encoding to use
enc
)

Since 2.2, use createGenerator(OutputStream, JsonEncoding) instead.

Returns:

Generator constructed
com.fasterxml.jackson.core.JsonFactory.createJsonGenerator
(Writer
Writer to use for writing JSON content
out
)

Since 2.2, use createGenerator(Writer) instead.

Returns:

Generator constructed
com.fasterxml.jackson.core.JsonFactory.createJsonGenerator
(OutputStream
OutputStream to use for writing JSON content
out
)

Since 2.2, use createGenerator(OutputStream) instead.

Returns:

Parser constructed
com.fasterxml.jackson.core.JsonFactory.createJsonParser
(File
File that contains JSON content to parse
f
)

Since 2.2, use createParser(File) instead.

Returns:

Parser constructed
com.fasterxml.jackson.core.JsonFactory.createJsonParser
(URL
URL pointing to resource that contains JSON content to parse
url
)

Since 2.2, use createParser(URL) instead.

Returns:

Parser constructed
com.fasterxml.jackson.core.JsonFactory.createJsonParser
(InputStream
InputStream to use for reading JSON content to parse
in
)

Since 2.2, use createParser(InputStream) instead.

Returns:

Parser constructed
com.fasterxml.jackson.core.JsonFactory.createJsonParser
(Reader
Reader to use for reading JSON content to parse
r
)

Since 2.2, use createParser(Reader) instead.

Returns:

Parser constructed
com.fasterxml.jackson.core.JsonFactory.createJsonParser
(byte[]
Input content to parse
data
)

Since 2.2, use createParser(byte[]) instead.

Returns:

Parser constructed
com.fasterxml.jackson.core.JsonFactory.createJsonParser
(byte[]
Buffer that contains data to parse
data
,
int
Offset of the first data byte within buffer
offset
,
int
Length of contents to parse within buffer
len
)

Since 2.2, use createParser(byte[], int, int) instead.

Returns:

Parser constructed
com.fasterxml.jackson.core.JsonFactory.createJsonParser
(String
Input content to parse
content
)

Since 2.2, use createParser(String) instead.

Returns:

This factory instance (to allow call chaining)
com.fasterxml.jackson.core.JsonFactory.disable
(JsonFactory.Feature
Feature to disable
f
)

since 2.10 use JsonFactoryBuilder#configure(JsonFactory.Feature, boolean) instead

Returns:

This factory instance (to allow call chaining)
com.fasterxml.jackson.core.JsonFactory.enable
(JsonFactory.Feature
Feature to enable
f
)

since 2.10 use JsonFactoryBuilder#configure(JsonFactory.Feature, boolean) instead

Returns:

This factory instance (to allow call chaining)
com.fasterxml.jackson.core.JsonFactory.setInputDecorator
(InputDecorator
Decorator to configure for this factory, if any (null if none)
d
)

Since 2.10 use JsonFactoryBuilder#inputDecorator(InputDecorator) instead

Returns:

This factory instance (to allow call chaining)
com.fasterxml.jackson.core.JsonFactory.setOutputDecorator
(OutputDecorator
Output decorator to use, if any
d
)

Since 2.10 use JsonFactoryBuilder#outputDecorator(OutputDecorator) instead

Returns:

Location of the last processed input unit (byte or character)
com.fasterxml.jackson.core.JsonGenerator.getCurrentValue
()

Since 2.17 use currentValue() instead

com.fasterxml.jackson.core.JsonGenerator.setCurrentValue(Object
Current value to assign for the current context of this generator
v
)

Since 2.17 use currentValue() instead

Returns:

This generator, to allow call chaining
com.fasterxml.jackson.core.JsonGenerator.setFeatureMask
(int
Bitmask that defines which Features are enabled and which disabled
values
)

Since 2.7, use overrideStdFeatures(int, int) instead -- remove from 2.9

com.fasterxml.jackson.core.JsonGenerator.writeStartArray(int
Number of elements this array will have: actual number of values written (before matching call to writeEndArray() MUST match; generator MAY verify this is the case (and SHOULD if format itself encodes length)
size
)

Since 2.12 Use writeStartArray(Object, int) instead

com.fasterxml.jackson.core.JsonLocation(Object srcRef, long totalChars, int lineNr, int columnNr)

com.fasterxml.jackson.core.JsonLocation(Object srcRef, long totalBytes, long totalChars, int lineNr, int columnNr)

Returns:

Source reference this location was constructed with, if any; null if none
com.fasterxml.jackson.core.JsonLocation.getSourceRef
()

Since 2.13 Use contentReference instead

Returns:

Location of the last processed input unit (byte or character)
com.fasterxml.jackson.core.JsonParser.getCurrentLocation
()

Since 2.17 use currentLocation() instead

Returns:

Name of the current field in the parsing context
com.fasterxml.jackson.core.JsonParser.getCurrentName
()

Since 2.17 use currentName instead.

Returns:

int matching one of constants from JsonTokenId.
com.fasterxml.jackson.core.JsonParser.getCurrentTokenId
()

Since 2.12 use currentTokenId instead

Returns:

Location of the last processed input unit (byte or character)
com.fasterxml.jackson.core.JsonParser.getCurrentValue
()

Since 2.17 use currentValue() instead

Returns:

Starting location of the token parser currently points to
com.fasterxml.jackson.core.JsonParser.getTokenLocation
()

Since 2.17 use currentTokenLocation() instead

com.fasterxml.jackson.core.JsonParser.setCurrentValue(Object
Current value to assign for the current input context of this parser
v
)

Since 2.17 use assignCurrentValue instead

Returns:

This parser, to allow call chaining
com.fasterxml.jackson.core.JsonParser.setFeatureMask
(int
Bit mask that defines set of features to enable
mask
)

Since 2.7, use overrideStdFeatures(int, int) instead

Returns:

Location pointing to the point where the context start marker was found (or written); never null.
com.fasterxml.jackson.core.JsonStreamContext.getStartLocation
(Object
Source reference needed to construct location instance
srcRef
)

Since 2.13 use startLocation instead

Returns:

Type description String
com.fasterxml.jackson.core.JsonStreamContext.getTypeDesc
()

Since 2.8 use typeDesc instead

com.fasterxml.jackson.core.StreamReadConstraints(final int maxNestingDepth, final long maxDocLen, final int maxNumLen, final int maxStringLen)

com.fasterxml.jackson.core.StreamReadConstraints(final int
Maximum input document nesting to allow
maxNestingDepth
,
final long
Maximum input document length to allow
maxDocLen
,
final int
Maximum number representation length to allow
maxNumLen
,
final int
Maximum String value length to allow
maxStringLen
,
final int
Maximum Object property name length to allow
maxNameLen
)

com.fasterxml.jackson.core.Version(int
Major version number
major
,
int
Minor version number
minor
,
int
patch level of version
patchLevel
,
String
Optional additional string qualifier
snapshotInfo
)

Use variant that takes group and artifact ids

Returns:

True if this instance is the one returned by call to unknownVersion()
com.fasterxml.jackson.core.Version.isUknownVersion
()

Since 2.7 use correctly spelled method isUnknownVersion()

com.fasterxml.jackson.core.base.GeneratorBase.setFeatureMask(int
Bitmask that defines which Features are enabled and which disabled
newMask
)

com.fasterxml.jackson.core.base.ParserBase.setFeatureMask(int
Bit mask that defines set of features to enable
newMask
)

com.fasterxml.jackson.core.filter.FilteringGeneratorDelegate(JsonGenerator
Generator to delegate calls to
d
,
TokenFilter
Filter to use
f
,
boolean
Whether to include path or not
includePath
,
boolean
Whether to allow multiple matches
allowMultipleMatches
)

since 2.12 Use the constructor that takes TokenFilter.Inclusion argument instead.

com.fasterxml.jackson.core.filter.FilteringParserDelegate(JsonParser p, TokenFilter f, boolean includePath, boolean allowMultipleMatches)

Returns:

Copy of array of 16 upper-case hexadecimal characters as bytes
com.fasterxml.jackson.core.io.CharTypes.copyHexBytes
()

Since 2.14 Use copyHexBytes(boolean) instead

Returns:

Copy of array of 16 upper-case hexadecimal characters
com.fasterxml.jackson.core.io.CharTypes.copyHexChars
()

Since 2.14 Use copyHexChars(boolean) instead

com.fasterxml.jackson.core.io.ContentReference(boolean
Whether content is textual (not binary)
isContentTextual
,
Object
Contents being referenced
rawContent
)

Since 2.16. Use ContentReference(boolean, Object, ErrorReportConfiguration) instead.

com.fasterxml.jackson.core.io.ContentReference(boolean
Whether content is textual (not binary)
isContentTextual
,
Object
Contents being referenced
rawContent
,
int
Offset of content within rawContent
offset
,
int
Length of content within rawContent
length
)

Since 2.16. Use ContentReference(boolean, Object, int, int, ErrorReportConfiguration) instead.

com.fasterxml.jackson.core.io.ContentReference.construct(boolean isContentTextual, Object rawContent, int offset, int length)

Since 2.16. Use construct(boolean, Object, int, int, ErrorReportConfiguration) instead.

com.fasterxml.jackson.core.io.IOContext(StreamReadConstraints
constraints for streaming reads
src
,
BufferRecycler
BufferRecycler to use, if any (null if none)
br
,
ContentReference
Input source reference for location reporting
contentRef
,
boolean
Whether input source is managed (owned) by Jackson library
managedResource
)

Since 2.16. Use IOContext(StreamReadConstraints, StreamWriteConstraints, ErrorReportConfiguration, BufferRecycler, ContentReference, boolean) instead.

com.fasterxml.jackson.core.io.IOContext(BufferRecycler
BufferRecycler to use, if any (null if none)
br
,
ContentReference
Input source reference for location reporting
contentRef
,
boolean
Whether input source is managed (owned) by Jackson library
managedResource
)

Since 2.15. Use IOContext(StreamReadConstraints, StreamWriteConstraints, ErrorReportConfiguration, BufferRecycler, ContentReference, boolean) instead.

com.fasterxml.jackson.core.io.IOContext(BufferRecycler br, Object rawContent, boolean managedResource)

Returns:

"Raw" source reference
com.fasterxml.jackson.core.io.IOContext.getSourceReference
()

Since 2.13, use contentReference() instead

Returns:

a BigDecimal
com.fasterxml.jackson.core.io.NumberInput.parseBigDecimal
(final String
a string representing a number to parse
s
)

Since 2.17 use parseBigDecimal(String, boolean) instead

Returns:

a BigDecimal
com.fasterxml.jackson.core.io.NumberInput.parseBigDecimal
(final char[]
a char array with text that makes up a number
ch
,
final int
the offset to apply when parsing the number in the char array
off
,
final int
the length of the number in the char array
len
)

Since 2.17 use parseBigDecimal(char[], int, int, boolean) instead

Returns:

a BigDecimal
com.fasterxml.jackson.core.io.NumberInput.parseBigDecimal
(final char[]
a char array with text that makes up a number
ch
)

Since 2.17 use parseBigDecimal(char[], boolean) instead

Returns:

a BigInteger
com.fasterxml.jackson.core.io.NumberInput.parseBigInteger
(final String
a string representing a number to parse
s
)

Since 2.17 use parseBigInteger(String, boolean) instead

Returns:

closest matching double
com.fasterxml.jackson.core.io.NumberInput.parseDouble
(final String
a string representing a number to parse
s
)

Since 2.17 use parseDouble(String, boolean) instead

Returns:

closest matching float
com.fasterxml.jackson.core.io.NumberInput.parseFloat
(final String
a string representing a number to parse
s
)

Since 2.17 use parseFloat(String, boolean) instead

com.fasterxml.jackson.core.json.JsonReadContext(JsonReadContext parent, DupDetector dups, int type, int lineNr, int colNr)

com.fasterxml.jackson.core.json.JsonReadContext.getStartLocation(Object
Source reference needed to construct location instance
rawSrc
)

Returns:

Context instance created
com.fasterxml.jackson.core.json.JsonWriteContext.createRootContext
()

Since 2.3; use method that takes argument

com.fasterxml.jackson.core.json.UTF8JsonGenerator(IOContext ctxt, int features, ObjectCodec codec, OutputStream out, byte[] outputBuffer, int outputOffset, boolean bufferRecyclable)

com.fasterxml.jackson.core.json.UTF8StreamJsonParser(IOContext
I/O context to use
ctxt
,
int
Standard stream read features enabled
features
,
InputStream
InputStream used for reading actual content, if any; null if none
in
,
ObjectCodec
ObjectCodec to delegate object deserialization to
codec
,
ByteQuadsCanonicalizer
Name canonicalizer to use
sym
,
byte[]
Input buffer to read initial content from (before Reader)
inputBuffer
,
int
Pointer in inputBuffer that has the first content character to decode
start
,
int
Pointer past the last content character in inputBuffer
end
,
boolean
Whether inputBuffer passed is managed by Jackson core (and thereby needs recycling)
bufferRecyclable
)

Since 2.10

Returns:

Root instance to use for constructing new child instances
com.fasterxml.jackson.core.sym.CharsToNameCanonicalizer.createRoot
()

Since 2.16 use createRoot(TokenStreamFactory) instead

Returns:

Root instance to use for constructing new child instances
com.fasterxml.jackson.core.sym.CharsToNameCanonicalizer.createRoot
(int
Seed for hash value calculation
seed
)

Since 2.16 use createRoot(TokenStreamFactory) instead

Returns:

Actual canonicalizer instance that can be used by a parser
com.fasterxml.jackson.core.sym.CharsToNameCanonicalizer.makeChild
(int
Configuration flags (ignored)
flags
)

Since 2.16 use makeChild() instead.

Returns:

Type-erased class of something not usable at this point
com.fasterxml.jackson.core.type.ResolvedType.getParameterSource
()

Since 2.7: does not have meaning as parameters depend on type resolved.

com.fasterxml.jackson.core.util.BufferRecyclers

Since 2.16 recycling aspects are handled via RecyclerPool.

Returns:

String encoded as UTF-8 bytes.
com.fasterxml.jackson.core.util.BufferRecyclers.encodeAsUTF8
(String
String to encode
text
)

Since 2.10 call JsonStringEncoder#getInstance() and then encodeAsUTF8()) instead. NOTE: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)

Returns:

BufferRecycler to use
com.fasterxml.jackson.core.util.BufferRecyclers.getBufferRecycler
()

Since 2.16 should use RecyclerPool abstraction instead of calling static methods of this class

Returns:

JsonStringEncoder instance to use.
com.fasterxml.jackson.core.util.BufferRecyclers.getJsonStringEncoder
()

Since 2.10 call JsonStringEncoder#getInstance() instead. NOTE: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)

Returns:

Quoted text as char[]
com.fasterxml.jackson.core.util.BufferRecyclers.quoteAsJsonText
(String
String to quote
rawText
)

Since 2.10 call JsonStringEncoder#getInstance() and then quoteAsString()) instead. NOTE: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)

com.fasterxml.jackson.core.util.BufferRecyclers.quoteAsJsonText(CharSequence
Textual content to quote
input
,
StringBuilder
Builder to append quoted content
output
)

Since 2.10 call JsonStringEncoder#getInstance() and then quoteAsString()) instead. NOTE: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)

Returns:

Quoted text as byte[]
com.fasterxml.jackson.core.util.BufferRecyclers.quoteAsJsonUTF8
(String
String to quote
rawText
)

Since 2.10 call JsonStringEncoder#getInstance() (and then quoteAsUTF8()) instead. NOTE: was accidentally removed but reintroduced as deprecated in 2.12.5, to be removed from 3.0)

com.fasterxml.jackson.core.util.DefaultPrettyPrinter(String
String to use as root value separator
rootSeparator
)

in 2.16. Use the Separators API instead.

com.fasterxml.jackson.core.util.DefaultPrettyPrinter(SerializableString
String to use as root value separator
rootSeparator
)

in 2.16. Use the Separators API instead.

com.fasterxml.jackson.core.util.DefaultPrettyPrinter(DefaultPrettyPrinter base, SerializableString rootSeparator)

in 2.16. Use the Separators API instead.

Returns:

This pretty-printer instance (for call chaining)
com.fasterxml.jackson.core.util.DefaultPrettyPrinter.withRootSeparator
(String
Root-level value separator to use
rootSeparator
)

in 2.16. Use the Separators API instead.

Returns:

This pretty-printer instance (for call chaining)
com.fasterxml.jackson.core.util.DefaultPrettyPrinter.withSpacesInObjectEntries
()

in 2.16. Use the Separators API instead.

Returns:

This pretty-printer instance (for call chaining)
com.fasterxml.jackson.core.util.DefaultPrettyPrinter.withoutSpacesInObjectEntries
()

in 2.16. Use the Separators API instead.

com.fasterxml.jackson.core.util.JsonGeneratorDelegate.setCurrentValue(Object
Current value to assign for the current context of this generator
v
)

com.fasterxml.jackson.core.util.JsonGeneratorDelegate.setFeatureMask(int
Bitmask that defines which Features are enabled and which disabled
mask
)

com.fasterxml.jackson.core.util.JsonParserDelegate.setCurrentValue(Object
Current value to assign for the current input context of this parser
v
)

com.fasterxml.jackson.core.util.JsonParserDelegate.setFeatureMask(int
Bit mask that defines set of features to enable
mask
)

com.fasterxml.jackson.core.util.JsonRecyclerPools.LockFreePool

Since 2.18: use other implementations instead

Returns:

Globally shared instance of LockFreePool.
com.fasterxml.jackson.core.util.JsonRecyclerPools.newLockFreePool
()

Since 2.18: use one of other implementations instead; see LockFreePool Javadocs for details

Returns:

Globally shared instance of LockFreePool.
com.fasterxml.jackson.core.util.JsonRecyclerPools.sharedLockFreePool
()

Since 2.18: use one of other implementations instead; see LockFreePool Javadocs for details

com.fasterxml.jackson.core.util.RecyclerPool.LockFreePoolBase<P extends RecyclerPool.WithPool<P>>

Since 2.18: use other implementations

com.fasterxml.jackson.core.util.Separators(String rootSeparator, char objectFieldValueSeparator, Separators.Spacing objectFieldValueSpacing, char objectEntrySeparator, Separators.Spacing objectEntrySpacing, char arrayValueSeparator, Separators.Spacing arrayValueSpacing)

Since 2.17 use new canonical constructor

Returns:

Buffered text value parsed as a Double, if possible
com.fasterxml.jackson.core.util.TextBuffer.contentsAsDouble
()

use contentsAsDouble(boolean)

Returns:

Buffered text value parsed as a Float, if possible
com.fasterxml.jackson.core.util.TextBuffer.contentsAsFloat
()

use contentsAsFloat(boolean)

Returns:

The version
com.fasterxml.jackson.core.util.VersionUtil.mavenVersionFor
(ClassLoader
the ClassLoader to load the pom.properties file from
cl
,
String
the groupId of the library
groupId
,
String
the artifactId of the library
artifactId
)

Since 2.6: functionality not used by any official Jackson component, should be moved out if anyone needs it

Returns:

Version information discovered if any; Version#unknownVersion() if none
com.fasterxml.jackson.core.util.VersionUtil.packageVersionFor
(Class<?>
Class for which to look version information
cls
)

Since 2.12 simply use versionFor(Class) instead

Returns:

Resolved concrete type
com.fasterxml.jackson.databind.AbstractTypeResolver.resolveAbstractType
(DeserializationConfig
Configuration in use
config
,
JavaType
Type to resolve
type
)

since 2.8 (may be removed from 2.9 or later)

Returns:

Creator mode found, if any; null if none
com.fasterxml.jackson.databind.AnnotationIntrospector.findCreatorBinding
(Annotated
Annotated entity to check
ann
)

Since 2.9 use findCreatorAnnotation instead.

Returns:

null if none found or it's not possible to determine one
com.fasterxml.jackson.databind.AnnotationIntrospector.findDefaultEnumValue
(Class<Enum<?>>
The Enum class to scan for the default value
enumCls
)

Since 2.16. Use findDefaultEnumValue(AnnotatedClass, Enum[]) instead.

com.fasterxml.jackson.databind.AnnotationIntrospector.findEnumAliases(Class<?>
Type of Enumeration
enumType
,
Enum<?>[]
Values of enumeration
enumValues
,
String[][]
(in/out) Pre-allocated array where aliases found, if any, may be added (in indexes matching those of enumValues)
aliases
)

Since 2.16

Returns:

Serialized enum value.
com.fasterxml.jackson.databind.AnnotationIntrospector.findEnumValue
(Enum<?>
Enum value to introspect
value
)

Since 2.8: use findEnumValues instead because this method does not properly handle override settings (defaults to enum.name without indicating whether that is explicit or not), and is inefficient to call one-by-one.

Returns:

Array of names to use (possible names passed as argument)
com.fasterxml.jackson.databind.AnnotationIntrospector.findEnumValues
(Class<?>
Type of Enumeration
enumType
,
Enum<?>[]
Values of enumeration
enumValues
,
String[]
Matching declared names of enumeration values (with indexes matching enumValues entries)
names
)

Since 2.16

Returns:

Property ignoral settings to use; JsonIgnoreProperties.Value.empty() for defaults (should not return null)
com.fasterxml.jackson.databind.AnnotationIntrospector.findPropertyIgnorals
(Annotated
Annotated class to introspect
ac
)

2.12, use findPropertyIgnoralByName instead.

Returns:

true if "any-setter" annotation was found; false otherwise
com.fasterxml.jackson.databind.AnnotationIntrospector.hasAnySetterAnnotation
(AnnotatedMethod
Annotated method to check
am
)

Since 2.9 use hasAnySetter instead.

Returns:

True if such annotation is found (and is not disabled), false otherwise
com.fasterxml.jackson.databind.AnnotationIntrospector.hasCreatorAnnotation
(Annotated
Annotated entity to check
ann
)

Since 2.9 use findCreatorAnnotation instead.

com.fasterxml.jackson.databind.JavaType.containedTypeName(int
Index of contained type to return
index
)

com.fasterxml.jackson.databind.JsonDeserializer.getEmptyValue()

Since 2.6 Use overloaded variant that takes context argument

com.fasterxml.jackson.databind.JsonDeserializer.getNullValue()

Since 2.6 Use overloaded variant that takes context argument

com.fasterxml.jackson.databind.JsonMappingException(String msg)

Since 2.7 Use variant that takes JsonParser instead

com.fasterxml.jackson.databind.JsonMappingException(String msg, Throwable rootCause)

Since 2.7 Use variant that takes JsonParser instead

com.fasterxml.jackson.databind.JsonMappingException(String msg, JsonLocation loc)

Since 2.7 Use variant that takes JsonParser instead

com.fasterxml.jackson.databind.JsonMappingException(String msg, JsonLocation loc, Throwable rootCause)

Since 2.7 Use variant that takes JsonParser instead

com.fasterxml.jackson.databind.ObjectMapper.DefaultTyping.EVERYTHING

Since 2.17 and removed from 3.0 --see NON_FINAL_AND_ENUMS for Enum-related usage.

com.fasterxml.jackson.databind.ObjectMapper.addMixInAnnotations(Class<?> target, Class<?> mixinSource)

Since 2.5: replaced by a fluent form of the method; addMixIn(Class, Class).

Returns:

True if mapper can find a serializer for instances of given class (potentially serializable), false otherwise (not serializable)
com.fasterxml.jackson.databind.ObjectMapper.canDeserialize
(JavaType type)

Since 2.18 use discouraged; method to be removed from Jackson 3.0

com.fasterxml.jackson.databind.ObjectMapper.canDeserialize(JavaType type, AtomicReference<Throwable> cause)

Since 2.18 use discouraged; method to be removed from Jackson 3.0

Returns:

True if mapper can find a serializer for instances of given class (potentially serializable), false otherwise (not serializable)
com.fasterxml.jackson.databind.ObjectMapper.canSerialize
(Class<?> type)

Since 2.18 use discouraged; method to be removed from Jackson 3.0

com.fasterxml.jackson.databind.ObjectMapper.canSerialize(Class<?> type, AtomicReference<Throwable> cause)

Since 2.18 use discouraged; method to be removed from Jackson 3.0

com.fasterxml.jackson.databind.ObjectMapper.configure(MapperFeature f, boolean state)

Since 2.13 use JsonMapper.builder().configure(...)

com.fasterxml.jackson.databind.ObjectMapper.disable(MapperFeature... f)

Since 2.13 use JsonMapper.builder().disable(...)

com.fasterxml.jackson.databind.ObjectMapper.enable(MapperFeature... f)

Since 2.13 use JsonMapper.builder().enable(...)

Returns:

Constructed JSON schema.
com.fasterxml.jackson.databind.ObjectMapper.generateJsonSchema
(Class<?>
The class to generate schema for
t
)

Since 2.6 use external JSON Schema generator (jackson-module-jsonSchema) (which under the hood calls acceptJsonFormatVisitor(JavaType, JsonFormatVisitorWrapper))

com.fasterxml.jackson.databind.ObjectMapper.setFilters(FilterProvider filterProvider)

Since 2.6, use setFilterProvider instead (allows chaining)

com.fasterxml.jackson.databind.ObjectMapper.setMixInAnnotations(Map<Class<?>, Class<?>> sourceMixins)

Since 2.5: replaced by a fluent form of the method; setMixIns.

com.fasterxml.jackson.databind.ObjectWriter.canSerialize(Class<?> type)

Since 2.18 use discouraged; method to be removed from Jackson 3.0

com.fasterxml.jackson.databind.ObjectWriter.canSerialize(Class<?> type, AtomicReference<Throwable> cause)

Since 2.18 use discouraged; method to be removed from Jackson 3.0

com.fasterxml.jackson.databind.SerializationFeature.WRITE_EMPTY_JSON_ARRAYS

Since 2.8 there are better mechanism for specifying filtering; specifically using com.fasterxml.jackson.annotation.JsonInclude or configuration overrides.

com.fasterxml.jackson.databind.SerializationFeature.WRITE_NULL_MAP_VALUES

Since 2.9 there are better mechanism for specifying filtering; specifically using com.fasterxml.jackson.annotation.JsonInclude or configuration overrides (see ObjectMapper#configOverride(Class)}).

com.fasterxml.jackson.databind.cfg.MapperConfig.hasMapperFeatures(int featureMask)

Since 2.13 -- no replacement

com.fasterxml.jackson.databind.deser.BeanDeserializer(BeanDeserializerBuilder builder, BeanDescription beanDesc, BeanPropertyMap properties, Map<String, SettableBeanProperty> backRefs, HashSet<String> ignorableProps, boolean ignoreAllUnknown, boolean hasViews)

in 2.12, remove from 3.0

com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromArray(JsonParser p, DeserializationContext ctxt)

Since 2.11 Should not be used: was never meant to be called by code other than sub-classes (implementations), and implementations details differ

com.fasterxml.jackson.databind.deser.BeanDeserializerBase.handlePolymorphic(JsonParser
(optional) If not null, parser that has more properties to handle (in addition to buffered properties); if null, all properties are passed in buffer
p
,
DeserializationContext ctxt, Object bean, TokenBuffer unknownTokens)

use handlePolymorphic(JsonParser, DeserializationContext, StreamReadConstraints, Object, TokenBuffer)

com.fasterxml.jackson.databind.deser.BuilderBasedDeserializer(BeanDeserializerBuilder builder, BeanDescription beanDesc, BeanPropertyMap properties, Map<String, SettableBeanProperty> backRefs, Set<String> ignorableProps, boolean ignoreAllUnknown, boolean hasViews)

Since 2.9

com.fasterxml.jackson.databind.deser.CreatorProperty(PropertyName name, JavaType type, PropertyName wrapperName, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedParameter param, int index, Object injectableValueId, PropertyMetadata metadata)

Since 2.11 use factory method instead

com.fasterxml.jackson.databind.deser.DeserializerCache._createAndCache2(DeserializationContext ctxt, DeserializerFactory factory, JavaType type)

Since 2.18 use version of _createAndCache2 that takes `isCustom` flag

com.fasterxml.jackson.databind.deser.impl.ValueInjector(PropertyName propName, JavaType type, Annotations contextAnnotations, AnnotatedMember mutator, Object valueId)

in 2.9 (remove from 3.0)

com.fasterxml.jackson.databind.deser.std.ContainerDeserializerBase.wrapAndThrow(Throwable t, Object ref, String key)

Since 2.12.2 (since it does not get context for accessing config)

com.fasterxml.jackson.databind.deser.std.EnumDeserializer(EnumResolver byNameResolver, boolean caseInsensitive, EnumResolver byEnumNamingResolver)

since 2.16

com.fasterxml.jackson.databind.deser.std.JdkDeserializers.find(Class<?> rawType, String clsName)

Since 2.14 use the variant that takes one more argument

com.fasterxml.jackson.databind.deser.std.StdValueInstantiator(DeserializationConfig config, Class<?> valueType)

Since 2.7 use constructor that takes JavaType instead

com.fasterxml.jackson.databind.deser.std.UntypedObjectDeserializer()

Since 2.6 use variant takes type arguments

com.fasterxml.jackson.databind.exc.InvalidFormatException(String msg, Object value, Class<?> targetType)

Since 2.7 Use variant that takes JsonParser

com.fasterxml.jackson.databind.exc.InvalidFormatException(String msg, JsonLocation loc, Object value, Class<?> targetType)

Since 2.7 Use variant that takes JsonParser

com.fasterxml.jackson.databind.ext.DOMSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.introspect.AnnotatedMethod.hasReturnType()

Since 2.12 (related to [databind#2675]), needs to be configurable

com.fasterxml.jackson.databind.introspect.AnnotationIntrospectorPair.findEnumAliases(Class<?>
Type of Enumeration
enumType
,
Enum<?>[]
Values of enumeration
enumValues
,
String[][]
(in/out) Pre-allocated array where aliases found, if any, may be added (in indexes matching those of enumValues)
aliases
)

com.fasterxml.jackson.databind.introspect.AnnotationIntrospectorPair.findEnumValues(Class<?>
Type of Enumeration
enumType
,
Enum<?>[]
Values of enumeration
enumValues
,
String[]
Matching declared names of enumeration values (with indexes matching enumValues entries)
names
)

com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector.findEnumAliases(Class<?>
Type of Enumeration
enumType
,
Enum<?>[]
Values of enumeration
enumValues
,
String[][]
(in/out) Pre-allocated array where aliases found, if any, may be added (in indexes matching those of enumValues)
aliasList
)

com.fasterxml.jackson.databind.introspect.JacksonAnnotationIntrospector.findEnumValues(Class<?>
Type of Enumeration
enumType
,
Enum<?>[]
Values of enumeration
enumValues
,
String[]
Matching declared names of enumeration values (with indexes matching enumValues entries)
names
)

Returns:

The schema for the items in the array, or "##irrelevant" if irrelevant.
com.fasterxml.jackson.databind.jsonschema.JsonSerializableSchema.schemaItemDefinition
()

(since 2.1) -- support will be dropped in future, since JSON-as-String is fundamentally bad way for customizing anything. No direct replacements offered.

Returns:

The node representing the schema properties, or "##irrelevant" if irrelevant.
com.fasterxml.jackson.databind.jsonschema.JsonSerializableSchema.schemaObjectPropertiesDefinition
()

(since 2.1) -- support will be dropped in future, since JSON-as-String is fundamentally bad way for customizing anything. No direct replacements offered.

com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer(JavaType bt, TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, JavaType defaultImpl)

Since 2.15 (not used)

com.fasterxml.jackson.databind.jsontype.impl.AsPropertyTypeDeserializer(JavaType bt, TypeIdResolver idRes, String typePropertyName, boolean typeIdVisible, JavaType defaultImpl, JsonTypeInfo.As inclusion)

Since 2.15 (not used)

Returns:

a factory instance with specified configuration
com.fasterxml.jackson.databind.node.JsonNodeFactory.withExactBigDecimals
(boolean
If {code true} DISABLE normalization of BigDecimal values; if {code false} ENABLE normalization
bigDecimalExact
)

Use com.fasterxml.jackson.databind.cfg.JsonNodeFeature#STRIP_TRAILING_BIGDECIMAL_ZEROES instead for configuring behavior.

Returns:

Old value of the property, if any; null if there was no old value.
com.fasterxml.jackson.databind.node.ObjectNode.put
(String
Name of property to set
propertyName
,
JsonNode
Value to set to property; if null, will be converted to a NullNode first (to remove a property, call remove instead).
value
)

Since 2.4 use either set(String, JsonNode) or replace(String, JsonNode),

Returns:

This node after adding/replacing property values (to allow chaining)
com.fasterxml.jackson.databind.node.ObjectNode.putAll
(Map<String, ? extends JsonNode>
Properties to add
properties
)

Since 2.4 use setAll(Map),

Returns:

This node (to allow chaining)
com.fasterxml.jackson.databind.node.ObjectNode.putAll
(ObjectNode
Object of which properties to add to this object
other
)

Since 2.4 use setAll(ObjectNode),

com.fasterxml.jackson.databind.ser.BeanPropertyFilter.depositSchemaProperty(BeanPropertyWriter
Bean property writer to use to create schema value
writer
,
ObjectNode
Node which the given property would exist within
propertiesNode
,
SerializerProvider
Provider that can be used for accessing dynamic aspects of serialization processing
provider
)

Since 2.3: new code should use the alternative depositSchemaProperty method

com.fasterxml.jackson.databind.ser.BeanPropertyWriter(BeanPropertyDefinition propDef, AnnotatedMember member, Annotations contextAnnotations, JavaType declaredType, JsonSerializer<?> ser, TypeSerializer typeSer, JavaType serType, boolean suppressNulls, Object suppressableValue)

com.fasterxml.jackson.databind.ser.BeanPropertyWriter.depositSchemaProperty(ObjectNode
Node which the given property would exist within
propertiesNode
,
SerializerProvider
Provider that can be used for accessing dynamic aspects of serialization processing
provider
)

Returns:

The property type, or null if not found.
com.fasterxml.jackson.databind.ser.BeanPropertyWriter.getGenericPropertyType
()

Since 2.7, to be removed from 2.9, use getType() instead.

com.fasterxml.jackson.databind.ser.ContainerSerializer.hasContentTypeAnnotation(SerializerProvider provider, BeanProperty property)

Since 2.7: should not be needed; should be enough to see if type has 'isStatic' modifier

com.fasterxml.jackson.databind.ser.DefaultSerializerProvider.generateJsonSchema(Class<?>
The type for which to generate schema
type
)

Should not be used any more

Returns:

Filter registered with specified id, if one defined; null if none found.
com.fasterxml.jackson.databind.ser.FilterProvider.findFilter
(Object filterId)

Since 2.3 deprecated because BeanPropertyFilter is deprecated;

com.fasterxml.jackson.databind.ser.PropertyBuilder.getPropertyDefaultValue(String name, AnnotatedMember member, JavaType type)

Since 2.9 since this will not allow determining difference between "no default instance" case and default being `null`.

com.fasterxml.jackson.databind.ser.PropertyFilter.depositSchemaProperty(PropertyWriter
Bean property writer to use to create schema value
writer
,
ObjectNode
Node which the given property would exist within
propertiesNode
,
SerializerProvider
Provider that can be used for accessing dynamic aspects of serialization processing
provider
)

Since 2.3: new code should use the alternative depositSchemaProperty method

com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter.depositSchemaProperty(BeanPropertyWriter
Bean property writer to use to create schema value
writer
,
ObjectNode
Node which the given property would exist within
propertiesNode
,
SerializerProvider
Provider that can be used for accessing dynamic aspects of serialization processing
provider
)

com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter.depositSchemaProperty(BeanPropertyWriter
Bean property serializer to use to create schema value
writer
,
JsonObjectFormatVisitor
JsonObjectFormatVisitor which should be aware of the property's existence
objectVisitor
,
SerializerProvider
Provider that can be used for accessing dynamic aspects of serialization processing
provider
)

com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter.depositSchemaProperty(PropertyWriter
Bean property writer to use to create schema value
writer
,
ObjectNode
Node which the given property would exist within
propertiesNode
,
SerializerProvider
Provider that can be used for accessing dynamic aspects of serialization processing
provider
)

com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter.serializeAsField(Object
Object that contains property value to serialize
bean
,
JsonGenerator
Generator use for serializing value
jgen
,
SerializerProvider
Provider that can be used for accessing dynamic aspects of serialization processing
provider
,
BeanPropertyWriter
Default bean property serializer to use
writer
)

com.fasterxml.jackson.databind.ser.impl.SimpleFilterProvider.setDefaultFilter(BeanPropertyFilter
Filter to return when no filter is found for given id
f
)

Since 2.3 should use PropertyFilter instead of BeanPropertyFilter

com.fasterxml.jackson.databind.ser.impl.StringArraySerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.AsArraySerializerBase(Class<?> cls, JavaType et, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<Object> elementSerializer)

Since 2.6 Use variants that either take 'src', or do NOT pass BeanProperty

com.fasterxml.jackson.databind.ser.std.AsArraySerializerBase(AsArraySerializerBase<?> src, BeanProperty property, TypeSerializer vts, JsonSerializer<?> elementSerializer)

since 2.6: use the overloaded method that takes 'unwrapSingle'

com.fasterxml.jackson.databind.ser.std.AsArraySerializerBase.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.AsArraySerializerBase.withResolved(BeanProperty property, TypeSerializer vts, JsonSerializer<?> elementSerializer)

since 2.6: use the overloaded method that takes 'unwrapSingle'

com.fasterxml.jackson.databind.ser.std.BeanSerializerBase.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

com.fasterxml.jackson.databind.ser.std.BooleanSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.ByteArraySerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.ClassSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.CollectionSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property, JsonSerializer<Object> valueSerializer)

since 2.6

com.fasterxml.jackson.databind.ser.std.DateTimeSerializerBase.getSchema(SerializerProvider
The serializer provider.
serializers
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.EnumSerializer(EnumValues v, Boolean serializeAsIndex, EnumValues valuesByEnumNaming)

Since 2.16

com.fasterxml.jackson.databind.ser.std.EnumSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.FileSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.JsonValueSerializer.getSchema(SerializerProvider
The serializer provider.
ctxt
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.MapSerializer(Set<String> ignoredEntries, JavaType keyType, JavaType valueType, boolean valueTypeIsStatic, TypeSerializer vts, JsonSerializer<?> keySerializer, JsonSerializer<?> valueSerializer)

in 2.12, remove from 3.0

com.fasterxml.jackson.databind.ser.std.MapSerializer(MapSerializer src, BeanProperty property, JsonSerializer<?> keySerializer, JsonSerializer<?> valueSerializer, Set<String> ignoredEntries)

in 2.12, remove from 3.0

com.fasterxml.jackson.databind.ser.std.MapSerializer.construct(String[] ignoredList, JavaType mapType, boolean staticValueType, TypeSerializer vts, JsonSerializer<Object> keySerializer, JsonSerializer<Object> valueSerializer, Object filterId)

Since 2.8 use the other overload

com.fasterxml.jackson.databind.ser.std.MapSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.NullSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.NumberSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.NumberSerializers.Base.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.RawSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.SqlTimeSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StaticListSerializerBase.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdArraySerializers.BooleanArraySerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdArraySerializers.CharArraySerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdArraySerializers.DoubleArraySerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdArraySerializers.FloatArraySerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdArraySerializers.IntArraySerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdArraySerializers.LongArraySerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdArraySerializers.ShortArraySerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdDelegatingSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdDelegatingSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
,
boolean
Is the type optional
isOptional
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdJdkSerializers.AtomicBooleanSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdJdkSerializers.AtomicIntegerSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdJdkSerializers.AtomicLongSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdScalarSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.StdSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15, we recommend use of external JSON Schema generator module

com.fasterxml.jackson.databind.ser.std.StdSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
,
boolean
Is the type optional
isOptional
)

Since 2.15, we recommend use of external JSON Schema generator module

com.fasterxml.jackson.databind.ser.std.StringSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.ToEmptyObjectSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.ToStringSerializerBase.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.ser.std.TokenBufferSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.databind.type.CollectionLikeType.construct(Class<?> rawType, JavaType elemT)

Since 2.7, use upgradeFrom for constructing instances, given pre-resolved SimpleType.

com.fasterxml.jackson.databind.type.TypeBase.containedTypeName(int
Index of contained type to return
index
)

com.fasterxml.jackson.databind.type.TypeFactory.constructSimpleType(Class<?> rawType, Class<?> parameterTarget, JavaType[] parameterTypes)

Since 2.7

com.fasterxml.jackson.databind.type.TypeFactory.constructType(Type type, Class<?> contextClass)

Since 2.7 (accidentally removed in 2.7.0; added back in 2.7.1)

com.fasterxml.jackson.databind.type.TypeFactory.constructType(Type type, JavaType contextType)

Since 2.7 (accidentally removed in 2.7.0; added back in 2.7.1)

com.fasterxml.jackson.databind.type.TypeFactory.findTypeParameters(Class<?> clz, Class<?> expType, TypeBindings bindings)

Since 2.7 resolve raw type first, then find type parameters

com.fasterxml.jackson.databind.type.TypeFactory.findTypeParameters(Class<?> clz, Class<?> expType)

Since 2.7 resolve raw type first, then find type parameters

com.fasterxml.jackson.databind.type.TypeFactory.uncheckedSimpleType(Class<?> cls)

Since 2.8, to indicate users should never call this method.

com.fasterxml.jackson.databind.util.ClassUtil.checkAndFixAccess(Member member)

Since 2.7 call variant that takes boolean flag.

com.fasterxml.jackson.databind.util.ClassUtil.getDeclaredFields(Class<?> cls)

since 2.11 (just call Class method directly)

com.fasterxml.jackson.databind.util.ClassUtil.getDeclaredMethods(Class<?> cls)

since 2.11 (just call Class method directly)

com.fasterxml.jackson.databind.util.ClassUtil.getPackageName(Class<?> cls)

Since 2.12 (just call methods directly or check class name)

com.fasterxml.jackson.databind.util.ClassUtil.hasGetterSignature(Method m)

Since 2.6 not used; may be removed before 3.x

com.fasterxml.jackson.databind.util.TokenBuffer.Parser(TokenBuffer.Segment firstSeg, ObjectCodec codec, boolean hasNativeTypeIds, boolean hasNativeObjectIds)

com.fasterxml.jackson.databind.util.TokenBuffer.Parser(TokenBuffer.Segment firstSeg, ObjectCodec codec, boolean hasNativeTypeIds, boolean hasNativeObjectIds, JsonStreamContext parentContext)

com.fasterxml.jackson.databind.util.TokenBuffer.setFeatureMask(int
Bitmask that defines which Features are enabled and which disabled
mask
)

com.fasterxml.jackson.dataformat.cbor.CBORGenerator.setCurrentValue(Object
Current value to assign for the current context of this generator
v
)

com.fasterxml.jackson.dataformat.cbor.CBORGenerator.writeStartArray(int
Number of elements this array will have: actual number of values written (before matching call to writeEndArray() MUST match; generator MAY verify this is the case (and SHOULD if format itself encodes length)
elementsToWrite
)

com.fasterxml.jackson.dataformat.cbor.CBORReadContext.getStartLocation(Object
Source reference needed to construct location instance
rawSrc
)

com.fasterxml.jackson.dataformat.ion.EnumAsIonSymbolSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.dataformat.ion.IonSymbolSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.dataformat.ion.util.CloseSafeUTF8Writer

Since 2.13 should not be needed any more

com.fasterxml.jackson.dataformat.javaprop.JavaPropsParser(IOContext ctxt, Object inputSource, int parserFeatures, ObjectCodec codec, Properties sourceProps)

com.fasterxml.jackson.dataformat.protobuf.ProtobufGenerator.setCurrentValue(Object
Current value to assign for the current context of this generator
v
)

com.fasterxml.jackson.dataformat.smile.SmileGenerator.setCurrentValue(Object
Current value to assign for the current context of this generator
v
)

com.fasterxml.jackson.dataformat.smile.SmileGenerator.writeStartArray(int
Number of elements this array will have: actual number of values written (before matching call to writeEndArray() MUST match; generator MAY verify this is the case (and SHOULD if format itself encodes length)
size
)

com.fasterxml.jackson.dataformat.toml.Parser.parse(final IOContext ioContext, final int options, final Reader reader)

com.fasterxml.jackson.dataformat.xml.XmlFactory.setXMLInputFactory(XMLInputFactory f)

Since 2.12 -- should be set as part of build process (either in builder, or constructor)

com.fasterxml.jackson.dataformat.xml.XmlFactory.setXMLOutputFactory(XMLOutputFactory f)

Since 2.12 -- should be set as part of build process (either in builder, or constructor)

com.fasterxml.jackson.dataformat.xml.deser.XmlReadContext(XmlReadContext parent, int type, int lineNr, int colNr)

Since 2.18

com.fasterxml.jackson.dataformat.xml.jaxb.XmlJaxbAnnotationIntrospector

Since 2.12 (as per above notes): broken since 2.13

com.fasterxml.jackson.dataformat.yaml.YAMLGenerator(IOContext ctxt, int jsonFeatures, int yamlFeatures, ObjectCodec codec, Writer out, DumperOptions.Version version)

com.fasterxml.jackson.dataformat.yaml.YAMLParser(IOContext ctxt, BufferRecycler br, int parserFeatures, int formatFeatures, ObjectCodec codec, Reader reader)

since 2.14, use other constructor

com.fasterxml.jackson.datatype.guava.deser.RangeDeserializer(JavaType rangeType, JsonDeserializer<?> endpointDeser, BoundType defaultBoundType, RangeHelper.RangeProperties fieldNames)

Since 2.17 use other constructor(s)

com.fasterxml.jackson.datatype.hibernate5.HibernateProxySerializer(boolean forceLazyLoading, boolean serializeIdentifier)

com.fasterxml.jackson.datatype.hibernate5.HibernateProxySerializer(boolean forceLazyLoading, boolean serializeIdentifier, Mapping mapping)

com.fasterxml.jackson.datatype.hibernate5.HibernateProxySerializer(boolean forceLazyLoading, boolean serializeIdentifier, boolean nullMissingEntities, Mapping mapping)

com.fasterxml.jackson.datatype.hibernate5.HibernateProxySerializer(boolean forceLazyLoading, boolean serializeIdentifier, boolean nullMissingEntities, Mapping mapping, BeanProperty property)

com.fasterxml.jackson.datatype.joda.ser.JodaDateSerializerBase.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

com.fasterxml.jackson.datatype.joda.ser.PeriodSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

com.fasterxml.jackson.datatype.jsr310.DecimalUtils.extractNanosecondDecimal(BigDecimal value, long integer)

due to potential unbounded latency on some JRE releases.

com.fasterxml.jackson.datatype.jsr310.JSR310Module

Replaced by JavaTimeModule since Jackson 2.7, see above for details on differences in the default configuration.

com.fasterxml.jackson.datatype.jsr310.ser.JSR310FormattedSerializerBase.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

Since 2.15

com.fasterxml.jackson.jakarta.rs.base.util.LRUMap<K, V>

Since 2.16.1 use LRUMap from jackson-databind.

com.fasterxml.jackson.jaxrs.util.LRUMap<K, V>

Since 2.16.1 Use one from jackson-databind instead.

Returns:

This builder for call chaining
com.fasterxml.jackson.jr.ob.JSON.Builder.treeCodec
(TreeCodec
TreeCodec to use
tc
)

Since 2.18 should register codec using Extension mechanism (using register(JacksonJrExtension)).

Returns:

New instance with specified factory (if not same as currently configured); this otherwise.
com.fasterxml.jackson.jr.ob.JSON.with
(JsonFactory
Jackson core format factory to use for low-level decoding/encoding
f
)

Since 2.11 should not try changing underlying stream factory but create a new instance if necessary: method will be removed from 3.0 at latest

Returns:

New instance with specified codec (if not same as currently configured); this otherwise.
com.fasterxml.jackson.jr.ob.JSON.with
(TreeCodec
Tree codec to use for reading/writing of tree representation
c
)

Since 2.11 should try using builder (see builder() and create properly configured instance

Returns:

New instance with specified JSONReader (if not same as currently configured); this otherwise.
com.fasterxml.jackson.jr.ob.JSON.with
(JSONReader
Customized JSONReader to use instead of standard one
r
)

Since 2.11 should try using builder (see builder() and create properly configured instance

Returns:

New instance with specified JSONWriter (if not same as currently configured); this otherwise.
com.fasterxml.jackson.jr.ob.JSON.with
(JSONWriter
Customized JSONWriter to use instead of standard one
w
)

Since 2.11 should try using builder (see builder() and create properly configured instance

com.fasterxml.jackson.jr.ob.impl.BeanReader(Class<?> type, Map<String, BeanPropertyReader> props, Constructor<?> defaultCtor, Constructor<?> stringCtor, Constructor<?> longCtor, Set<String> ignorableNames, Map<String, String> aliasMapping)

com.fasterxml.jackson.jr.ob.impl.POJODefinition(Class<?> type, POJODefinition.Prop[] props, Constructor<?> defaultCtor, Constructor<?> stringCtor, Constructor<?> longCtor)

com.fasterxml.jackson.module.jakarta.xmlbind.JakartaXmlBindAnnotationIntrospector.findEnumValues(Class<?>
Type of Enumeration
enumType
,
Enum<?>[]
Values of enumeration
enumValues
,
String[]
Matching declared names of enumeration values (with indexes matching enumValues entries)
names
)

com.fasterxml.jackson.module.jakarta.xmlbind.ser.DataHandlerSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)

com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector()

Since 2.1, use constructor that takes TypeFactory.

com.fasterxml.jackson.module.jaxb.JaxbAnnotationIntrospector.findEnumValues(Class<?>
Type of Enumeration
enumType
,
Enum<?>[]
Values of enumeration
enumValues
,
String[]
Matching declared names of enumeration values (with indexes matching enumValues entries)
names
)

com.fasterxml.jackson.module.jaxb.ser.DataHandlerJsonSerializer.getSchema(SerializerProvider
The serializer provider.
provider
,
Type
A hint about the type.
typeHint
)