程序包 | 说明 |
---|---|
org.codehaus.jackson.map |
Contains basic mapper (conversion) functionality that
allows for converting between regular streaming json content and
Java objects (beans or Tree Model: support for both is via
ObjectMapper class, as well
as convenience methods included in
JsonParser
Object mapper will convert Json content to ant from
basic Java wrapper types (Integer, Boolean, Double),
Collection types (List, Map), Java Beans,
Strings and nulls. |
org.codehaus.jackson.map.deser |
Contains implementation classes of deserialization part of
data binding.
|
org.codehaus.jackson.map.deser.impl |
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
|
org.codehaus.jackson.map.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
org.codehaus.jackson.map.ext |
Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
|
org.codehaus.jackson.map.jsontype.impl |
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver . |
org.codehaus.jackson.xc |
Package that contains XML Compatibility functionality for Jackson, such
as handlers for JAXB annotations
|
限定符和类型 | 字段和说明 |
---|---|
protected DeserializationContext |
MappingIterator._context |
限定符和类型 | 方法和说明 |
---|---|
protected DeserializationContext |
ObjectReader._createDeserializationContext(JsonParser jp,
DeserializationConfig cfg) |
protected DeserializationContext |
ObjectMapper._createDeserializationContext(JsonParser jp,
DeserializationConfig cfg) |
限定符和类型 | 方法和说明 |
---|---|
protected Object |
ObjectReader._unwrapAndDeserialize(JsonParser jp,
DeserializationContext ctxt,
JavaType rootType,
JsonDeserializer<Object> deser) |
protected Object |
ObjectMapper._unwrapAndDeserialize(JsonParser jp,
JavaType rootType,
DeserializationContext ctxt,
JsonDeserializer<Object> deser) |
abstract T |
JsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
Method that can be called to ask implementation to deserialize
JSON content into the value type this serializer handles.
|
T |
JsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
T intoValue)
Alternate deserialization method (compared to the most commonly
used,
JsonDeserializer.deserialize(JsonParser, DeserializationContext) ),
which takes in initialized value instance, to be
configured and/or populated by deserializer. |
abstract Object |
KeyDeserializer.deserializeKey(String key,
DeserializationContext ctxt)
Method called to deserialize a
Map key from JSON property name. |
abstract Object |
TypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
may have been serialized using any kind of JSON value
(Array, Object, scalar).
|
abstract Object |
TypeDeserializer.deserializeTypedFromArray(JsonParser jp,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as JSON Array (regardless of Java type).
|
abstract Object |
TypeDeserializer.deserializeTypedFromObject(JsonParser jp,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as JSON Object (regardless of Java type).
|
abstract Object |
TypeDeserializer.deserializeTypedFromScalar(JsonParser jp,
DeserializationContext ctxt)
Method called to let this type deserializer handle
deserialization of "typed" object, when value itself
is serialized as a scalar JSON value (something other
than Array or Object), regardless of Java type.
|
Object |
JsonDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
Deserialization called when type being deserialized is defined to
contain additional type identifier, to allow for correctly
instantiating correct subtype.
|
abstract Object |
InjectableValues.findInjectableValue(Object valueId,
DeserializationContext ctxt,
BeanProperty forProperty,
Object beanInstance)
Method called to find value identified by id
valueId to
inject as value of specified property during deserialization, passing
POJO instance in which value will be injected if it is available
(will be available when injected via field or setter; not available
when injected via constructor or factory method argument). |
Object |
InjectableValues.Std.findInjectableValue(Object valueId,
DeserializationContext ctxt,
BeanProperty forProperty,
Object beanInstance) |
boolean |
DeserializationProblemHandler.handleUnknownProperty(DeserializationContext ctxt,
JsonDeserializer<?> deserializer,
Object beanOrClass,
String propertyName)
Method called when a Json Map ("Object") entry with an unrecognized
name is encountered.
|
构造器和说明 |
---|
MappingIterator(JavaType type,
JsonParser jp,
DeserializationContext ctxt,
JsonDeserializer<?> deser) |
MappingIterator(JavaType type,
JsonParser jp,
DeserializationContext ctxt,
JsonDeserializer<?> deser,
boolean closeParser,
Object valueToUpdate) |
限定符和类型 | 类和说明 |
---|---|
class |
StdDeserializationContext
Default implementation of
DeserializationContext . |
限定符和类型 | 方法和说明 |
---|---|
protected Object |
AbstractDeserializer._deserializeIfNatural(JsonParser jp,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer._deserializeUsingPropertyBased(JsonParser jp,
DeserializationContext ctxt)
Method called to deserialize bean using "property-based creator":
this means that a non-default constructor or factory method is
called, and then possibly other setters.
|
protected JsonDeserializer<Object> |
BeanDeserializer._findSubclassDeserializer(DeserializationContext ctxt,
Object bean,
TokenBuffer unknownTokens)
Helper method called to (try to) locate deserializer for given sub-type of
type that this deserializer handles.
|
Object |
StdDeserializerProvider.WrappedDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
String |
StdDeserializer.StringDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
已过时。
|
Object |
SettableBeanProperty.deserialize(JsonParser jp,
DeserializationContext ctxt)
This method is needed by some specialized bean deserializers,
and also called by some
SettableBeanProperty.deserializeAndSet(org.codehaus.jackson.JsonParser, org.codehaus.jackson.map.DeserializationContext, java.lang.Object) implementations. |
Object |
SettableAnyProperty.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Object |
BeanDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
Main deserialization method for bean-based objects (POJOs).
|
Object |
AbstractDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Object |
BeanDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
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.
|
abstract void |
SettableBeanProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
Method called to deserialize appropriate value, given parser (and
context), and set it using appropriate mechanism.
|
void |
SettableBeanProperty.MethodProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance) |
void |
SettableBeanProperty.SetterlessProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance) |
void |
SettableBeanProperty.FieldProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance) |
void |
SettableBeanProperty.ManagedReferenceProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance) |
void |
SettableBeanProperty.InnerClassProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object bean) |
void |
SettableAnyProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance,
String propName)
Method called to deserialize appropriate value, given parser (and
context), and set it using appropriate method (a setter method).
|
protected JsonNode |
JsonNodeDeserializer.deserializeAny(JsonParser jp,
DeserializationContext ctxt)
已过时。
since 1.9.0
|
protected ArrayNode |
JsonNodeDeserializer.deserializeArray(JsonParser jp,
DeserializationContext ctxt)
已过时。
since 1.9.0
|
Object |
BeanDeserializer.deserializeFromArray(JsonParser jp,
DeserializationContext ctxt) |
Object |
BeanDeserializer.deserializeFromBoolean(JsonParser jp,
DeserializationContext ctxt)
Method called to deserialize POJO value from a JSON boolean
value (true, false)
|
Object |
BeanDeserializer.deserializeFromDouble(JsonParser jp,
DeserializationContext ctxt)
Method called to deserialize POJO value from a JSON floating-point
number.
|
Object |
BeanDeserializer.deserializeFromNumber(JsonParser jp,
DeserializationContext ctxt) |
Object |
BeanDeserializer.deserializeFromObject(JsonParser jp,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeFromObjectUsingNonDefault(JsonParser jp,
DeserializationContext ctxt) |
Object |
BeanDeserializer.deserializeFromString(JsonParser jp,
DeserializationContext ctxt) |
protected ObjectNode |
JsonNodeDeserializer.deserializeObject(JsonParser jp,
DeserializationContext ctxt)
已过时。
since 1.9.0
|
protected Object |
BeanDeserializer.deserializeUsingPropertyBasedWithExternalTypeId(JsonParser jp,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeUsingPropertyBasedWithUnwrapped(JsonParser jp,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeWithExternalTypeId(JsonParser jp,
DeserializationContext ctxt) |
protected Object |
BeanDeserializer.deserializeWithExternalTypeId(JsonParser jp,
DeserializationContext ctxt,
Object bean) |
Object |
StdDeserializerProvider.WrappedDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
String |
StdDeserializer.StringDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
已过时。
|
Object |
BeanDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
AbstractDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
protected Object |
BeanDeserializer.deserializeWithUnwrapped(JsonParser jp,
DeserializationContext ctxt)
Method called when there are declared "unwrapped" properties
which need special handling
|
protected Object |
BeanDeserializer.deserializeWithUnwrapped(JsonParser jp,
DeserializationContext ctxt,
Object bean) |
protected Object |
BeanDeserializer.handlePolymorphic(JsonParser jp,
DeserializationContext ctxt,
Object bean,
TokenBuffer unknownTokens)
Method called in cases where we may have polymorphic deserialization
case: that is, type of Creator-constructed bean is not the type
of deserializer itself.
|
protected Object |
BeanDeserializer.handleUnknownProperties(DeserializationContext ctxt,
Object bean,
TokenBuffer unknownTokens)
Method called to handle set of one or more unknown properties,
stored in their entirety in given
TokenBuffer
(as field entries, name and value). |
protected void |
BeanDeserializer.handleUnknownProperty(JsonParser jp,
DeserializationContext ctxt,
Object beanOrClass,
String propName)
Method called when a JSON property is encountered that has not matching
setter, any-setter or field, and thus can not be assigned.
|
protected void |
BeanDeserializer.injectValues(DeserializationContext ctxt,
Object bean) |
Object |
SettableBeanProperty.NullProvider.nullValue(DeserializationContext ctxt) |
void |
BeanDeserializer.wrapAndThrow(Throwable t,
Object bean,
int index,
DeserializationContext ctxt) |
void |
BeanDeserializer.wrapAndThrow(Throwable t,
Object bean,
String fieldName,
DeserializationContext ctxt)
Method that will modify caught exception (passed in as argument)
as necessary to include reference information, and to ensure it
is a subtype of
IOException , or an unchecked exception. |
protected void |
BeanDeserializer.wrapInstantiationProblem(Throwable t,
DeserializationContext ctxt) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
ExternalTypeHandler._deserialize(JsonParser jp,
DeserializationContext ctxt,
Object bean,
int index) |
Object |
ExternalTypeHandler.complete(JsonParser jp,
DeserializationContext ctxt,
Object bean) |
void |
CreatorProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance) |
Object |
CreatorProperty.findInjectableValue(DeserializationContext context,
Object beanInstance)
Method that can be called to locate value to be injected for this
property, if it is configured for this.
|
Object |
ValueInjector.findValue(DeserializationContext context,
Object beanInstance) |
boolean |
ExternalTypeHandler.handleToken(JsonParser jp,
DeserializationContext ctxt,
String propName,
Object bean)
Method called to ask handler to handle
|
boolean |
ExternalTypeHandler.handleTypePropertyValue(JsonParser jp,
DeserializationContext ctxt,
String propName,
Object bean)
Method called to see if given property/value pair is an external type
id; and if so handle it.
|
void |
ValueInjector.inject(DeserializationContext context,
Object beanInstance) |
void |
CreatorProperty.inject(DeserializationContext context,
Object beanInstance)
Method to find value to inject, and inject it to this property.
|
Object |
UnwrappedPropertyHandler.processUnwrapped(JsonParser originalParser,
DeserializationContext ctxt,
Object bean,
TokenBuffer buffered) |
PropertyValueBuffer |
PropertyBasedCreator.startBuilding(JsonParser jp,
DeserializationContext ctxt)
Method called when starting to build a bean instance.
|
构造器和说明 |
---|
PropertyValueBuffer(JsonParser jp,
DeserializationContext ctxt,
int paramCount) |
限定符和类型 | 方法和说明 |
---|---|
protected abstract T |
FromStringDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected UUID |
FromStringDeserializer.UUIDDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected URL |
FromStringDeserializer.URLDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected URI |
FromStringDeserializer.URIDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected Currency |
FromStringDeserializer.CurrencyDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected Pattern |
FromStringDeserializer.PatternDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected Locale |
FromStringDeserializer.LocaleDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected InetAddress |
FromStringDeserializer.InetAddressDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected Charset |
FromStringDeserializer.CharsetDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected TimeZone |
FromStringDeserializer.TimeZoneDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected T |
FromStringDeserializer._deserializeEmbedded(Object ob,
DeserializationContext ctxt) |
protected UUID |
FromStringDeserializer.UUIDDeserializer._deserializeEmbedded(Object ob,
DeserializationContext ctxt) |
Map<Object,Object> |
MapDeserializer._deserializeUsingCreator(JsonParser jp,
DeserializationContext ctxt) |
protected abstract Object |
StdKeyDeserializer._parse(String key,
DeserializationContext ctxt) |
protected Boolean |
StdDeserializer._parseBoolean(JsonParser jp,
DeserializationContext ctxt) |
protected boolean |
StdDeserializer._parseBooleanFromNumber(JsonParser jp,
DeserializationContext ctxt) |
protected boolean |
StdDeserializer._parseBooleanPrimitive(JsonParser jp,
DeserializationContext ctxt) |
protected Byte |
StdDeserializer._parseByte(JsonParser jp,
DeserializationContext ctxt) |
protected Date |
StdDeserializer._parseDate(JsonParser jp,
DeserializationContext ctxt) |
protected Double |
StdDeserializer._parseDouble(JsonParser jp,
DeserializationContext ctxt) |
protected double |
StdDeserializer._parseDoublePrimitive(JsonParser jp,
DeserializationContext ctxt) |
protected Float |
StdDeserializer._parseFloat(JsonParser jp,
DeserializationContext ctxt) |
protected float |
StdDeserializer._parseFloatPrimitive(JsonParser jp,
DeserializationContext ctxt) |
protected Integer |
StdDeserializer._parseInteger(JsonParser jp,
DeserializationContext ctxt) |
protected int |
StdDeserializer._parseIntPrimitive(JsonParser jp,
DeserializationContext ctxt) |
protected Long |
StdDeserializer._parseLong(JsonParser jp,
DeserializationContext ctxt) |
protected long |
StdDeserializer._parseLongPrimitive(JsonParser jp,
DeserializationContext ctxt) |
protected Short |
StdDeserializer._parseShort(JsonParser jp,
DeserializationContext ctxt) |
protected short |
StdDeserializer._parseShortPrimitive(JsonParser jp,
DeserializationContext ctxt) |
protected void |
MapDeserializer._readAndBind(JsonParser jp,
DeserializationContext ctxt,
Map<Object,Object> result) |
Object |
UntypedObjectDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
TokenBuffer |
TokenBufferDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Timestamp |
TimestampDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
String |
StringDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Collection<String> |
StringCollectionDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Boolean |
StdDeserializer.BooleanDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Byte |
StdDeserializer.ByteDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Short |
StdDeserializer.ShortDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Character |
StdDeserializer.CharacterDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Integer |
StdDeserializer.IntegerDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Long |
StdDeserializer.LongDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Float |
StdDeserializer.FloatDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Double |
StdDeserializer.DoubleDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Number |
StdDeserializer.NumberDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
BigDecimal |
StdDeserializer.BigDecimalDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
BigInteger |
StdDeserializer.BigIntegerDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Date |
StdDeserializer.SqlDateDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
StackTraceElement |
StdDeserializer.StackTraceElementDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Object[] |
ObjectArrayDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Map<Object,Object> |
MapDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
JsonNode |
JsonNodeDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
Implementation that will produce types of any JSON nodes; not just one
deserializer is registered to handle (in case of more specialized handler).
|
JavaType |
JavaTypeDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
T |
FromStringDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
EnumSet<?> |
EnumSetDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
EnumMap<?,?> |
EnumMapDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Enum<?> |
EnumDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Object |
EnumDeserializer.FactoryBasedDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Date |
DateDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Collection<Object> |
CollectionDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Class<?> |
ClassDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Calendar |
CalendarDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
AtomicReference<?> |
AtomicReferenceDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
AtomicBoolean |
AtomicBooleanDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Collection<Object> |
CollectionDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Collection<Object> result) |
Collection<String> |
StringCollectionDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Collection<String> result) |
Map<Object,Object> |
MapDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Map<Object,Object> result) |
protected Byte[] |
ObjectArrayDeserializer.deserializeFromBase64(JsonParser jp,
DeserializationContext ctxt) |
Object |
ThrowableDeserializer.deserializeFromObject(JsonParser jp,
DeserializationContext ctxt) |
Object |
StdKeyDeserializer.deserializeKey(String key,
DeserializationContext ctxt) |
Object |
UntypedObjectDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
String |
StringDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
StringCollectionDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
StdScalarDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
StdDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
Base implementation that does not assume specific type
inclusion mechanism.
|
Boolean |
StdDeserializer.BooleanDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Integer |
StdDeserializer.IntegerDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Double |
StdDeserializer.DoubleDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
StdDeserializer.NumberDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer)
As mentioned in class Javadoc, there is additional complexity in
handling potentially mixed type information here.
|
Object |
PrimitiveArrayDeserializers.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object[] |
ObjectArrayDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
MapDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
EnumSetDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
EnumMapDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
Object |
CollectionDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |
protected void |
StdDeserializer.handleUnknownProperty(JsonParser jp,
DeserializationContext ctxt,
Object instanceOrClass,
String propName)
Method called to deal with a property that did not map to a known
Bean property.
|
protected Object |
UntypedObjectDeserializer.mapArray(JsonParser jp,
DeserializationContext ctxt)
Method called to map a JSON Array into a Java value.
|
protected Object[] |
UntypedObjectDeserializer.mapArrayToArray(JsonParser jp,
DeserializationContext ctxt)
Method called to map a JSON Array into a Java Object array (Object[]).
|
protected Object |
UntypedObjectDeserializer.mapObject(JsonParser jp,
DeserializationContext ctxt)
Method called to map a JSON Object into a Java value.
|
protected void |
StdDeserializer.reportUnknownProperty(DeserializationContext ctxt,
Object instanceOrClass,
String fieldName) |
限定符和类型 | 方法和说明 |
---|---|
abstract T |
DOMDeserializer._deserialize(String value,
DeserializationContext ctxt) |
Node |
DOMDeserializer.NodeDeserializer._deserialize(String value,
DeserializationContext ctxt) |
Document |
DOMDeserializer.DocumentDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected Duration |
CoreXMLDeserializers.DurationDeserializer._deserialize(String value,
DeserializationContext ctxt) |
protected QName |
CoreXMLDeserializers.QNameDeserializer._deserialize(String value,
DeserializationContext ctxt) |
T |
JodaDeserializers.DateTimeDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
LocalDate |
JodaDeserializers.LocalDateDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
LocalDateTime |
JodaDeserializers.LocalDateTimeDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
DateMidnight |
JodaDeserializers.DateMidnightDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
ReadablePeriod |
JodaDeserializers.PeriodDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
XMLGregorianCalendar |
CoreXMLDeserializers.GregorianCalendarDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
限定符和类型 | 方法和说明 |
---|---|
protected Object |
AsPropertyTypeDeserializer._deserializeIfNatural(JsonParser jp,
DeserializationContext ctxt)
Helper method used to check if given parser might be pointing to
a "natural" value, and one that would be acceptable as the
result value (compatible with declared base type)
|
protected Object |
AsPropertyTypeDeserializer._deserializeTypedUsingDefaultImpl(JsonParser jp,
DeserializationContext ctxt,
TokenBuffer tb) |
protected JsonDeserializer<Object> |
TypeDeserializerBase._findDefaultImplDeserializer(DeserializationContext ctxt) |
protected JsonDeserializer<Object> |
TypeDeserializerBase._findDeserializer(DeserializationContext ctxt,
String typeId) |
protected String |
AsArrayTypeDeserializer._locateTypeId(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsWrapperTypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsPropertyTypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsArrayTypeDeserializer.deserializeTypedFromAny(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsWrapperTypeDeserializer.deserializeTypedFromArray(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsArrayTypeDeserializer.deserializeTypedFromArray(JsonParser jp,
DeserializationContext ctxt)
Method called when actual object is serialized as JSON Array.
|
Object |
AsWrapperTypeDeserializer.deserializeTypedFromObject(JsonParser jp,
DeserializationContext ctxt)
Deserializing type id enclosed using WRAPPER_OBJECT style is straightforward
|
Object |
AsPropertyTypeDeserializer.deserializeTypedFromObject(JsonParser jp,
DeserializationContext ctxt)
This is the trickiest thing to handle, since property we are looking
for may be anywhere...
|
Object |
AsArrayTypeDeserializer.deserializeTypedFromObject(JsonParser jp,
DeserializationContext ctxt)
Method called when actual object is serialized as JSON Object
|
Object |
AsWrapperTypeDeserializer.deserializeTypedFromScalar(JsonParser jp,
DeserializationContext ctxt) |
Object |
AsArrayTypeDeserializer.deserializeTypedFromScalar(JsonParser jp,
DeserializationContext ctxt) |
限定符和类型 | 方法和说明 |
---|---|
Object |
XmlAdapterJsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Element |
DomElementJsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
DataHandler |
DataHandlerJsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt) |
Object |
XmlAdapterJsonDeserializer.deserializeWithType(JsonParser jp,
DeserializationContext ctxt,
TypeDeserializer typeDeserializer) |