public class BeanDeserializer extends BeanDeserializerBase implements java.io.Serializable
JsonDeserializer.None
Constructor and Description |
---|
BeanDeserializer(BeanDeserializerBase src,
BeanPropertyMap props) |
BeanDeserializer(BeanDeserializerBase src,
ObjectIdReader oir) |
BeanDeserializer(BeanDeserializerBase src,
java.util.Set<java.lang.String> ignorableProps) |
BeanDeserializer(BeanDeserializerBuilder builder,
BeanDescription beanDesc,
BeanPropertyMap properties,
java.util.Map<java.lang.String,SettableBeanProperty> backRefs,
java.util.HashSet<java.lang.String> ignorableProps,
boolean ignoreAllUnknown,
boolean hasViews)
Constructor used by
BeanDeserializerBuilder . |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserialize(JsonParser p,
DeserializationContext ctxt)
Main deserialization method for bean-based objects (POJOs).
|
java.lang.Object |
deserialize(JsonParser p,
DeserializationContext ctxt,
java.lang.Object bean)
Secondary deserialization method, called in cases where POJO
instance is created as part of deserialization, potentially
after collecting some or all of the properties to set.
|
java.lang.Object |
deserializeFromObject(JsonParser p,
DeserializationContext ctxt)
General version used when handling needs more advanced features.
|
JsonDeserializer<java.lang.Object> |
unwrappingDeserializer(NameTransformer transformer)
Method that will return deserializer instance that is able
to handle "unwrapped" value instances
If no unwrapped instance can be constructed, will simply
return this object as-is.
|
BeanDeserializerBase |
withBeanProperties(BeanPropertyMap props)
Mutant factory method that custom sub-classes must override; not left as
abstract to prevent more drastic backwards compatibility problems.
|
BeanDeserializer |
withIgnorableProperties(java.util.Set<java.lang.String> ignorableProps) |
BeanDeserializer |
withObjectIdReader(ObjectIdReader oir) |
createContextual, creatorProperties, deserializeFromArray, deserializeFromBoolean, deserializeFromDouble, deserializeFromEmbedded, deserializeFromNumber, deserializeFromString, deserializeWithType, findBackReference, findProperty, findProperty, findProperty, getBeanClass, getEmptyAccessPattern, getEmptyValue, getKnownPropertyNames, getNullAccessPattern, getObjectIdReader, getPropertyCount, getValueInstantiator, getValueType, handledType, hasProperty, hasViews, isCachable, properties, replaceProperty, resolve, supportsUpdate, wrapAndThrow
getValueClass
getDelegatee, getEmptyValue, getNullValue, getNullValue, replaceDelegatee
public BeanDeserializer(BeanDeserializerBuilder builder, BeanDescription beanDesc, BeanPropertyMap properties, java.util.Map<java.lang.String,SettableBeanProperty> backRefs, java.util.HashSet<java.lang.String> ignorableProps, boolean ignoreAllUnknown, boolean hasViews)
BeanDeserializerBuilder
.public BeanDeserializer(BeanDeserializerBase src, ObjectIdReader oir)
public BeanDeserializer(BeanDeserializerBase src, java.util.Set<java.lang.String> ignorableProps)
public BeanDeserializer(BeanDeserializerBase src, BeanPropertyMap props)
public JsonDeserializer<java.lang.Object> unwrappingDeserializer(NameTransformer transformer)
JsonDeserializer
Default implementation just returns 'this' indicating that no unwrapped variant exists
unwrappingDeserializer
in class BeanDeserializerBase
public BeanDeserializer withObjectIdReader(ObjectIdReader oir)
withObjectIdReader
in class BeanDeserializerBase
public BeanDeserializer withIgnorableProperties(java.util.Set<java.lang.String> ignorableProps)
withIgnorableProperties
in class BeanDeserializerBase
public BeanDeserializerBase withBeanProperties(BeanPropertyMap props)
BeanDeserializerBase
withBeanProperties
in class BeanDeserializerBase
public java.lang.Object deserialize(JsonParser p, DeserializationContext ctxt) throws java.io.IOException
deserialize
in class JsonDeserializer<java.lang.Object>
p
- Parsed used for reading JSON contentctxt
- Context that can be used to access information about
this deserialization activity.java.io.IOException
public java.lang.Object deserialize(JsonParser p, DeserializationContext ctxt, java.lang.Object bean) throws java.io.IOException
deserialize
in class JsonDeserializer<java.lang.Object>
java.io.IOException
public java.lang.Object deserializeFromObject(JsonParser p, DeserializationContext ctxt) throws java.io.IOException
deserializeFromObject
in class BeanDeserializerBase
java.io.IOException
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"