PropertyName _name
JavaType _type
PropertyName _wrapperName
PropertyMetadata _metadata
AnnotatedMember _member
LinkedNode<T> _problemHandlers
JsonNodeFactory _nodeFactory
JsonNode
instances.int _deserFeatures
DeserializationFeature
s enabled.int _parserFeatures
JsonParser.Feature
s to enable/disable.int _parserFeaturesToChange
JsonParser.Feature
s to enable/disableint _formatReadFeatures
FormatFeature
s to enable/disable.int _formatReadFeaturesToChange
FormatFeature
s to enable/disableDeserializerCache _cache
JsonDeserializer
caching.DeserializerFactory _factory
ObjectMapper
, ObjectReader
)
access it.DeserializationConfig _config
int _featureFlags
DeserializationFeature
s that are enabledClass<T> _view
InjectableValues _injectableValues
LinkedNode<T> _currentType
JsonDeserializer
(or, more specifically,
ContextualDeserializer
) that is being
contextualized currently.Class<T> _class
int _hash
Object _valueHandler
Note: untyped (i.e. caller has to cast) because it is used for different kinds of handlers, with unrelated types.
Object _typeHandler
Note: untyped (i.e. caller has to cast) because it is used for different kinds of handlers, with unrelated types.
boolean _asStatic
LinkedList<E> _path
Object writeReplace()
String _fieldName
JsonMappingException.Reference._index
defined), or when resolving
Map classes without (yet) having an instance to operate on.int _index
Collection
instance that contained
the reference; used if index is relevant and available.
If either not applicable, or not available, -1 is used to
denote "not known" (or not relevant).String _desc
JsonMappingException.Reference._from
is
non-serializable (and has to be dropped) but we still want to pass
actual description along.JsonFactory _jsonFactory
JsonParser
and JsonGenerator
instances as necessary.TypeFactory _typeFactory
JavaType
instances;
needed to allow modules to add more custom type handling
(mostly to support types of non-Java JVM languages)InjectableValues _injectableValues
SubtypeResolver _subtypeResolver
ConfigOverrides _configOverrides
SimpleMixInResolver _mixIns
Annotations associated with the value classes will be used to override annotations of the key class, associated with the same field or method. They can be further masked by sub-classes: you can think of it as injecting annotations between the target class and its sub-classes (or interfaces)
Map
SerializationConfig _serializationConfig
DefaultSerializerProvider _serializerProvider
ObjectMapper._serializerFactory
to allow
for constructing custom serializers.
Note: while serializers are only exposed SerializerProvider
,
mappers and readers need to access additional API defined by
DefaultSerializerProvider
SerializerFactory _serializerFactory
DeserializationConfig _deserializationConfig
DefaultDeserializationContext _deserializationContext
Set<E> _registeredModuleTypes
Module.getTypeId()
that have been
registered; kept track of iff MapperFeature.IGNORE_DUPLICATE_MODULE_REGISTRATIONS
is enabled, so that duplicate registration calls can be ignored
(to avoid adding same handlers multiple times, mostly).ConcurrentHashMap<K,V> _rootDeserializers
Given that we don't expect much concurrency for additions (should very quickly converge to zero after startup), let's explicitly define a low concurrency setting.
Since version 1.5, these may are either "raw" deserializers (when no type information is needed for base type), or type-wrapped deserializers (if it is needed)
ObjectMapper.DefaultTyping _appliesFor
DeserializationConfig _config
DefaultDeserializationContext _context
JsonFactory _parserFactory
JsonGenerator
sboolean _unwrapRoot
TokenFilter _filter
JavaType _valueType
ObjectReader._valueToUpdate
is non-null, only used for
locating deserializer.JsonDeserializer<T> _rootDeserializer
ObjectReader._valueType
is known, and if so, reuse it afterwards.
This allows avoiding further deserializer lookups and increases
performance a bit on cases where readers are reused.Object _valueToUpdate
ArrayType
; array
types cannot be modified because array size is immutable.FormatSchema _schema
InjectableValues _injectableValues
DataFormatReaders _dataFormatReaders
NOTE: If defined non-null, readValue()
methods that take
Reader
or String
input will fail with exception,
because format-detection only works on byte-sources. Also, if format
cannot be detect reliably (as per detector settings),
a JsonParseException
will be thrown).
ConcurrentHashMap<K,V> _rootDeserializers
ObjectMapper
, shared with it.SerializationConfig _config
DefaultSerializerProvider _serializerProvider
SerializerFactory _serializerFactory
JsonFactory _generatorFactory
JsonGenerator
sObjectWriter.GeneratorSettings _generatorSettings
JsonGenerator
constructed for serializing values.ObjectWriter.Prefetch _prefetch
PrettyPrinter prettyPrinter
FormatSchema schema
CharacterEscapes characterEscapes
SerializableString rootValueSeparator
JavaType rootType
JsonSerializer<T> valueSerializer
ObjectWriter.Prefetch.rootType
is known, and if so, reuse it afterwards.
This allows avoiding further serializer lookups and increases
performance a bit on cases where readers are reused.TypeSerializer typeSerializer
TypeSerializer
.protected Object readResolve()
Boolean _required
String _description
Integer _index
String _defaultValue
Nulls _valueNulls
Nulls _contentNulls
protected Object readResolve()
String _simpleName
String _namespace
SerializableString _encodedSimple
NOTE: not defined as volatile to avoid performance problem with
concurrent access in multi-core environments; due to statelessness
of SerializedString
at most leads to multiple instantiations.
FilterProvider _filterProvider
PrettyPrinter _defaultPrettyPrinter
int _serFeatures
SerializationFeature
s enabled.int _generatorFeatures
JsonGenerator.Feature
s to enable/disable.int _generatorFeaturesToChange
JsonGenerator.Feature
s to enable/disableint _formatWriteFeatures
FormatFeature
s to enable/disable.int _formatWriteFeaturesToChange
FormatFeature
s to enable/disableClassIntrospector _classIntrospector
AnnotationIntrospector _annotationIntrospector
PropertyNamingStrategy _propertyNamingStrategy
TypeFactory _typeFactory
JavaType
instances;
needed to allow modules to add more custom type handling
(mostly to support types of non-Java JVM languages)TypeResolverBuilder<T extends TypeResolverBuilder<T>> _typeResolverBuilder
Object.class
)DateFormat _dateFormat
StdDateFormat
.
Note that the configured format object will be cloned once per deserialization process (first time it is needed)
HandlerInstantiator _handlerInstantiator
Locale _locale
Locale
used with serialization formats.
Default value is Locale.getDefault()
.TimeZone _timeZone
TimeZone
used with serialization formats,
if (and only if!) explicitly set by use; otherwise `null` to indicate
"use default", which means "UTC" (from Jackson 2.7); earlier versions
(up to 2.6) used "GMT".
Note that if a new value is set, timezone is also assigned to
BaseSettings._dateFormat
of this object.
Base64Variant _defaultBase64
Base64Variant
to use for handling
binary data (byte[]
), used with data formats
that use base64 encoding (like JSON, CSV).Map<K,V> _overrides
JsonInclude.Value _defaultInclusion
JsonSetter.Value _defaultSetterInfo
VisibilityChecker<T extends VisibilityChecker<T>> _visibilityChecker
Boolean _defaultMergeable
Deserializers[] _additionalDeserializers
KeyDeserializers[] _additionalKeyDeserializers
BeanDeserializerModifier[] _modifiers
BeanDeserializer
instances
are configured and constructed.AbstractTypeResolver[] _abstractTypeResolvers
ValueInstantiators[] _valueInstantiators
int _mapperFeatures
BaseSettings _base
SimpleMixInResolver _mixIns
SubtypeResolver _subtypeResolver
Note that instances are stateful and as such may need to be copied,
and may NOT be demoted down to BaseSettings
.
PropertyName _rootName
Class<T> _view
Object.class
is defined), meaning that all properties are to be included.ContextAttributes _attributes
RootNameLookup _rootNames
Note that instances are stateful (for caching) and as such may need to be copied,
and may NOT be demoted down to BaseSettings
.
ConfigOverrides _configOverrides
Serializers[] _additionalSerializers
Serializers[] _additionalKeySerializers
BeanSerializerModifier[] _modifiers
BeanSerializer
instances
are configured and constructed.JavaType _baseType
ObjectIdReader _objectIdReader
Map<K,V> _backRefProperties
boolean _acceptString
boolean _acceptBoolean
boolean _acceptInt
boolean _acceptDouble
DeserializerFactoryConfig _factoryConfig
JavaType _beanType
JsonFormat.Shape _serializationShape
ValueInstantiator _valueInstantiator
JsonDeserializer<T> _delegateDeserializer
JsonDeserializer<T> _arrayDelegateDeserializer
PropertyBasedCreator _propertyBasedCreator
boolean _nonStandardCreation
boolean _vanillaProcessing
BeanPropertyMap _beanProperties
ValueInjector[] _injectables
ValueInjector
s, if any injectable values are
expected by the bean; otherwise null.
This includes injectors used for injecting values via setters
and fields, but not ones passed through constructor parameters.SettableAnyProperty _anySetter
Set<E> _ignorableProps
boolean _ignoreAllUnknown
boolean _needViewProcesing
Map<K,V> _backRefs
UnwrappedPropertyHandler _unwrappedPropertyHandler
ExternalTypeHandler _externalTypeIdHandler
ObjectIdReader _objectIdReader
AnnotatedMethod _buildMethod
JavaType _targetType
AnnotatedParameter _annotated
Object _injectableValueId
int _creatorIndex
SettableBeanProperty _fallbackSetter
Mutable only to allow setting after construction, but must be strictly set before any use.
Object writeReplace()
ConcurrentHashMap<K,V> _cachedDeserializers
Given that we don't expect much concurrency for additions (should very quickly converge to zero after startup), let's define a relatively low concurrency setting.
HashMap<K,V> _incompleteDeserializers
Object readResolve()
BeanProperty _property
AnnotatedMember _setter
boolean _setterIsField
JavaType _type
JsonDeserializer<T> _valueDeserializer
TypeDeserializer _valueTypeDeserializer
KeyDeserializer _keyDeserializer
PropertyName _propName
JavaType _type
PropertyName _wrapperName
JsonDeserializer<T> _valueDeserializer
NOTE: has been immutable since 2.3
TypeDeserializer _valueTypeDeserializer
NullValueProvider _nullProvider
_valueDeserializer
, but not always.String _managedReferenceName
TODO: should try to make immutable.
ObjectIdInfo _objectIdInfo
TODO: should try to make immutable.
ViewMatcher _viewMatcher
TODO: should try to make immutable.
int _propertyIndex
TODO: should try to make immutable if at all possible
SettableBeanProperty delegate
ReadableObjectId _roid
List<E> _unresolvedIds
BeanDeserializerBase _delegate
SettableBeanProperty[] _orderedProperties
AnnotatedMethod _buildMethod
JavaType _targetType
BeanDeserializerBase _delegate
SettableBeanProperty[] _orderedProperties
boolean _caseInsensitive
int _hashMask
int _size
int _spillCount
Object[] _hashArea
SettableBeanProperty[] _propsInOrder
Map<K,V> _aliasDefs
Map<K,V> _aliasMapping
AnnotatedWithParams _base
int _type
String _message
Object readResolve()
AnnotatedField _annotated
boolean _skipNulls
AnnotatedConstructor _annotated
String _referenceName
boolean _isContainer
SettableBeanProperty _backProperty
AnnotatedMember _accessor
Object readResolve()
AnnotatedMethod _annotated
boolean _skipNulls
JsonDeserializer<T> _deserializer
Object _nullValue
AccessPattern _access
PropertyName _name
JavaType _type
JavaType _idType
PropertyName propertyName
ObjectIdGenerator<T> generator
SerializerProvider
using this as
the key.ObjectIdResolver resolver
JsonDeserializer<T> _deserializer
SettableBeanProperty idProperty
SettableBeanProperty _forward
ObjectIdReader _objectIdReader
AnnotatedMethod _annotated
Method _getter
TypeDeserializer _typeDeserializer
JsonDeserializer<T> _deserializer
Object _valueId
JsonDeserializer<T> _valueDeserializer
TypeDeserializer _valueTypeDeserializer
ValueInstantiator _valueInstantiator
JsonDeserializer<T> _delegateDeserializer
JavaType _containerType
NullValueProvider _nullProvider
Boolean _unwrapSingle
boolean _skipNullValues
_nullProvider
indicates that all null
content values should be skipped (instead of being possibly converted).Constructor<T> _defaultCtor
DateFormat _customFormat
String _formatString
JsonDeserializer<T> _delegatee
Object[] _enumsByIndex
Enum<E extends Enum<E>> _enumDefaultValue
CompactStringObjectMap _lookupByName
CompactStringObjectMap _lookupByToString
Boolean _caseInsensitive
Class<T> _enumClass
KeyDeserializer _keyDeserializer
JsonDeserializer<T> _valueDeserializer
TypeDeserializer _valueTypeDeserializer
ValueInstantiator _valueInstantiator
JsonDeserializer<T> _delegateDeserializer
PropertyBasedCreator _propertyBasedCreator
JavaType _enumType
Class<T> _enumClass
JsonDeserializer<T> _enumDeserializer
Boolean _unwrapSingle
KeyDeserializer _keyDeserializer
MapDeserializer.resolve(com.fasterxml.jackson.databind.DeserializationContext)
is called;boolean _standardStringKey
JsonDeserializer<T> _valueDeserializer
TypeDeserializer _valueTypeDeserializer
ValueInstantiator _valueInstantiator
JsonDeserializer<T> _delegateDeserializer
PropertyBasedCreator _propertyBasedCreator
boolean _hasDefaultCreator
Set<E> _ignorableProperties
KeyDeserializer _keyDeserializer
MapEntryDeserializer.createContextual(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.BeanProperty)
is called;JsonDeserializer<T> _valueDeserializer
TypeDeserializer _valueTypeDeserializer
boolean _untyped
Class<T> _elementClass
JsonDeserializer<T> _elementDeserializer
TypeDeserializer _elementTypeDeserializer
Boolean _unwrapSingle
NullValueProvider _nuller
JavaType _fullType
ValueInstantiator _valueInstantiator
TypeDeserializer _valueTypeDeserializer
JsonDeserializer<T> _valueDeserializer
Converter<IN,OUT> _converter
StdDelegatingDeserializer._delegateDeserializer
.JavaType _delegateType
JsonDeserializer<T> _delegateDeserializer
T
.int _kind
Class<T> _keyClass
FromStringDeserializer<T> _deser
JsonDeserializer<T> _treeDeserializer
String _valueTypeDesc
Class<T> _valueClass
AnnotatedWithParams _defaultCreator
StdValueInstantiator.createUsingDefault(com.fasterxml.jackson.databind.DeserializationContext)
)AnnotatedWithParams _withArgsCreator
SettableBeanProperty[] _constructorArguments
JavaType _delegateType
AnnotatedWithParams _delegateCreator
SettableBeanProperty[] _delegateArguments
JavaType _arrayDelegateType
AnnotatedWithParams _arrayDelegateCreator
SettableBeanProperty[] _arrayDelegateArguments
AnnotatedWithParams _fromStringCreator
AnnotatedWithParams _fromIntCreator
AnnotatedWithParams _fromLongCreator
AnnotatedWithParams _fromDoubleCreator
AnnotatedWithParams _fromBooleanCreator
AnnotatedParameter _incompleteParameter
JsonDeserializer<T> _elementDeserializer
NullValueProvider _nullProvider
Boolean _unwrapSingle
boolean _skipNullValues
_nullProvider
indicates that all null
content values should be skipped (instead of being possibly converted).JsonDeserializer<T> _valueDeserializer
ValueInstantiator _valueInstantiator
JsonDeserializer<T> _delegateDeserializer
JsonDeserializer<T> _mapDeserializer
JsonDeserializer<T> _listDeserializer
JsonDeserializer<T> _stringDeserializer
JsonDeserializer<T> _numberDeserializer
JavaType _listType
List
has been mapped to non-default implementation,
we'll store type hereJavaType _mapType
Map
has been mapped to non-default implementation,
we'll store type hereboolean _nonMerging
JavaType _type
Object _value
PropertyName _propertyName
Class<T> _referringClass
String _propertyName
Note: redundant information since it is also included in the reference path.
Collection<E> _propertyIds
JsonSerializer<T> _delegate
DOMImplementationLS _domImpl
Constructor<T> _constructor
com.fasterxml.jackson.databind.introspect.AnnotatedConstructor.Serialization _serialization
AnnotatedWithParams _owner
JavaType _type
int _index
AnnotationMap[] _paramAnnotations
Class<T> _type
Annotation _value
Class<T> _type1
Class<T> _type2
Annotation _value1
Annotation _value2
AnnotationIntrospector _primary
AnnotationIntrospector _secondary
PropertyMetadata _metadata
protected Object readResolve()
boolean _cfgConstructorPropertiesImpliesCreator
JacksonAnnotationIntrospector.setConstructorPropertiesImpliesCreator(boolean)
for
explanation.
Defaults to true.
ClassIntrospector.MixInResolver _overrides
Map<K,V> _localMixIns
JsonAutoDetect.Visibility _getterMinLevel
JsonAutoDetect.Visibility _isGetterMinLevel
JsonAutoDetect.Visibility _setterMinLevel
JsonAutoDetect.Visibility _creatorMinLevel
JsonAutoDetect.Visibility _fieldMinLevel
JsonTypeInfo.As _inclusion
LinkedHashSet<E> _registeredSubtypes
TypeIdResolver _idResolver
JavaType _baseType
BeanProperty _property
TypeDeserializerBase.forProperty(com.fasterxml.jackson.databind.BeanProperty)
is called to create
a copy.JavaType _defaultImpl
String _typePropertyName
boolean _typeIdVisible
Map<K,V> _deserializers
JsonDeserializer<T> _defaultImplDeserializer
String _name
Version _version
SimpleSerializers _serializers
SimpleDeserializers _deserializers
SimpleSerializers _keySerializers
SimpleKeyDeserializers _keyDeserializers
SimpleAbstractTypeResolver _abstractTypes
SimpleValueInstantiators _valueInstantiators
BeanDeserializerModifier _deserializerModifier
BeanSerializerModifier _serializerModifier
HashMap<K,V> _mixins
LinkedHashSet<E> _subtypes
PropertyNamingStrategy _namingStrategy
HashMap<K,V> _classMappings
HashMap<K,V> _interfaceMappings
boolean _hasEnumSerializer
HashMap<K,V> _classMappings
ValueInstantiator
instances.SerializerFactoryConfig _factoryConfig
Object readResolve()
SerializedString _name
NOTE: do NOT change name of this field; it is accessed by Afterburner module (until 2.4; not directly from 2.5) ALSO NOTE: ... and while it really ought to be `SerializableString`, changing that is also binary-incompatible change. So nope.
PropertyName _wrapperName
JavaType _declaredType
JavaType _cfgSerializationType
JavaType _nonTrivialBaseType
AnnotatedMember _member
JsonSerializer<T> _serializer
JsonSerializer<T> _nullSerializer
TypeSerializer _typeSerializer
boolean _suppressNulls
BeanPropertyWriter._nullSerializer
.Object _suppressableValue
Class<T>[] _includeInViews
String _attrName
BeanSerializerBase _defaultSerializer
String _msg
BeanProperty _property
boolean _valueTypeIsStatic
JavaType _entryType
JavaType _keyType
JavaType _valueType
JsonSerializer<T> _keySerializer
JsonSerializer<T> _valueSerializer
TypeSerializer _valueTypeSerializer
PropertySerializerMap _dynamicValueSerializers
Object _suppressableValue
equals()
is called), or marker
value of MapEntrySerializer.MARKER_FOR_EMPTY
, or null to indicate no filtering for
non-null values.
Note that inclusion value for Map instance itself is handled by caller (POJO
property that refers to the Map value).boolean _suppressNulls
MapEntrySerializer._suppressableValue
BeanPropertyWriter _property
Map<K,V> _filtersById
PropertyFilter _defaultFilter
boolean _cfgFailOnUnknownId
JsonSerializer<T> _elementSerializer
NameTransformer _nameTransformer
NameTransformer _nameTransformer
BeanProperty _property
Boolean _unwrapSingle
JavaType _elementType
BeanProperty _property
boolean _staticTyping
Boolean _unwrapSingle
TypeSerializer _valueTypeSerializer
JsonSerializer<T> _elementSerializer
PropertySerializerMap _dynamicSerializers
JavaType _beanType
BeanPropertyWriter[] _props
BeanPropertyWriter[] _filteredProps
AnyGetterWriter _anyGetterWriter
JsonAnyGetter
annotated propertiesObject _propertyFilterId
AnnotatedMember _typeId
ObjectIdWriter _objectIdWriter
JsonFormat.Shape _serializationShape
Boolean _useTimestamp
DateFormat _customFormat
DateTimeSerializerBase._useTimestamp
is true.AtomicReference<V> _reusedCustomFormat
DateTimeSerializerBase._customFormat
is used, we will try to reuse instances in simplest
possible form; thread-safe, but without overhead of ThreadLocal
(not from code, but wrt retaining of possibly large number of format instances
over all threads, properties with custom formats).EnumValues _values
Boolean _serializeAsIndex
AnnotatedMember _accessor
JsonSerializer<T> _valueSerializer
BeanProperty _property
boolean _forceTypeInformation
TypeSerializer _typeSerializer
BeanProperty _property
Object _key
Object _value
JsonSerializer<T> _keySerializer
JsonSerializer<T> _valueSerializer
BeanProperty _property
boolean _valueTypeIsStatic
JavaType _keyType
JavaType _valueType
JsonSerializer<T> _keySerializer
JsonSerializer<T> _valueSerializer
TypeSerializer _valueTypeSerializer
PropertySerializerMap _dynamicValueSerializers
Set<E> _ignoredEntries
Object _filterId
Object _suppressableValue
equals()
is called), or marker
value of MapSerializer.MARKER_FOR_EMPTY
, or null to indicate no filtering for
non-null values.
Note that inclusion value for Map instance itself is handled by caller (POJO
property that refers to the Map value).boolean _suppressNulls
MapSerializer._suppressableValue
boolean _sortKeys
JsonParser.NumberType _numberType
String _schemaType
boolean _isInt
boolean _staticTyping
JavaType _elementType
TypeSerializer _valueTypeSerializer
JsonSerializer<T> _elementSerializer
PropertySerializerMap _dynamicSerializers
JavaType _referredType
BeanProperty _property
TypeSerializer _valueTypeSerializer
JsonSerializer<T> _valueSerializer
NameTransformer _unwrapper
Object _suppressableValue
equals()
is called), or marker
value of ReferenceTypeSerializer.MARKER_FOR_EMPTY
, or null to indicate no filtering for
non-null values.
Note that inclusion value for Map instance itself is handled by caller (POJO
property that refers to the Map value).boolean _suppressNulls
ReferenceTypeSerializer._suppressableValue
Boolean _unwrapSingle
Object readResolve()
EnumValues _values
JavaType _elementType
JavaType _referencedType
JavaType _anchorType
SimpleType
is upgraded into reference type, but NOT changed
if being sub-classed.JavaType _referencedType
JavaType _superClass
JavaType[] _superInterfaces
TypeBindings _bindings
protected Object readResolve()
LRUMap<K,V> _typeCache
TypeModifier[] _modifiers
TypeModifier
s: objects that can change details
of JavaType
instances factory constructs.TypeParser _parser
ClassLoader _classLoader
TypeFactory _factory
int _hashMask
int _spillCount
Object[] _hashArea
private void readObject(ObjectInputStream in) throws IOException
IOException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
protected Object readResolve()
NameTransformer _t1
NameTransformer _t2
protected Object readResolve()
Locale _locale
Boolean _lenient
Cannot be `final` because StdDateFormat.setLenient(boolean)
returns
`void`.
Copyright © 2008–2017 FasterXML. All rights reserved.