Top Description Fields Constructors Methods
tools.jackson.module.afterburner.deser

public abstract Class SuperSonicBDBase

extends BeanDeserializer
Class Inheritance
Known Direct Subclasses
tools.jackson.module.afterburner.deser.SuperSonicBeanDeserializer, tools.jackson.module.afterburner.deser.SuperSonicUnrolledDeserializer
Imports
java.util.*, tools.jackson.core.*, tools.jackson.core.io.SerializedString, tools.jackson.core.sym.PropertyNameMatcher, tools.jackson.databind.*, tools.jackson.databind.deser.*, tools.jackson.databind.deser.bean.BeanDeserializer, .BeanPropertyMap, .PropertyBasedCreator, tools.jackson.databind.deser.impl.UnwrappedPropertyHandler

Base class for implementations of bean deserializers that Afterburner uses to replace standard BeanDeserializer.

Field Summary

Modifier and TypeField and Description
protected SettableBeanProperty[]
_orderedProperties

Properties matching names in _orderedPropertyNames, assigned after resolution when property instances are finalized.

protected final SerializedString[]
_orderedPropertyNames

Names of properties being deserialized, in ordered they are expected to have been written (as per serialization settings); used for speculative order-based optimizations

Inherited from tools.jackson.databind.deser.bean.BeanDeserializer:
_currentlyTransforming_propNameMatcher_propsByIndex

Constructor Summary

AccessConstructor and Description
public
protected
SuperSonicBDBase(SuperSonicBDBase src, UnwrappedPropertyHandler unwrapHandler, PropertyBasedCreator propertyBasedCreator, BeanPropertyMap renamedProperties, boolean ignoreAllUnknown)

Method Summary

Modifier and TypeMethod and Description
protected final Object
public void
resolve(DeserializationContext ctxt)

Overrides tools.jackson.databind.deser.bean.BeanDeserializerBase.resolve.

This method is overridden as we need to know expected order of properties.

Inherited from tools.jackson.databind.deser.bean.BeanDeserializer:
_deserializeFromArray_deserializeOther_deserializeUsingPropertyBased_deserializeWithErrorWrapping_deserializeWithExternalTypeId_handleNullFromPropsBasedCreator_handleUnexpectedWithinasArrayDeserializerdeserializedeserializedeserializeFromNulldeserializeFromObjectdeserializeUsingPropertyBasedWithExternalTypeIddeserializeUsingPropertyBasedWithUnwrappeddeserializeWithExternalTypeIddeserializeWithExternalTypeIddeserializeWithUnwrappeddeserializeWithUnwrappeddeserializeWithViewinitNameMatcherunwrappingDeserializerwithBeanPropertieswithByNameInclusionwithIgnoreAllUnknownwithObjectIdReader

Field Detail

_orderedPropertiesback to summary
protected SettableBeanProperty[] _orderedProperties

Properties matching names in _orderedPropertyNames, assigned after resolution when property instances are finalized.

_orderedPropertyNamesback to summary
protected final SerializedString[] _orderedPropertyNames

Names of properties being deserialized, in ordered they are expected to have been written (as per serialization settings); used for speculative order-based optimizations

Constructor Detail

SuperSonicBDBaseback to summary
public SuperSonicBDBase(BeanDeserializer src, List<SettableBeanProperty> props)
SuperSonicBDBaseback to summary
protected SuperSonicBDBase(SuperSonicBDBase src, UnwrappedPropertyHandler unwrapHandler, PropertyBasedCreator propertyBasedCreator, BeanPropertyMap renamedProperties, boolean ignoreAllUnknown)

Method Detail

_deserializeDisorderedback to summary
protected final Object _deserializeDisordered(JsonParser p, DeserializationContext ctxt, Object bean) throws JacksonException
resolveback to summary
public void resolve(DeserializationContext ctxt)

Overrides tools.jackson.databind.deser.bean.BeanDeserializerBase.resolve.

This method is overridden as we need to know expected order of properties.

Annotations
@Override