Package | Description |
---|---|
com.fasterxml.jackson.databind |
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 |
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.deser.std |
Contains public standard implementations of abstraction that
Jackson uses.
|
com.fasterxml.jackson.databind.exc | |
com.fasterxml.jackson.databind.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.
|
com.fasterxml.jackson.databind.jsonFormatVisitors |
Classes used for exposing logical structure of POJOs as Jackson
sees it, and exposed via
ObjectMapper.acceptJsonFormatVisitor(Class, JsonFormatVisitorWrapper)
and
ObjectMapper.acceptJsonFormatVisitor(com.fasterxml.jackson.databind.JavaType, JsonFormatVisitorWrapper)
methods. |
com.fasterxml.jackson.databind.jsonschema |
Classes needed for JSON schema support (currently just ability
to generate schemas using serialization part of data mapping)
|
com.fasterxml.jackson.databind.module |
Package that contains classes and interfaces to help implement
custom extension
Module s
(which are registered using
ObjectMapper.registerModule(com.fasterxml.jackson.databind.Module) . |
com.fasterxml.jackson.databind.ser |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.ser.impl |
Contains implementation classes of serialization part of
data binding.
|
com.fasterxml.jackson.databind.ser.std |
Modifier and Type | Method and Description |
---|---|
JsonMappingException |
DeserializationContext.endOfInputException(Class<?> instClass) |
static JsonMappingException |
JsonMappingException.from(com.fasterxml.jackson.core.JsonParser jp,
String msg) |
static JsonMappingException |
JsonMappingException.from(com.fasterxml.jackson.core.JsonParser jp,
String msg,
Throwable problem) |
static JsonMappingException |
JsonMappingException.fromUnexpectedIOE(IOException src)
Factory method used when "upgrading" an
IOException into
JsonMappingException : usually only needed to comply with
a signature. |
JsonMappingException |
DeserializationContext.instantiationException(Class<?> instClass,
String msg) |
JsonMappingException |
DeserializationContext.instantiationException(Class<?> instClass,
Throwable t)
Helper method for constructing instantiation exception for specified type,
to indicate problem with physically constructing instance of
specified class (missing constructor, exception from constructor)
|
JsonMappingException |
DeserializationContext.mappingException(Class<?> targetClass)
Helper method for constructing generic mapping exception for specified type
|
JsonMappingException |
DeserializationContext.mappingException(Class<?> targetClass,
com.fasterxml.jackson.core.JsonToken token) |
JsonMappingException |
DeserializationContext.mappingException(String message)
Helper method for constructing generic mapping exception with specified
message and current location information
|
JsonMappingException |
DeserializationContext.unknownTypeException(JavaType type,
String id)
Deprecated.
|
JsonMappingException |
DeserializationContext.unknownTypeException(JavaType type,
String id,
String extraDesc) |
JsonMappingException |
DeserializationContext.weirdKeyException(Class<?> keyClass,
String keyValue,
String msg)
Helper method for constructing exception to indicate that given JSON
Object field name was not in format to be able to deserialize specified
key type.
|
JsonMappingException |
DeserializationContext.weirdNumberException(Class<?> instClass,
String msg)
Deprecated.
|
JsonMappingException |
DeserializationContext.weirdNumberException(Number value,
Class<?> instClass,
String msg)
Helper method for constructing exception to indicate that input JSON
Number was not suitable for deserializing into given target type.
|
JsonMappingException |
DeserializationContext.weirdStringException(Class<?> instClass,
String msg)
Deprecated.
Since 2.1 should use variant that takes value
|
JsonMappingException |
DeserializationContext.weirdStringException(String value,
Class<?> instClass,
String msg)
Method that will construct an exception suitable for throwing when
some String values are acceptable, but the one encountered is not.
|
static JsonMappingException |
JsonMappingException.wrapWithPath(Throwable src,
JsonMappingException.Reference ref)
Method that can be called to either create a new JsonMappingException
(if underlying exception is not a JsonMappingException), or augment
given exception with given path/reference information.
|
static JsonMappingException |
JsonMappingException.wrapWithPath(Throwable src,
Object refFrom,
int index)
Method that can be called to either create a new JsonMappingException
(if underlying exception is not a JsonMappingException), or augment
given exception with given path/reference information.
|
static JsonMappingException |
JsonMappingException.wrapWithPath(Throwable src,
Object refFrom,
String refFieldName)
Method that can be called to either create a new JsonMappingException
(if underlying exception is not a JsonMappingException), or augment
given exception with given path/reference information.
|
JsonMappingException |
DeserializationContext.wrongTokenException(com.fasterxml.jackson.core.JsonParser p,
com.fasterxml.jackson.core.JsonToken expToken,
String msg0)
Helper method for indicating that the current token was expected to be another
token.
|
Modifier and Type | Method and Description |
---|---|
protected <R> R |
MappingIterator._handleMappingException(JsonMappingException e) |
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<Object> |
SerializerProvider._createAndCacheUntypedSerializer(Class<?> type)
Method that will try to construct a value serializer; and if
one is successfully created, cache it for reuse.
|
protected JsonSerializer<Object> |
SerializerProvider._createAndCacheUntypedSerializer(JavaType type) |
protected JsonSerializer<Object> |
SerializerProvider._createUntypedSerializer(JavaType type) |
protected JsonSerializer<Object> |
SerializerProvider._findExplicitUntypedSerializer(Class<?> runtimeType)
Method that will try to find a serializer, either from cache
or by constructing one; but will not return an "unknown" serializer
if this can not be done but rather returns null.
|
protected JsonDeserializer<Object> |
ObjectReader._findRootDeserializer(DeserializationContext ctxt,
JavaType valueType)
Method called to locate deserializer for the passed root-level value.
|
protected JsonDeserializer<Object> |
ObjectMapper._findRootDeserializer(DeserializationContext ctxt,
JavaType valueType)
Method called to locate deserializer for the passed root-level value.
|
protected JsonSerializer<Object> |
SerializerProvider._handleContextualResolvable(JsonSerializer<?> ser,
BeanProperty property)
Helper method called to resolve and contextualize given
serializer, if and as necessary.
|
protected JsonSerializer<Object> |
SerializerProvider._handleResolvable(JsonSerializer<?> ser) |
protected Object |
ObjectMapper._readMapAndClose(com.fasterxml.jackson.core.JsonParser jp,
JavaType valueType) |
protected Object |
ObjectMapper._readValue(DeserializationConfig cfg,
com.fasterxml.jackson.core.JsonParser jp,
JavaType valueType)
Actual implementation of value reading+binding operation.
|
void |
ObjectMapper.acceptJsonFormatVisitor(Class<?> type,
JsonFormatVisitorWrapper visitor)
Method for visiting type hierarchy for given type, using specified visitor.
|
void |
ObjectWriter.acceptJsonFormatVisitor(JavaType type,
JsonFormatVisitorWrapper visitor)
Method for visiting type hierarchy for given type, using specified visitor.
|
void |
ObjectMapper.acceptJsonFormatVisitor(JavaType type,
JsonFormatVisitorWrapper visitor)
Method for visiting type hierarchy for given type, using specified visitor.
|
void |
JsonSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType type)
Default implementation simply calls
JsonFormatVisitorWrapper.expectAnyFormat(JavaType) . |
Converter<Object,Object> |
DatabindContext.converterInstance(Annotated annotated,
Object converterDef)
Helper method to use to construct a
Converter , given a definition
that may be either actual converter instance, or Class for instantiating one. |
void |
BeanProperty.depositSchemaProperty(JsonObjectFormatVisitor objectVisitor)
Method that can be called to visit the type structure that this
property is part of.
|
abstract JsonDeserializer<Object> |
DeserializationContext.deserializerInstance(Annotated annotated,
Object deserDef) |
JsonDeserializer<Object> |
DeserializationContext.findContextualValueDeserializer(JavaType type,
BeanProperty prop)
Method for finding a value deserializer, and creating a contextual
version if necessary, for value reached via specified property.
|
KeyDeserializer |
DeserializationContext.findKeyDeserializer(JavaType keyType,
BeanProperty prop)
Convenience method, functionally same as:
|
JsonSerializer<Object> |
SerializerProvider.findKeySerializer(JavaType keyType,
BeanProperty property)
Method called to get the serializer to use for serializing
non-null Map keys.
|
JsonDeserializer<Object> |
DeserializationContext.findNonContextualValueDeserializer(JavaType type)
Variant that will try to locate deserializer for current type, but without
performing any contextualization (unlike
DeserializationContext.findContextualValueDeserializer(com.fasterxml.jackson.databind.JavaType, com.fasterxml.jackson.databind.BeanProperty) )
or checking for need to create a TypeDeserializer (unlike
DeserializationContext.findRootValueDeserializer(JavaType) . |
JsonSerializer<Object> |
SerializerProvider.findNullKeySerializer(JavaType serializationType,
BeanProperty property)
Method called to find a serializer to use for null values for given
declared type.
|
JsonSerializer<Object> |
SerializerProvider.findNullValueSerializer(BeanProperty property)
Method called to get the serializer to use for serializing null
values for specified property.
|
JsonSerializer<Object> |
SerializerProvider.findPrimaryPropertySerializer(Class<?> valueType,
BeanProperty property) |
JsonSerializer<Object> |
SerializerProvider.findPrimaryPropertySerializer(JavaType valueType,
BeanProperty property)
Similar to
SerializerProvider.findValueSerializer(JavaType, BeanProperty) , but used
when finding "primary" property value serializer (one directly handling
value of the property). |
JsonDeserializer<Object> |
DeserializationContext.findRootValueDeserializer(JavaType type)
Method for finding a deserializer for root-level value.
|
TypeDeserializer |
DeserializationConfig.findTypeDeserializer(JavaType baseType)
Helper method that is needed to properly handle polymorphic referenced
types, such as types referenced by
AtomicReference ,
or various "optional" types. |
JsonSerializer<Object> |
SerializerProvider.findTypedValueSerializer(Class<?> valueType,
boolean cache,
BeanProperty property)
Method called to locate regular serializer, matching type serializer,
and if both found, wrap them in a serializer that calls both in correct
sequence.
|
JsonSerializer<Object> |
SerializerProvider.findTypedValueSerializer(JavaType valueType,
boolean cache,
BeanProperty property)
Method called to locate regular serializer, matching type serializer,
and if both found, wrap them in a serializer that calls both in correct
sequence.
|
JsonSerializer<Object> |
SerializerProvider.findValueSerializer(Class<?> valueType)
Method variant used when we do NOT want contextualization to happen; it will need
to be handled at a later point, but caller wants to be able to do that
as needed; sometimes to avoid infinite loops
|
JsonSerializer<Object> |
SerializerProvider.findValueSerializer(Class<?> valueType,
BeanProperty property)
Method called to get hold of a serializer for a value of given type;
or if no such serializer can be found, a default handler (which
may do a best-effort generic serialization or just simply
throw an exception when invoked).
|
JsonSerializer<Object> |
SerializerProvider.findValueSerializer(JavaType valueType)
Method variant used when we do NOT want contextualization to happen; it will need
to be handled at a later point, but caller wants to be able to do that
as needed; sometimes to avoid infinite loops
|
JsonSerializer<Object> |
SerializerProvider.findValueSerializer(JavaType valueType,
BeanProperty property)
Similar to
SerializerProvider.findValueSerializer(Class,BeanProperty) , but takes
full generics-aware type instead of raw class. |
JsonSchema |
ObjectMapper.generateJsonSchema(Class<?> t)
Generate Json-schema
instance for specified class.
|
JsonDeserializer<?> |
DeserializationContext.handlePrimaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop)
Deprecated.
|
JsonDeserializer<?> |
DeserializationContext.handlePrimaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop,
JavaType type)
Method called for primary property deserializers (ones
directly created to deserialize values of a POJO property),
to handle details of resolving
ContextualDeserializer with given property context. |
JsonSerializer<?> |
SerializerProvider.handlePrimaryContextualization(JsonSerializer<?> ser,
BeanProperty property)
Method called for primary property serializers (ones
directly created to serialize values of a POJO property),
to handle details of resolving
ContextualSerializer with given property context. |
JsonDeserializer<?> |
DeserializationContext.handleSecondaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop)
Deprecated.
|
JsonDeserializer<?> |
DeserializationContext.handleSecondaryContextualization(JsonDeserializer<?> deser,
BeanProperty prop,
JavaType type)
Method called for secondary property deserializers (ones
NOT directly created to deal with an annotatable POJO property,
but instead created as a component -- such as value deserializers
for structured types, or deserializers for root values)
to handle details of resolving
ContextualDeserializer with given property context. |
JsonSerializer<?> |
SerializerProvider.handleSecondaryContextualization(JsonSerializer<?> ser,
BeanProperty property)
Method called for secondary property serializers (ones
NOT directly created to serialize values of a POJO property
but instead created as a dependant serializer -- such as value serializers
for structured types, or serializers for root values)
to handle details of resolving
ContextualDeserializer with given property context. |
abstract KeyDeserializer |
DeserializationContext.keyDeserializerInstance(Annotated annotated,
Object deserDef) |
com.fasterxml.jackson.annotation.ObjectIdGenerator<?> |
DatabindContext.objectIdGeneratorInstance(Annotated annotated,
ObjectIdInfo objectIdInfo) |
<T> T |
ObjectMapper.readValue(byte[] src,
Class<T> valueType) |
<T> T |
ObjectMapper.readValue(byte[] src,
int offset,
int len,
Class<T> valueType) |
<T> T |
ObjectMapper.readValue(byte[] src,
int offset,
int len,
JavaType valueType) |
<T> T |
ObjectMapper.readValue(byte[] src,
int offset,
int len,
com.fasterxml.jackson.core.type.TypeReference valueTypeRef) |
<T> T |
ObjectMapper.readValue(byte[] src,
JavaType valueType) |
<T> T |
ObjectMapper.readValue(byte[] src,
com.fasterxml.jackson.core.type.TypeReference valueTypeRef) |
<T> T |
ObjectMapper.readValue(File src,
Class<T> valueType)
Method to deserialize JSON content from given file into given Java type.
|
<T> T |
ObjectMapper.readValue(File src,
JavaType valueType)
Method to deserialize JSON content from given file into given Java type.
|
<T> T |
ObjectMapper.readValue(File src,
com.fasterxml.jackson.core.type.TypeReference valueTypeRef)
Method to deserialize JSON content from given file into given Java type.
|
<T> T |
ObjectMapper.readValue(InputStream src,
Class<T> valueType) |
<T> T |
ObjectMapper.readValue(InputStream src,
JavaType valueType) |
<T> T |
ObjectMapper.readValue(InputStream src,
com.fasterxml.jackson.core.type.TypeReference valueTypeRef) |
<T> T |
ObjectMapper.readValue(com.fasterxml.jackson.core.JsonParser jp,
Class<T> valueType)
Method to deserialize JSON content into a non-container
type (it can be an array type, however): typically a bean, array
or a wrapper type (like
Boolean ). |
<T> T |
ObjectMapper.readValue(com.fasterxml.jackson.core.JsonParser jp,
JavaType valueType)
Type-safe overloaded method, basically alias for
ObjectMapper.readValue(JsonParser, Class) . |
<T> T |
ObjectMapper.readValue(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.core.type.ResolvedType valueType)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
<T> T |
ObjectMapper.readValue(com.fasterxml.jackson.core.JsonParser jp,
com.fasterxml.jackson.core.type.TypeReference<?> valueTypeRef)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
<T> T |
ObjectMapper.readValue(Reader src,
Class<T> valueType) |
<T> T |
ObjectMapper.readValue(Reader src,
JavaType valueType) |
<T> T |
ObjectMapper.readValue(Reader src,
com.fasterxml.jackson.core.type.TypeReference valueTypeRef) |
<T> T |
ObjectMapper.readValue(String content,
Class<T> valueType)
Method to deserialize JSON content from given JSON content String.
|
<T> T |
ObjectMapper.readValue(String content,
JavaType valueType)
Method to deserialize JSON content from given JSON content String.
|
<T> T |
ObjectMapper.readValue(String content,
com.fasterxml.jackson.core.type.TypeReference valueTypeRef)
Method to deserialize JSON content from given JSON content String.
|
<T> T |
ObjectMapper.readValue(URL src,
Class<T> valueType)
Method to deserialize JSON content from given resource into given Java type.
|
<T> T |
ObjectMapper.readValue(URL src,
JavaType valueType) |
<T> T |
ObjectMapper.readValue(URL src,
com.fasterxml.jackson.core.type.TypeReference valueTypeRef)
Method to deserialize JSON content from given resource into given Java type.
|
void |
DeserializationContext.reportUnknownProperty(Object instanceOrClass,
String fieldName,
JsonDeserializer<?> deser)
Helper method for reporting a problem with unhandled unknown exception
|
abstract JsonSerializer<Object> |
SerializerProvider.serializerInstance(Annotated annotated,
Object serDef)
Method that can be called to construct and configure serializer instance,
either given a
Class to instantiate (with default constructor),
or an uninitialized serializer instance. |
void |
ObjectWriter.writeValue(File resultFile,
Object value)
Method that can be used to serialize any Java value as
JSON output, written to File provided.
|
void |
ObjectMapper.writeValue(File resultFile,
Object value)
Method that can be used to serialize any Java value as
JSON output, written to File provided.
|
void |
ObjectWriter.writeValue(com.fasterxml.jackson.core.JsonGenerator gen,
Object value)
Method that can be used to serialize any Java value as
JSON output, using provided
JsonGenerator . |
void |
ObjectMapper.writeValue(com.fasterxml.jackson.core.JsonGenerator jgen,
Object value)
Method that can be used to serialize any Java value as
JSON output, using provided
JsonGenerator . |
void |
ObjectWriter.writeValue(OutputStream out,
Object value)
Method that can be used to serialize any Java value as
JSON output, using output stream provided (using encoding
JsonEncoding.UTF8 ). |
void |
ObjectMapper.writeValue(OutputStream out,
Object value)
Method that can be used to serialize any Java value as
JSON output, using output stream provided (using encoding
JsonEncoding.UTF8 ). |
void |
ObjectWriter.writeValue(Writer w,
Object value)
Method that can be used to serialize any Java value as
JSON output, using Writer provided.
|
void |
ObjectMapper.writeValue(Writer w,
Object value)
Method that can be used to serialize any Java value as
JSON output, using Writer provided.
|
Constructor and Description |
---|
RuntimeJsonMappingException(JsonMappingException cause) |
RuntimeJsonMappingException(String message,
JsonMappingException cause) |
Modifier and Type | Class and Description |
---|---|
class |
UnresolvedForwardReference
Exception thrown during deserialization when there are object id that can't
be resolved.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BasicDeserializerFactory._addDeserializerConstructors(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators)
Deprecated.
|
protected void |
BasicDeserializerFactory._addDeserializerConstructors(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators,
Map<AnnotatedWithParams,BeanPropertyDefinition[]> creatorParams) |
protected void |
BasicDeserializerFactory._addDeserializerFactoryMethods(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators)
Deprecated.
|
protected void |
BasicDeserializerFactory._addDeserializerFactoryMethods(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators,
Map<AnnotatedWithParams,BeanPropertyDefinition[]> creatorParams) |
protected ValueInstantiator |
BasicDeserializerFactory._constructDefaultValueInstantiator(DeserializationContext ctxt,
BeanDescription beanDesc)
Method that will construct standard default
ValueInstantiator
using annotations (like @JsonCreator) and visibility rules |
protected JsonDeserializer<Object> |
DeserializerCache._createAndCache2(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType type)
Method that handles actual construction (via factory) and caching (both
intermediate and eventual)
|
protected JsonDeserializer<Object> |
DeserializerCache._createAndCacheValueDeserializer(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType type)
Method that will try to create a deserializer for given type,
and resolve and cache it if necessary
|
protected JsonDeserializer<Object> |
DeserializerCache._createDeserializer(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType type)
Method that does the heavy lifting of checking for per-type annotations,
find out full type, and figure out which actual factory method
to call.
|
protected JsonDeserializer<?> |
DeserializerCache._createDeserializer2(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType type,
BeanDescription beanDesc) |
protected Map<AnnotatedWithParams,BeanPropertyDefinition[]> |
BasicDeserializerFactory._findCreatorsFromProperties(DeserializationContext ctxt,
BeanDescription beanDesc) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomArrayDeserializer(ArrayType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<Object> |
BasicDeserializerFactory._findCustomBeanDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomCollectionDeserializer(CollectionType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomEnumDeserializer(Class<?> type,
DeserializationConfig config,
BeanDescription beanDesc) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomMapDeserializer(MapType type,
DeserializationConfig config,
BeanDescription beanDesc,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<?> |
BasicDeserializerFactory._findCustomTreeNodeDeserializer(Class<? extends JsonNode> type,
DeserializationConfig config,
BeanDescription beanDesc) |
protected boolean |
BasicDeserializerFactory._handleSingleArgumentConstructor(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators,
AnnotatedConstructor ctor,
boolean isCreator,
boolean isVisible) |
protected boolean |
BasicDeserializerFactory._handleSingleArgumentFactory(DeserializationConfig config,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators,
AnnotatedMethod factory,
boolean isCreator) |
protected KeyDeserializer |
DeserializerCache._handleUnknownKeyDeserializer(JavaType type) |
protected JsonDeserializer<Object> |
DeserializerCache._handleUnknownValueDeserializer(JavaType type) |
ValueInstantiator |
BasicDeserializerFactory._valueInstantiatorInstance(DeserializationConfig config,
Annotated annotated,
Object instDef) |
protected void |
BeanDeserializerFactory.addBeanProps(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanDeserializerBuilder builder)
Method called to figure out settable properties for the
bean deserializer to use.
|
protected void |
BeanDeserializerFactory.addInjectables(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanDeserializerBuilder builder)
Method called locate all members used for value injection (if any),
constructor
ValueInjector instances, and add them to builder. |
protected void |
BeanDeserializerFactory.addObjectIdReader(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanDeserializerBuilder builder) |
protected void |
BeanDeserializerFactory.addReferenceProperties(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanDeserializerBuilder builder)
Method that will find if bean has any managed- or back-reference properties,
and if so add them to bean, to be linked during resolution phase.
|
JsonDeserializer<Object> |
BeanDeserializerFactory.buildBeanDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Method that is to actually build a bean deserializer instance.
|
protected JsonDeserializer<Object> |
BeanDeserializerFactory.buildBuilderBasedDeserializer(DeserializationContext ctxt,
JavaType valueType,
BeanDescription builderDesc)
Method for constructing a bean deserializer that uses specified
intermediate Builder for binding data, and construction of the
value instance.
|
JsonDeserializer<Object> |
BeanDeserializerFactory.buildThrowableDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc) |
protected SettableAnyProperty |
BeanDeserializerFactory.constructAnySetter(DeserializationContext ctxt,
BeanDescription beanDesc,
AnnotatedMethod setter)
Method called to construct fallback
SettableAnyProperty
for handling unknown bean properties, given a method that
has been designated as such setter. |
protected CreatorProperty |
BasicDeserializerFactory.constructCreatorProperty(DeserializationContext ctxt,
BeanDescription beanDesc,
PropertyName name,
int index,
AnnotatedParameter param,
Object injectableValueId)
Method that will construct a property object that represents
a logical property passed via Creator (constructor or static
factory method)
|
protected SettableBeanProperty |
BeanDeserializerFactory.constructSettableProperty(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanPropertyDefinition propDef,
Type jdkType)
Method that will construct a regular bean property setter using
the given setter method.
|
protected SettableBeanProperty |
BeanDeserializerFactory.constructSetterlessProperty(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanPropertyDefinition propDef)
Method that will construct a regular bean property setter using
the given setter method.
|
abstract JsonDeserializer<?> |
DeserializerFactory.createArrayDeserializer(DeserializationContext ctxt,
ArrayType type,
BeanDescription beanDesc)
Method called to create (or, for completely immutable deserializers,
reuse) a deserializer that can convert JSON content into values of
specified Java type.
|
JsonDeserializer<?> |
BasicDeserializerFactory.createArrayDeserializer(DeserializationContext ctxt,
ArrayType type,
BeanDescription beanDesc) |
abstract JsonDeserializer<Object> |
DeserializerFactory.createBeanDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Method called to create (or, for completely immutable deserializers,
reuse) a deserializer that can convert JSON content into values of
specified Java "bean" (POJO) type.
|
JsonDeserializer<Object> |
BeanDeserializerFactory.createBeanDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Method that
DeserializerCache s call to create a new
deserializer for types other than Collections, Maps, arrays and
enums. |
abstract JsonDeserializer<Object> |
DeserializerFactory.createBuilderBasedDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc,
Class<?> builderClass)
Method called to create a deserializer that will use specified Builder
class for building value instances.
|
JsonDeserializer<Object> |
BeanDeserializerFactory.createBuilderBasedDeserializer(DeserializationContext ctxt,
JavaType valueType,
BeanDescription beanDesc,
Class<?> builderClass) |
abstract JsonDeserializer<?> |
DeserializerFactory.createCollectionDeserializer(DeserializationContext ctxt,
CollectionType type,
BeanDescription beanDesc) |
JsonDeserializer<?> |
BasicDeserializerFactory.createCollectionDeserializer(DeserializationContext ctxt,
CollectionType type,
BeanDescription beanDesc) |
abstract JsonDeserializer<?> |
DeserializerFactory.createCollectionLikeDeserializer(DeserializationContext ctxt,
CollectionLikeType type,
BeanDescription beanDesc) |
JsonDeserializer<?> |
BasicDeserializerFactory.createCollectionLikeDeserializer(DeserializationContext ctxt,
CollectionLikeType type,
BeanDescription beanDesc) |
KeyDeserializer |
ContextualKeyDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to see if a different (or differently configured) key deserializer
is needed to deserialize keys of specified Map property.
|
JsonDeserializer<?> |
ContextualDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to see if a different (or differently configured) deserializer
is needed to deserialize values of specified property.
|
JsonDeserializer<?> |
BeanDeserializerBase.createContextual(DeserializationContext ctxt,
BeanProperty property)
Although most of post-processing is done in resolve(), we only get
access to referring property's annotations here; and this is needed
to support per-property ObjectIds.
|
abstract JsonDeserializer<?> |
DeserializerFactory.createEnumDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc) |
JsonDeserializer<?> |
BasicDeserializerFactory.createEnumDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Factory method for constructing serializers of
Enum types. |
abstract KeyDeserializer |
DeserializerFactory.createKeyDeserializer(DeserializationContext ctxt,
JavaType type)
Method called to find if factory knows how to create a key deserializer
for specified type; currently this means checking if a module has registered
possible deserializers.
|
KeyDeserializer |
BasicDeserializerFactory.createKeyDeserializer(DeserializationContext ctxt,
JavaType type) |
abstract JsonDeserializer<?> |
DeserializerFactory.createMapDeserializer(DeserializationContext ctxt,
MapType type,
BeanDescription beanDesc) |
JsonDeserializer<?> |
BasicDeserializerFactory.createMapDeserializer(DeserializationContext ctxt,
MapType type,
BeanDescription beanDesc) |
abstract JsonDeserializer<?> |
DeserializerFactory.createMapLikeDeserializer(DeserializationContext ctxt,
MapLikeType type,
BeanDescription beanDesc) |
JsonDeserializer<?> |
BasicDeserializerFactory.createMapLikeDeserializer(DeserializationContext ctxt,
MapLikeType type,
BeanDescription beanDesc) |
abstract JsonDeserializer<?> |
DeserializerFactory.createTreeDeserializer(DeserializationConfig config,
JavaType type,
BeanDescription beanDesc)
Method called to create and return a deserializer that can construct
JsonNode(s) from JSON content.
|
JsonDeserializer<?> |
BasicDeserializerFactory.createTreeDeserializer(DeserializationConfig config,
JavaType nodeType,
BeanDescription beanDesc) |
void |
SettableBeanProperty.depositSchemaProperty(JsonObjectFormatVisitor objectVisitor) |
JsonDeserializer<Object> |
DefaultDeserializationContext.deserializerInstance(Annotated ann,
Object deserDef) |
protected List<BeanPropertyDefinition> |
BeanDeserializerFactory.filterBeanProps(DeserializationContext ctxt,
BeanDescription beanDesc,
BeanDeserializerBuilder builder,
List<BeanPropertyDefinition> propDefsIn,
Set<String> ignored)
Helper method called to filter out explicit ignored properties,
as well as properties that have "ignorable types".
|
JsonDeserializer<?> |
Deserializers.findArrayDeserializer(ArrayType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified array type.
|
JsonDeserializer<?> |
Deserializers.Base.findArrayDeserializer(ArrayType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findBeanDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc)
Method called to locate deserializer for specified value type which does not belong to any other
category (not an Enum, Collection, Map, Array or tree node)
|
JsonDeserializer<?> |
Deserializers.Base.findBeanDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
JsonDeserializer<?> |
Deserializers.findCollectionDeserializer(CollectionType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified
Collection (List, Set etc) type. |
JsonDeserializer<?> |
Deserializers.Base.findCollectionDeserializer(CollectionType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified
"Collection-like" type (one that acts
like
Collection but does not implement it). |
JsonDeserializer<?> |
Deserializers.Base.findCollectionLikeDeserializer(CollectionLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected Converter<Object,Object> |
DeserializerCache.findConverter(DeserializationContext ctxt,
Annotated a) |
protected JsonDeserializer<Object> |
DeserializerCache.findConvertingDeserializer(DeserializationContext ctxt,
Annotated a,
JsonDeserializer<Object> deser)
Helper method that will check whether given annotated entity (usually class,
but may also be a property accessor) indicates that a
Converter is to
be used; and if so, to construct and return suitable serializer for it. |
protected JsonDeserializer<Object> |
BeanDeserializerBase.findConvertingDeserializer(DeserializationContext ctxt,
SettableBeanProperty prop)
Helper method that can be used to see if specified property is annotated
to indicate use of a converter for property value (in case of container types,
it is container type itself, not key or content type).
|
JsonDeserializer<?> |
BasicDeserializerFactory.findDefaultDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Helper method called to find one of default serializers for "well-known"
platform types: JDK-provided types, and small number of public Jackson
API types.
|
protected JsonDeserializer<Object> |
DeserializerCache.findDeserializerFromAnnotation(DeserializationContext ctxt,
Annotated ann)
Helper method called to check if a class or method
has annotation that tells which class to use for deserialization.
|
protected JsonDeserializer<Object> |
BasicDeserializerFactory.findDeserializerFromAnnotation(DeserializationContext ctxt,
Annotated ann)
Helper method called to check if a class or method
has annotation that tells which class to use for deserialization.
|
JsonDeserializer<?> |
Deserializers.findEnumDeserializer(Class<?> type,
DeserializationConfig config,
BeanDescription beanDesc)
Method called to locate deserializer for specified
Enum type. |
JsonDeserializer<?> |
Deserializers.Base.findEnumDeserializer(Class<?> type,
DeserializationConfig config,
BeanDescription beanDesc) |
KeyDeserializer |
DeserializerCache.findKeyDeserializer(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType type)
Method called to get hold of a deserializer to use for deserializing
keys for
Map . |
KeyDeserializer |
KeyDeserializers.findKeyDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
JsonDeserializer<?> |
Deserializers.findMapDeserializer(MapType type,
DeserializationConfig config,
BeanDescription beanDesc,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate deserializer for specified
Map type. |
JsonDeserializer<?> |
Deserializers.Base.findMapDeserializer(MapType type,
DeserializationConfig config,
BeanDescription beanDesc,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
JsonDeserializer<?> |
Deserializers.findMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
Method called to locate serializer for specified
"Map-like" type (one that acts
like
Map but does not implement it). |
JsonDeserializer<?> |
Deserializers.Base.findMapLikeDeserializer(MapLikeType type,
DeserializationConfig config,
BeanDescription beanDesc,
KeyDeserializer keyDeserializer,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer) |
protected JsonDeserializer<?> |
BasicDeserializerFactory.findOptionalStdDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Overridable method called after checking all other types.
|
TypeDeserializer |
BasicDeserializerFactory.findPropertyContentTypeDeserializer(DeserializationConfig config,
JavaType containerType,
AnnotatedMember propertyEntity)
Method called to find and create a type information deserializer for values of
given container (list, array, map) property, if one is needed.
|
TypeDeserializer |
BasicDeserializerFactory.findPropertyTypeDeserializer(DeserializationConfig config,
JavaType baseType,
AnnotatedMember annotated)
Method called to create a type information deserializer for values of
given non-container property, if one is needed.
|
protected JsonDeserializer<?> |
BeanDeserializerFactory.findStdDeserializer(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc)
Method called by
BeanDeserializerFactory to see if there might be a standard
deserializer registered for given type. |
JsonDeserializer<?> |
Deserializers.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType,
DeserializationConfig config,
BeanDescription beanDesc)
Method called to locate deserializer for specified JSON tree node type.
|
JsonDeserializer<?> |
Deserializers.Base.findTreeNodeDeserializer(Class<? extends JsonNode> nodeType,
DeserializationConfig config,
BeanDescription beanDesc) |
abstract TypeDeserializer |
DeserializerFactory.findTypeDeserializer(DeserializationConfig config,
JavaType baseType)
Method called to find and create a type information deserializer for given base type,
if one is needed.
|
TypeDeserializer |
BasicDeserializerFactory.findTypeDeserializer(DeserializationConfig config,
JavaType baseType) |
JsonDeserializer<Object> |
DeserializerCache.findValueDeserializer(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType propertyType)
Method called to get hold of a deserializer for a value of given type;
or if no such deserializer can be found, a default handler (which
may do a best-effort generic serialization or just simply
throw an exception when invoked).
|
abstract ValueInstantiator |
DeserializerFactory.findValueInstantiator(DeserializationContext ctxt,
BeanDescription beanDesc)
Method that is to find all creators (constructors, factory methods)
for the bean type to deserialize.
|
ValueInstantiator |
BasicDeserializerFactory.findValueInstantiator(DeserializationContext ctxt,
BeanDescription beanDesc)
Value instantiator is created both based on creator annotations,
and on optional externally provided instantiators (registered through
module interface).
|
boolean |
DeserializerCache.hasValueDeserializerFor(DeserializationContext ctxt,
DeserializerFactory factory,
JavaType type)
Method called to find out whether provider would be able to find
a deserializer for given type, using a root reference (i.e.
|
KeyDeserializer |
DefaultDeserializationContext.keyDeserializerInstance(Annotated ann,
Object deserDef) |
abstract JavaType |
DeserializerFactory.mapAbstractType(DeserializationConfig config,
JavaType type)
Method that can be called to try to resolve an abstract type
(interface, abstract class) into a concrete type, or at least
something "more concrete" (abstract class instead of interface).
|
JavaType |
BasicDeserializerFactory.mapAbstractType(DeserializationConfig config,
JavaType type) |
protected JavaType |
BeanDeserializerFactory.materializeAbstractType(DeserializationContext ctxt,
JavaType type,
BeanDescription beanDesc) |
protected <T extends JavaType> |
BasicDeserializerFactory.modifyTypeByAnnotation(DeserializationContext ctxt,
Annotated a,
T type)
Method called to see if given method has annotations that indicate
a more specific type than what the argument specifies.
|
void |
ResolvableDeserializer.resolve(DeserializationContext ctxt)
Method called after deserializer instance has been constructed
(and registered as necessary by provider objects),
but before it has returned it to the caller.
|
void |
BeanDeserializerBase.resolve(DeserializationContext ctxt)
Method called to finalize setup of this deserializer,
after deserializer itself has been registered.
|
protected JavaType |
BasicDeserializerFactory.resolveType(DeserializationContext ctxt,
BeanDescription beanDesc,
JavaType type,
AnnotatedMember member)
Helper method used to resolve method return types and field
types.
|
Modifier and Type | Method and Description |
---|---|
static PropertyBasedCreator |
PropertyBasedCreator.construct(DeserializationContext ctxt,
ValueInstantiator valueInstantiator,
SettableBeanProperty[] srcProps)
Factory method used for building actual instances: resolves deserializers
and checks for "null values".
|
Object |
FailingDeserializer.deserialize(com.fasterxml.jackson.core.JsonParser jp,
DeserializationContext ctxt) |
Modifier and Type | Method and Description |
---|---|
protected JsonMappingException |
StdValueInstantiator.wrapException(Throwable t) |
Modifier and Type | Method and Description |
---|---|
protected JsonDeserializer<Object> |
UntypedObjectDeserializer._findCustomDeser(DeserializationContext ctxt,
JavaType type) |
JsonDeserializer<?> |
UntypedObjectDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
We only use contextualization for optimizing the case where no customization
occurred; if so, can slip in a more streamlined version.
|
JsonDeserializer<?> |
StringCollectionDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
StringArrayDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Contextualization is needed to see whether we can "inline" deserialization
of String values, or if we have to use separate value deserializer.
|
JsonDeserializer<?> |
StdDelegatingDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
ObjectArrayDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
MapEntryDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to finalize setup of this deserializer,
when it is known for which property deserializer is needed for.
|
JsonDeserializer<?> |
MapDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to finalize setup of this deserializer,
when it is known for which property deserializer is needed for.
|
JsonDeserializer<?> |
EnumSetDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
EnumMapDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to finalize setup of this deserializer,
when it is known for which property deserializer is needed for.
|
JsonDeserializer<?> |
EnumDeserializer.FactoryBasedDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
DelegatingDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
JsonDeserializer<?> |
DateDeserializers.DateBasedDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
CollectionDeserializer |
CollectionDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
Method called to finalize setup of this deserializer,
when it is known for which property deserializer is needed
for.
|
JsonDeserializer<?> |
AtomicReferenceDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property) |
protected JsonDeserializer<?> |
StdDeserializer.findConvertingContentDeserializer(DeserializationContext ctxt,
BeanProperty prop,
JsonDeserializer<?> existingDeserializer)
Helper method that can be used to see if specified property has annotation
indicating that a converter is to be used for contained values (contents
of structured types; array/List/Map values)
|
protected JsonDeserializer<Object> |
StdDeserializer.findDeserializer(DeserializationContext ctxt,
JavaType type,
BeanProperty property)
Helper method used to locate deserializers for properties the
type this deserializer handles contains (usually for properties of
bean types)
|
KeyDeserializer |
StdKeyDeserializers.findKeyDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
void |
UntypedObjectDeserializer.resolve(DeserializationContext ctxt)
We need to implement this method to properly find things to delegate
to: it can not be done earlier since delegated deserializers almost
certainly require access to this instance (at least "List" and "Map" ones)
|
void |
StdNodeBasedDeserializer.resolve(DeserializationContext ctxt) |
void |
StdDelegatingDeserializer.resolve(DeserializationContext ctxt) |
void |
MapDeserializer.resolve(DeserializationContext ctxt) |
void |
DelegatingDeserializer.resolve(DeserializationContext ctxt) |
Modifier and Type | Class and Description |
---|---|
class |
IgnoredPropertyException
Specialized
JsonMappingException sub-class used to indicate
case where an explicitly ignored property is encountered, and mapper
is configured to consider this an error. |
class |
InvalidFormatException
Specialized sub-class of
JsonMappingException
that is used when the underlying problem appears to be that
of bad formatting of a value to deserialize. |
class |
PropertyBindingException
Base class for
JsonMappingException s that are specifically related
to problems related to binding an individual property. |
class |
UnrecognizedPropertyException
Specialized
JsonMappingException sub-class specifically used
to indicate problems due to encountering a JSON property that could
not be mapped to an Object property (via getter, constructor argument
or field). |
Modifier and Type | Method and Description |
---|---|
void |
DOMSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
CoreXMLSerializers.XMLGregorianCalendarSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
JsonSerializer<?> |
CoreXMLSerializers.XMLGregorianCalendarSerializer.createContextual(SerializerProvider prov,
BeanProperty property) |
JsonDeserializer<?> |
OptionalHandlerFactory.findDeserializer(JavaType type,
DeserializationConfig config,
BeanDescription beanDesc) |
Modifier and Type | Method and Description |
---|---|
void |
JsonFormatVisitable.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
Get the representation of the schema to which this serializer will conform.
|
JsonAnyFormatVisitor |
JsonFormatVisitorWrapper.expectAnyFormat(JavaType type) |
JsonArrayFormatVisitor |
JsonFormatVisitorWrapper.expectArrayFormat(JavaType type) |
JsonBooleanFormatVisitor |
JsonFormatVisitorWrapper.expectBooleanFormat(JavaType type) |
JsonIntegerFormatVisitor |
JsonFormatVisitorWrapper.expectIntegerFormat(JavaType type) |
JsonMapFormatVisitor |
JsonFormatVisitorWrapper.expectMapFormat(JavaType type)
Method called when type is of Java
Map type, and will
be serialized as a JSON Object. |
JsonNullFormatVisitor |
JsonFormatVisitorWrapper.expectNullFormat(JavaType type) |
JsonNumberFormatVisitor |
JsonFormatVisitorWrapper.expectNumberFormat(JavaType type) |
JsonObjectFormatVisitor |
JsonFormatVisitorWrapper.expectObjectFormat(JavaType type) |
JsonStringFormatVisitor |
JsonFormatVisitorWrapper.expectStringFormat(JavaType type) |
void |
JsonArrayFormatVisitor.itemsFormat(JsonFormatTypes format)
Visit method that is called if the content type is a simple
scalar type like
JsonFormatTypes.STRING (but not
for structured types like JsonFormatTypes.OBJECT since
they would be missing type information). |
void |
JsonArrayFormatVisitor.Base.itemsFormat(JsonFormatTypes format) |
void |
JsonArrayFormatVisitor.itemsFormat(JsonFormatVisitable handler,
JavaType elementType)
Visit method called for structured types, as well as possibly
for leaf types (especially if handled by custom serializers).
|
void |
JsonArrayFormatVisitor.Base.itemsFormat(JsonFormatVisitable handler,
JavaType elementType) |
void |
JsonMapFormatVisitor.keyFormat(JsonFormatVisitable handler,
JavaType keyType)
Visit method called to indicate type of keys of the Map type
being visited
|
void |
JsonMapFormatVisitor.Base.keyFormat(JsonFormatVisitable handler,
JavaType keyType) |
void |
JsonObjectFormatVisitor.optionalProperty(BeanProperty writer) |
void |
JsonObjectFormatVisitor.Base.optionalProperty(BeanProperty prop) |
void |
JsonObjectFormatVisitor.optionalProperty(String name,
JsonFormatVisitable handler,
JavaType propertyTypeHint) |
void |
JsonObjectFormatVisitor.Base.optionalProperty(String name,
JsonFormatVisitable handler,
JavaType propertyTypeHint) |
void |
JsonObjectFormatVisitor.property(BeanProperty writer)
Callback method called when a POJO property is being traversed.
|
void |
JsonObjectFormatVisitor.Base.property(BeanProperty prop) |
void |
JsonObjectFormatVisitor.property(String name,
JsonFormatVisitable handler,
JavaType propertyTypeHint)
Callback method called when a non-POJO property (typically something
like an Enum entry of
EnumMap type) is being
traversed. |
void |
JsonObjectFormatVisitor.Base.property(String name,
JsonFormatVisitable handler,
JavaType propertyTypeHint) |
void |
JsonMapFormatVisitor.valueFormat(JsonFormatVisitable handler,
JavaType valueType)
Visit method called after
JsonMapFormatVisitor.keyFormat(com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, com.fasterxml.jackson.databind.JavaType) to allow visiting of
the value type |
void |
JsonMapFormatVisitor.Base.valueFormat(JsonFormatVisitable handler,
JavaType valueType) |
Modifier and Type | Method and Description |
---|---|
JsonNode |
SchemaAware.getSchema(SerializerProvider provider,
Type typeHint)
Get the representation of the schema to which this serializer will conform.
|
JsonNode |
SchemaAware.getSchema(SerializerProvider provider,
Type typeHint,
boolean isOptional)
Get the representation of the schema to which this serializer will conform.
|
Modifier and Type | Method and Description |
---|---|
protected BeanPropertyWriter |
BeanSerializerFactory._constructWriter(SerializerProvider prov,
BeanPropertyDefinition propDef,
TypeBindings typeContext,
PropertyBuilder pb,
boolean staticTyping,
AnnotatedMember accessor)
Secondary helper method for constructing
BeanPropertyWriter for
given member (field or method). |
protected JsonSerializer<?> |
BeanSerializerFactory._createSerializer2(SerializerProvider prov,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping) |
protected JsonSerializer<Object> |
BeanPropertyWriter._findAndAddDynamic(PropertySerializerMap map,
Class<?> type,
SerializerProvider provider) |
protected JsonSerializer<Object> |
BasicSerializerFactory._findContentSerializer(SerializerProvider prov,
Annotated a)
Helper method called to try to find whether there is an annotation in the
class that indicates content ("value") serializer to use.
|
protected JsonSerializer<Object> |
BasicSerializerFactory._findKeySerializer(SerializerProvider prov,
Annotated a)
Helper method called to try to find whether there is an annotation in the
class that indicates key serializer to use.
|
protected boolean |
BeanPropertyWriter._handleSelfReference(Object bean,
com.fasterxml.jackson.core.JsonGenerator gen,
SerializerProvider prov,
JsonSerializer<?> ser)
Method called to handle a direct self-reference through this property.
|
void |
DefaultSerializerProvider.acceptJsonFormatVisitor(JavaType javaType,
JsonFormatVisitorWrapper visitor)
The method to be called by
ObjectMapper and ObjectWriter
to to expose the format of the given to to the given visitor |
void |
SerializerCache.addAndResolveNonTypedSerializer(Class<?> type,
JsonSerializer<Object> ser,
SerializerProvider provider) |
void |
SerializerCache.addAndResolveNonTypedSerializer(JavaType type,
JsonSerializer<Object> ser,
SerializerProvider provider) |
protected JsonSerializer<?> |
BasicSerializerFactory.buildArraySerializer(SerializationConfig config,
ArrayType type,
BeanDescription beanDesc,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
Object[] (and subtypes, except for String). |
protected JsonSerializer<?> |
BasicSerializerFactory.buildCollectionSerializer(SerializationConfig config,
CollectionType type,
BeanDescription beanDesc,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
List types that support efficient by-index access |
protected JsonSerializer<?> |
BasicSerializerFactory.buildContainerSerializer(SerializerProvider prov,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping) |
protected JsonSerializer<?> |
BasicSerializerFactory.buildEnumSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc) |
protected JsonSerializer<?> |
BasicSerializerFactory.buildIterableSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping)
Deprecated.
|
protected JsonSerializer<?> |
BasicSerializerFactory.buildIterableSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping,
JavaType valueType) |
protected JsonSerializer<?> |
BasicSerializerFactory.buildIteratorSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping)
Deprecated.
|
protected JsonSerializer<?> |
BasicSerializerFactory.buildIteratorSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping,
JavaType valueType) |
protected JsonSerializer<?> |
BasicSerializerFactory.buildMapEntrySerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping,
JavaType keyType,
JavaType valueType) |
protected JsonSerializer<?> |
BasicSerializerFactory.buildMapSerializer(SerializationConfig config,
MapType type,
BeanDescription beanDesc,
boolean staticTyping,
JsonSerializer<Object> keySerializer,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Helper method that handles configuration details when constructing serializers for
Map types. |
protected BeanPropertyWriter |
PropertyBuilder.buildWriter(SerializerProvider prov,
BeanPropertyDefinition propDef,
JavaType declaredType,
JsonSerializer<?> ser,
TypeSerializer typeSer,
TypeSerializer contentTypeSer,
AnnotatedMember am,
boolean defaultUseStaticTyping) |
protected JsonSerializer<Object> |
BeanSerializerFactory.constructBeanSerializer(SerializerProvider prov,
BeanDescription beanDesc)
Method called to construct serializer for serializing specified bean type.
|
protected ObjectIdWriter |
BeanSerializerFactory.constructObjectIdHandler(SerializerProvider prov,
BeanDescription beanDesc,
List<BeanPropertyWriter> props) |
JsonSerializer<?> |
ContextualSerializer.createContextual(SerializerProvider prov,
BeanProperty property)
Method called to see if a different (or differently configured) serializer
is needed to serialize values of specified property.
|
abstract JsonSerializer<Object> |
SerializerFactory.createKeySerializer(SerializationConfig config,
JavaType baseType,
JsonSerializer<Object> defaultImpl)
Method called to create serializer to use for serializing JSON property names (which must
be output as
JsonToken.FIELD_NAME ) for Map that has specified declared
key type, and is for specified property (or, if property is null, as root value) |
abstract JsonSerializer<Object> |
SerializerFactory.createSerializer(SerializerProvider prov,
JavaType baseType)
Method called to create (or, for immutable serializers, reuse) a serializer for given type.
|
JsonSerializer<Object> |
BeanSerializerFactory.createSerializer(SerializerProvider prov,
JavaType origType)
Main serializer constructor method.
|
abstract JsonSerializer<Object> |
BasicSerializerFactory.createSerializer(SerializerProvider prov,
JavaType type) |
abstract TypeSerializer |
SerializerFactory.createTypeSerializer(SerializationConfig config,
JavaType baseType)
Method called to create a type information serializer for given base type,
if one is needed.
|
void |
BeanPropertyFilter.depositSchemaProperty(BeanPropertyWriter writer,
JsonObjectFormatVisitor objectVisitor,
SerializerProvider provider)
Deprecated.
Method called by
BeanSerializer to let the filter determine whether, and in what
form the given property exist within the parent, or root, schema. |
void |
BeanPropertyFilter.depositSchemaProperty(BeanPropertyWriter writer,
ObjectNode propertiesNode,
SerializerProvider provider)
Deprecated.
Since 2.3: new code should use the alternative
depositSchemaProperty
method |
abstract void |
PropertyWriter.depositSchemaProperty(JsonObjectFormatVisitor objectVisitor)
Traversal method used for things like JSON Schema generation, or
POJO introspection.
|
void |
BeanPropertyWriter.depositSchemaProperty(JsonObjectFormatVisitor v) |
abstract void |
PropertyWriter.depositSchemaProperty(ObjectNode propertiesNode,
SerializerProvider provider)
Deprecated.
Since 2.2
|
void |
BeanPropertyWriter.depositSchemaProperty(ObjectNode propertiesNode,
SerializerProvider provider)
Deprecated.
|
void |
PropertyFilter.depositSchemaProperty(PropertyWriter writer,
JsonObjectFormatVisitor objectVisitor,
SerializerProvider provider)
Method called by
BeanSerializer to let the filter determine whether, and in what
form the given property exist within the parent, or root, schema. |
void |
PropertyFilter.depositSchemaProperty(PropertyWriter writer,
ObjectNode propertiesNode,
SerializerProvider provider)
Deprecated.
Since 2.3: new code should use the alternative
depositSchemaProperty
method |
protected List<BeanPropertyWriter> |
BeanSerializerFactory.findBeanProperties(SerializerProvider prov,
BeanDescription beanDesc,
BeanSerializerBuilder builder)
Method used to collect all actual serializable properties.
|
JsonSerializer<Object> |
BeanSerializerFactory.findBeanSerializer(SerializerProvider prov,
JavaType type,
BeanDescription beanDesc)
Method that will try to construct a
BeanSerializer for
given class. |
protected Converter<Object,Object> |
BasicSerializerFactory.findConverter(SerializerProvider prov,
Annotated a) |
protected JsonSerializer<?> |
BasicSerializerFactory.findConvertingSerializer(SerializerProvider prov,
Annotated a,
JsonSerializer<?> ser)
Helper method that will check whether given annotated entity (usually class,
but may also be a property accessor) indicates that a
Converter is to
be used; and if so, to construct and return suitable serializer for it. |
protected JsonSerializer<?> |
BasicSerializerFactory.findOptionalStdSerializer(SerializerProvider prov,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping)
Overridable method called after checking all other types.
|
TypeSerializer |
BeanSerializerFactory.findPropertyContentTypeSerializer(JavaType containerType,
SerializationConfig config,
AnnotatedMember accessor)
Method called to create a type information serializer for values of given
container property
if one is needed.
|
TypeSerializer |
BeanSerializerFactory.findPropertyTypeSerializer(JavaType baseType,
SerializationConfig config,
AnnotatedMember accessor)
Method called to create a type information serializer for values of given
non-container property
if one is needed.
|
protected JsonSerializer<?> |
BasicSerializerFactory.findSerializerByAddonType(SerializationConfig config,
JavaType javaType,
BeanDescription beanDesc,
boolean staticTyping)
Reflection-based serialized find method, which checks if
given class implements one of recognized "add-on" interfaces.
|
protected JsonSerializer<?> |
BasicSerializerFactory.findSerializerByAnnotations(SerializerProvider prov,
JavaType type,
BeanDescription beanDesc)
Method called to see if one of primary per-class annotations
(or related, like implementing of
JsonSerializable )
determines the serializer to use. |
protected JsonSerializer<?> |
BasicSerializerFactory.findSerializerByPrimaryType(SerializerProvider prov,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping)
Method for checking if we can determine serializer to use based on set of
known primary types, checking for set of known base types (exact matches
having been compared against with
findSerializerByLookup ). |
protected JsonSerializer<Object> |
BasicSerializerFactory.findSerializerFromAnnotation(SerializerProvider prov,
Annotated a)
Helper method called to check if a class or method
has an annotation
(@link com.fasterxml.jackson.databind.annotation.JsonSerialize#using)
that tells the class to use for serialization.
|
protected Object |
BasicSerializerFactory.findSuppressableContentValue(SerializationConfig config,
JavaType contentType,
BeanDescription beanDesc) |
JsonSchema |
DefaultSerializerProvider.generateJsonSchema(Class<?> type)
|
void |
ResolvableSerializer.resolve(SerializerProvider provider)
Method called after
SerializerProvider has registered
the serializer, but before it has returned it to the caller. |
void |
AnyGetterWriter.resolve(SerializerProvider provider) |
JsonSerializer<Object> |
DefaultSerializerProvider.serializerInstance(Annotated annotated,
Object serDef) |
Modifier and Type | Method and Description |
---|---|
protected JsonSerializer<Object> |
UnwrappingBeanPropertyWriter._findAndAddDynamic(PropertySerializerMap map,
Class<?> type,
SerializerProvider provider) |
protected JsonSerializer<Object> |
MapEntrySerializer._findAndAddDynamic(PropertySerializerMap map,
Class<?> type,
SerializerProvider provider) |
protected JsonSerializer<Object> |
MapEntrySerializer._findAndAddDynamic(PropertySerializerMap map,
JavaType type,
SerializerProvider provider) |
protected void |
StringCollectionSerializer.acceptContentVisitor(JsonArrayFormatVisitor visitor) |
protected void |
IndexedStringListSerializer.acceptContentVisitor(JsonArrayFormatVisitor visitor) |
void |
UnknownSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StringArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
JsonSerializer<?> |
StringCollectionSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
StringArraySerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
MapEntrySerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
IndexedStringListSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
void |
SimpleBeanPropertyFilter.depositSchemaProperty(BeanPropertyWriter writer,
JsonObjectFormatVisitor objectVisitor,
SerializerProvider provider)
Deprecated.
|
void |
SimpleBeanPropertyFilter.depositSchemaProperty(BeanPropertyWriter writer,
ObjectNode propertiesNode,
SerializerProvider provider)
Deprecated.
|
void |
SimpleBeanPropertyFilter.depositSchemaProperty(PropertyWriter writer,
JsonObjectFormatVisitor objectVisitor,
SerializerProvider provider) |
void |
SimpleBeanPropertyFilter.depositSchemaProperty(PropertyWriter writer,
ObjectNode propertiesNode,
SerializerProvider provider)
Deprecated.
|
protected void |
UnknownSerializer.failForEmpty(Object value) |
PropertySerializerMap.SerializerAndMapResult |
PropertySerializerMap.findAndAddPrimarySerializer(Class<?> type,
SerializerProvider provider,
BeanProperty property)
Method called if initial lookup fails, when looking for a primary
serializer (one that is directly attached to a property).
|
PropertySerializerMap.SerializerAndMapResult |
PropertySerializerMap.findAndAddPrimarySerializer(JavaType type,
SerializerProvider provider,
BeanProperty property) |
PropertySerializerMap.SerializerAndMapResult |
PropertySerializerMap.findAndAddRootValueSerializer(Class<?> type,
SerializerProvider provider)
Method called if initial lookup fails, when looking for a root value
serializer: one that is not directly attached to a property, but needs to
have
TypeSerializer wrapped
around it. |
PropertySerializerMap.SerializerAndMapResult |
PropertySerializerMap.findAndAddRootValueSerializer(JavaType type,
SerializerProvider provider) |
PropertySerializerMap.SerializerAndMapResult |
PropertySerializerMap.findAndAddSecondarySerializer(Class<?> type,
SerializerProvider provider,
BeanProperty property)
Method called if initial lookup fails, when looking for a non-primary
serializer (one that is not directly attached to a property).
|
PropertySerializerMap.SerializerAndMapResult |
PropertySerializerMap.findAndAddSecondarySerializer(JavaType type,
SerializerProvider provider,
BeanProperty property) |
JsonNode |
UnknownSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
FailingSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
void |
UnknownSerializer.serialize(Object value,
com.fasterxml.jackson.core.JsonGenerator jgen,
SerializerProvider provider) |
Modifier and Type | Method and Description |
---|---|
protected void |
DateTimeSerializerBase._acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint,
boolean asNumber) |
protected JsonSerializer<Object> |
ObjectArraySerializer._findAndAddDynamic(PropertySerializerMap map,
Class<?> type,
SerializerProvider provider) |
protected JsonSerializer<Object> |
MapSerializer._findAndAddDynamic(PropertySerializerMap map,
Class<?> type,
SerializerProvider provider) |
protected JsonSerializer<Object> |
AsArraySerializerBase._findAndAddDynamic(PropertySerializerMap map,
Class<?> type,
SerializerProvider provider) |
protected JsonSerializer<Object> |
ObjectArraySerializer._findAndAddDynamic(PropertySerializerMap map,
JavaType type,
SerializerProvider provider) |
protected JsonSerializer<Object> |
MapSerializer._findAndAddDynamic(PropertySerializerMap map,
JavaType type,
SerializerProvider provider) |
protected JsonSerializer<Object> |
AsArraySerializerBase._findAndAddDynamic(PropertySerializerMap map,
JavaType type,
SerializerProvider provider) |
protected abstract void |
StaticListSerializerBase.acceptContentVisitor(JsonArrayFormatVisitor visitor) |
void |
ToStringSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
TokenBufferSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StringSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
Default implementation specifies no format.
|
void |
StdScalarSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdKeySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdJdkSerializers.AtomicBooleanSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdJdkSerializers.AtomicIntegerSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdJdkSerializers.AtomicLongSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdJdkSerializers.AtomicReferenceSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdDelegatingSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.BooleanArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.ByteArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.ShortArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.CharArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.IntArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.LongArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.FloatArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StdArraySerializers.DoubleArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
StaticListSerializerBase.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
SqlTimeSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
SqlDateSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
SerializableSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
RawSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
ObjectArraySerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
NumberSerializers.Base.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
NumberSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
NullSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
MapSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
JsonValueSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
FileSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
EnumSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
EnumMapSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
Deprecated.
We consider possibility here that an EnumMap might actually just be serialized
as something like a Record, given that number of keys is bound, just like
with Objects/Records (and not unbounded like regular maps)
|
void |
DateTimeSerializerBase.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
ClassSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
BooleanSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
BeanSerializerBase.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
void |
AsArraySerializerBase.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint) |
JsonSerializer<?> |
StdDelegatingSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
ObjectArraySerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
NumberSerializers.Base.createContextual(SerializerProvider prov,
BeanProperty property) |
JsonSerializer<?> |
MapSerializer.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
JsonValueSerializer.createContextual(SerializerProvider provider,
BeanProperty property)
We can try to find the actual serializer for value, if we can
statically figure out what the result type must be.
|
JsonSerializer<?> |
EnumSerializer.createContextual(SerializerProvider prov,
BeanProperty property)
To support some level of per-property configuration, we will need
to make things contextual.
|
JsonSerializer<?> |
EnumMapSerializer.createContextual(SerializerProvider provider,
BeanProperty property)
Deprecated.
|
JsonSerializer<?> |
DateTimeSerializerBase.createContextual(SerializerProvider prov,
BeanProperty property) |
JsonSerializer<?> |
BeanSerializerBase.createContextual(SerializerProvider provider,
BeanProperty property) |
JsonSerializer<?> |
AsArraySerializerBase.createContextual(SerializerProvider provider,
BeanProperty property)
This method is needed to resolve contextual annotations like
per-property overrides, as well as do recursive call
to
createContextual of content serializer, if
known statically. |
void |
MapProperty.depositSchemaProperty(JsonObjectFormatVisitor objectVisitor) |
void |
MapProperty.depositSchemaProperty(ObjectNode propertiesNode,
SerializerProvider provider)
Deprecated.
|
protected JsonSerializer<?> |
StdSerializer.findConvertingContentSerializer(SerializerProvider provider,
BeanProperty prop,
JsonSerializer<?> existingSerializer)
Helper method that can be used to see if specified property has annotation
indicating that a converter is to be used for contained values (contents
of structured types; array/List/Map values)
|
protected JsonSerializer<Object> |
BeanSerializerBase.findConvertingSerializer(SerializerProvider provider,
BeanPropertyWriter prop)
Helper method that can be used to see if specified property is annotated
to indicate use of a converter for property value (in case of container types,
it is container type itself, not key or content type).
|
protected PropertyFilter |
StdSerializer.findPropertyFilter(SerializerProvider provider,
Object filterId,
Object valueToFilter)
Helper method used to locate filter that is needed, based on filter id
this serializer was constructed with.
|
JsonNode |
ToStringSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdSerializer.getSchema(SerializerProvider provider,
Type typeHint)
Default implementation simply claims type is "string"; usually
overriden by custom serializers.
|
JsonNode |
StdScalarSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdKeySerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdDelegatingSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
SerializableSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
ObjectArraySerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
NullSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
JsonValueSerializer.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
EnumMapSerializer.getSchema(SerializerProvider provider,
Type typeHint)
Deprecated.
|
JsonNode |
BeanSerializerBase.getSchema(SerializerProvider provider,
Type typeHint)
Deprecated.
|
JsonNode |
AsArraySerializerBase.getSchema(SerializerProvider provider,
Type typeHint) |
JsonNode |
StdSerializer.getSchema(SerializerProvider provider,
Type typeHint,
boolean isOptional)
Default implementation simply claims type is "string"; usually
overriden by custom serializers.
|
JsonNode |
StdDelegatingSerializer.getSchema(SerializerProvider provider,
Type typeHint,
boolean isOptional) |
void |
StdDelegatingSerializer.resolve(SerializerProvider provider) |
void |
BeanSerializerBase.resolve(SerializerProvider provider)
We need to implement
ResolvableSerializer to be able to
properly handle cyclic type references. |
Copyright © 2014-2015 FasterXML. All Rights Reserved.