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()
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".String _asString
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
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 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.
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/disableJsonInclude.Value _serializationInclusion
NOTE: type changed in 2.7, to include both value and content inclusion options./
ClassIntrospector _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,
if (and only if!) explicitly set by use; otherwise `null` to indicate
"use default", which currently (Jackson 2.6) means "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).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
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
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
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
Boolean _unwrapSingle
DateFormat _customFormat
String _formatString
JsonDeserializer<T> _delegatee
Object[] _enumsByIndex
CompactStringObjectMap _lookupByName
CompactStringObjectMap _lookupByToString
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
Boolean _unwrapSingle
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
Boolean _unwrapSingle
Boolean _unwrapSingle
int _kind
Class<T> _keyClass
FromStringDeserializer<T> _deser
JsonDeserializer<T> _treeDeserializer
String _valueTypeDesc
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
Boolean _unwrapSingle
JavaType _collectionType
JsonDeserializer<T> _valueDeserializer
ValueInstantiator _valueInstantiator
JsonDeserializer<T> _delegateDeserializer
Boolean _unwrapSingle
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
JavaType _type
int _index
AnnotationMap[] _paramAnnotations
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
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 _referredType
BeanProperty _property
TypeSerializer _valueTypeSerializer
JsonSerializer<T> _valueSerializer
NameTransformer _unwrapper
JsonInclude.Include _contentInclusion
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.EnumValues _values
Boolean _serializeAsIndex
Method _accessorMethod
JsonSerializer<T> _valueSerializer
BeanProperty _property
boolean _forceTypeInformation
TypeSerializer _typeSerializer
BeanProperty _property
Object _key
JsonSerializer<T> _keySerializer
JsonSerializer<T> _valueSerializer
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").
Note that inclusion value for Map instance itself is handled by caller (POJO
property that refers to the Map 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
Object readResolve()
EnumValues _values
JavaType _elementType
JavaType _referencedType
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
Can not be `final` because StdDateFormat.setLenient(boolean)
returns
`void`.
Copyright © 2008–2018 FasterXML. All rights reserved.