int _deserFeatures
DeserializationFeature
s enabled.LinkedNode<T> _problemHandlers
JsonNodeFactory _nodeFactory
JsonNode
instances.int _parserFeatures
JsonParser.Feature
s to enable/disable.int _parserFeaturesToChange
JsonParser.Feature
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 _from
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".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
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
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 can not 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
can not 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
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.
int _serFeatures
SerializationFeature
s enabled.JsonInclude.Include _serializationInclusion
FilterProvider _filterProvider
PrettyPrinter _defaultPrettyPrinter
int _generatorFeatures
JsonGenerator.Feature
s to enable/disable.int _generatorFeaturesToChange
JsonGenerator.Feature
s to enable/disableClassIntrospector _classIntrospector
AnnotationIntrospector _annotationIntrospector
VisibilityChecker<T extends VisibilityChecker<T>> _visibilityChecker
JsonAutoDetect
annotation)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.
Default value is TimeZone.getDefault()
, which is typically the
local time zone (unless overridden for JVM).
Note that if a new value is set, time zone 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).Deserializers[] _additionalDeserializers
KeyDeserializers[] _additionalKeyDeserializers
BeanDeserializerModifier[] _modifiers
BeanDeserializer
instances
are configured and constructed.AbstractTypeResolver[] _abstractTypeResolvers
ValueInstantiators[] _valueInstantiators
int _mapperFeatures
BaseSettings _base
SimpleMixInResolver _mixIns
SubtypeResolver _subtypeResolver
PropertyName _rootName
Class<T> _view
Object.class
is defined), meaning that all properties are to be included.ContextAttributes _attributes
RootNameLookup _rootNames
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
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
HashSet<E> _ignorableProps
boolean _ignoreAllUnknown
boolean _needViewProcesing
Map<K,V> _backRefs
UnwrappedPropertyHandler _unwrappedPropertyHandler
ExternalTypeHandler _externalTypeIdHandler
ObjectIdReader _objectIdReader
AnnotatedMethod _buildMethod
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
AnnotatedMethod _setter
JavaType _type
JsonDeserializer<T> _valueDeserializer
TypeDeserializer _valueTypeDeserializer
PropertyName _propName
JavaType _type
PropertyName _wrapperName
JsonDeserializer<T> _valueDeserializer
NOTE: has been immutable since 2.3
TypeDeserializer _valueTypeDeserializer
PropertyMetadata _metadata
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
ReadableObjectId _roid
List<E> _unresolvedIds
BeanDeserializerBase _delegate
SettableBeanProperty[] _orderedProperties
AnnotatedMethod _buildMethod
BeanDeserializerBase _delegate
SettableBeanProperty[] _orderedProperties
boolean _caseInsensitive
int _hashMask
int _size
int _spillCount
Object[] _hashArea
SettableBeanProperty[] _propsInOrder
String _message
Object readResolve()
AnnotatedField _annotated
SettableBeanProperty _delegate
AnnotatedConstructor _annotated
String _referenceName
boolean _isContainer
SettableBeanProperty _managedProperty
SettableBeanProperty _backProperty
Object readResolve()
AnnotatedMethod _annotated
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
JavaType _referencedType
TypeDeserializer _valueTypeDeserializer
JsonDeserializer<T> _valueDeserializer
JavaType _collectionType
JsonDeserializer<T> _valueDeserializer
TypeDeserializer _valueTypeDeserializer
ValueInstantiator _valueInstantiator
JsonDeserializer<T> _delegateDeserializer
DateFormat _customFormat
String _formatString
JsonDeserializer<T> _delegatee
CompactStringObjectMap _enumLookup
Object[] _enumsByIndex
Class<T> _inputType
Method _factory
JsonDeserializer<T> _deser
JavaType _mapType
Class<T> _enumClass
KeyDeserializer _keyDeserializer
JsonDeserializer<T> _valueDeserializer
TypeDeserializer _valueTypeDeserializer
JavaType _enumType
Class<T> _enumClass
JsonDeserializer<T> _enumDeserializer
JavaType _mapType
KeyDeserializer _keyDeserializer
MapDeserializer.resolve(com.fasterxml.jackson.databind.DeserializationContext)
is called;boolean _standardStringKey
JsonDeserializer<T> _valueDeserializer
TypeDeserializer _valueTypeDeserializer
ValueInstantiator _valueInstantiator
boolean _hasDefaultCreator
JsonDeserializer<T> _delegateDeserializer
PropertyBasedCreator _propertyBasedCreator
HashSet<E> _ignorableProperties
JavaType _type
KeyDeserializer _keyDeserializer
MapEntryDeserializer.createContextual(com.fasterxml.jackson.databind.DeserializationContext, com.fasterxml.jackson.databind.BeanProperty)
is called;JsonDeserializer<T> _valueDeserializer
TypeDeserializer _valueTypeDeserializer
Object _nullValue
boolean _primitive
ArrayType _arrayType
boolean _untyped
Class<T> _elementClass
JsonDeserializer<T> _elementDeserializer
TypeDeserializer _elementTypeDeserializer
int _kind
Class<T> _keyClass
FromStringDeserializer<T> _deser
JsonDeserializer<T> _treeDeserializer
String _valueTypeDesc
AnnotatedWithParams _defaultCreator
StdValueInstantiator.createUsingDefault(com.fasterxml.jackson.databind.DeserializationContext)
)AnnotatedWithParams _withArgsCreator
CreatorProperty[] _constructorArguments
JavaType _delegateType
AnnotatedWithParams _delegateCreator
CreatorProperty[] _delegateArguments
AnnotatedWithParams _fromStringCreator
AnnotatedWithParams _fromIntCreator
AnnotatedWithParams _fromLongCreator
AnnotatedWithParams _fromDoubleCreator
AnnotatedWithParams _fromBooleanCreator
AnnotatedParameter _incompleteParameter
JsonDeserializer<T> _elementDeserializer
JavaType _collectionType
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 hereClass<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
Type _type
int _index
AnnotationMap[] _paramAnnotations
AnnotationIntrospector _primary
AnnotationIntrospector _secondary
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
BeanSerializerBase _defaultSerializer
String _msg
BeanProperty _property
boolean _valueTypeIsStatic
JavaType _entryType
JavaType _keyType
JavaType _valueType
JsonSerializer<T> _keySerializer
JsonSerializer<T> _valueSerializer
TypeSerializer _valueTypeSerializer
PropertySerializerMap _dynamicValueSerializers
BeanPropertyWriter _property
Map<K,V> _filtersById
PropertyFilter _defaultFilter
boolean _cfgFailOnUnknownId
JsonSerializer<T> _elementSerializer
NameTransformer _nameTransformer
BeanProperty _property
Boolean _unwrapSingle
JavaType _elementType
BeanProperty _property
boolean _staticTyping
Boolean _unwrapSingle
TypeSerializer _valueTypeSerializer
JsonSerializer<T> _elementSerializer
PropertySerializerMap _dynamicSerializers
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.boolean _staticTyping
BeanProperty _property
EnumValues _keyEnums
JavaType _valueType
JsonSerializer<T> _valueSerializer
TypeSerializer _valueTypeSerializer
EnumValues _values
Boolean _serializeAsIndex
Method _accessorMethod
JsonSerializer<T> _valueSerializer
BeanProperty _property
boolean _forceTypeInformation
BeanProperty _property
HashSet<E> _ignoredEntries
boolean _valueTypeIsStatic
JavaType _keyType
JavaType _valueType
JsonSerializer<T> _keySerializer
JsonSerializer<T> _valueSerializer
TypeSerializer _valueTypeSerializer
PropertySerializerMap _dynamicValueSerializers
Object _filterId
boolean _sortKeys
Object _suppressableValue
JsonInclude.Include
, or actual object to compare
against ("default value")JsonParser.NumberType _numberType
String _schemaType
boolean _isInt
boolean _staticTyping
JavaType _elementType
TypeSerializer _valueTypeSerializer
JsonSerializer<T> _elementSerializer
PropertySerializerMap _dynamicSerializers
JsonSerializer<T> _serializer
Boolean _unwrapSingle
TypeSerializer _valueTypeSerializer
JavaType _elementType
JavaType _referencedType
Class<T> _typeParametersFor
JavaType.getRawClass()
or its supertype.JavaType[] _typeParameters
String[] _typeNames
SimpleType._typeParameters
LRUMap<K,V> _typeCache
TypeModifier[] _modifiers
TypeModifier
s: objects that can change details
of JavaType
instances factory constructs.TypeParser _parser
ClassLoader _classLoader
TypeFactory _factory
private void readObject(ObjectInputStream in) throws IOException
IOException
private void writeObject(ObjectOutputStream out) throws IOException
IOException
protected Object readResolve()
protected Object readResolve()
Locale _locale
Copyright © 2014–2015 FasterXML. All rights reserved.