Package | Description |
---|---|
com.fasterxml.jackson.annotation |
Public core annotations, most of which are used to configure how
Data Mapping/Binding works.
|
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
com.fasterxml.jackson.databind.cfg |
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind ). |
com.fasterxml.jackson.databind.deser |
Contains implementation classes of deserialization part of
data binding.
|
com.fasterxml.jackson.databind.deser.impl |
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
|
com.fasterxml.jackson.databind.introspect |
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
|
Modifier and Type | Class and Description |
---|---|
class |
SimpleObjectIdResolver
Simple implementation of
ObjectIdResolver |
Modifier and Type | Method and Description |
---|---|
ObjectIdResolver |
SimpleObjectIdResolver.newForDeserialization(Object context) |
ObjectIdResolver |
ObjectIdResolver.newForDeserialization(Object context)
Factory method called to create a new instance to use for
deserialization: needed since resolvers may have state (a pool of
objects).
|
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleObjectIdResolver.canUseFor(ObjectIdResolver resolverType) |
boolean |
ObjectIdResolver.canUseFor(ObjectIdResolver resolverType)
Method called to check whether this resolver instance can be used for
Object Ids of specific resolver type; determination is based by passing a
configured "blueprint" (prototype) instance; from which the actual
instances are created (using
newForDeserialization(java.lang.Object) ). |
Modifier and Type | Method and Description |
---|---|
ObjectIdResolver |
DatabindContext.objectIdResolverInstance(Annotated annotated,
ObjectIdInfo objectIdInfo) |
Modifier and Type | Method and Description |
---|---|
abstract ReadableObjectId |
DeserializationContext.findObjectId(Object id,
ObjectIdGenerator<?> generator,
ObjectIdResolver resolver)
Method called to find and return entry corresponding to given
Object Id: will add an entry if necessary, and never returns null
|
Modifier and Type | Method and Description |
---|---|
ObjectIdResolver |
HandlerInstantiator.resolverIdGeneratorInstance(MapperConfig<?> config,
Annotated annotated,
Class<?> implClass) |
Modifier and Type | Method and Description |
---|---|
ReadableObjectId |
DefaultDeserializationContext.findObjectId(Object id,
ObjectIdGenerator<?> gen,
ObjectIdResolver resolverType) |
Modifier and Type | Field and Description |
---|---|
protected ObjectIdResolver |
ReadableObjectId._resolver |
ObjectIdResolver |
ObjectIdReader.resolver |
Modifier and Type | Method and Description |
---|---|
ObjectIdResolver |
ReadableObjectId.getResolver()
Allow access to the resolver in case anybody wants to use it directly, for
examples from
DefaultDeserializationContext.tryToResolveUnresolvedObjectId(com.fasterxml.jackson.databind.deser.impl.ReadableObjectId) . |
Modifier and Type | Method and Description |
---|---|
static ObjectIdReader |
ObjectIdReader.construct(JavaType idType,
PropertyName propName,
ObjectIdGenerator<?> generator,
JsonDeserializer<?> deser,
SettableBeanProperty idProp,
ObjectIdResolver resolver)
Factory method called by
BeanSerializerBase
with the initial information based on standard settings for the type
for which serializer is being built. |
void |
ReadableObjectId.setResolver(ObjectIdResolver resolver) |
Constructor and Description |
---|
ObjectIdReader(JavaType t,
PropertyName propName,
ObjectIdGenerator<?> gen,
JsonDeserializer<?> deser,
SettableBeanProperty idProp,
ObjectIdResolver resolver) |
Modifier and Type | Field and Description |
---|---|
protected Class<? extends ObjectIdResolver> |
ObjectIdInfo._resolver |
Modifier and Type | Method and Description |
---|---|
Class<? extends ObjectIdResolver> |
ObjectIdInfo.getResolverType() |
Constructor and Description |
---|
ObjectIdInfo(PropertyName prop,
Class<?> scope,
Class<? extends ObjectIdGenerator<?>> gen,
boolean alwaysAsId,
Class<? extends ObjectIdResolver> resolver) |
ObjectIdInfo(PropertyName name,
Class<?> scope,
Class<? extends ObjectIdGenerator<?>> gen,
Class<? extends ObjectIdResolver> resolver) |
Copyright © 2017 JBoss by Red Hat. All rights reserved.