|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JsonMappingException | |
---|---|
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 | |
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 |
Uses of JsonMappingException in com.fasterxml.jackson.databind |
---|
Methods in com.fasterxml.jackson.databind that return JsonMappingException | |
---|---|
JsonMappingException |
DeserializationContext.endOfInputException(Class<?> instClass)
|
static JsonMappingException |
JsonMappingException.from(JsonParser jp,
String msg)
|
static JsonMappingException |
JsonMappingException.from(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,
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)
Helper method for constructing exception to indicate that given type id (parsed from JSON) could not be converted to a Java type. |
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(JsonParser jp,
JsonToken expToken,
String msg)
Helper method for indicating that the current token was expected to be another token. |
Methods in com.fasterxml.jackson.databind that throw JsonMappingException | ||
---|---|---|
protected Object |
ObjectReader._bind(JsonParser jp,
Object valueToUpdate)
Actual implementation of value reading+binding operation. |
|
protected Object |
ObjectReader._bindAndClose(JsonParser jp,
Object valueToUpdate)
|
|
protected JsonNode |
ObjectReader._bindAndCloseAsTree(JsonParser jp)
|
|
protected JsonNode |
ObjectReader._bindAsTree(JsonParser jp)
|
|
protected void |
ObjectWriter._configAndWriteValue(JsonGenerator jgen,
Object value)
Method called to configure the generator as necessary and then call write functionality |
|
protected void |
ObjectMapper._configAndWriteValue(JsonGenerator jgen,
Object value)
Method called to configure the generator as necessary and then call write functionality |
|
protected void |
ObjectMapper._configAndWriteValue(JsonGenerator jgen,
Object value,
Class<?> viewClass)
|
|
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 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._handleContextual(JsonSerializer<?> ser,
BeanProperty property)
|
|
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 static JsonToken |
ObjectReader._initForReading(JsonParser jp)
|
|
protected JsonToken |
ObjectMapper._initForReading(JsonParser jp)
Method called to ensure that given parser is ready for reading content for data binding. |
|
protected Object |
ObjectMapper._readMapAndClose(JsonParser jp,
JavaType valueType)
|
|
protected Object |
ObjectMapper._readValue(DeserializationConfig cfg,
JsonParser jp,
JavaType valueType)
Actual implementation of value reading+binding operation. |
|
protected Object |
ObjectMapper._unwrapAndDeserialize(JsonParser jp,
DeserializationContext ctxt,
DeserializationConfig config,
JavaType rootType,
JsonDeserializer<Object> deser)
|
|
protected Object |
ObjectReader._unwrapAndDeserialize(JsonParser jp,
DeserializationContext ctxt,
JavaType rootType,
JsonDeserializer<Object> deser)
|
|
void |
ObjectMapper.acceptJsonFormatVisitor(Class<?> 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) . |
|
abstract JsonDeserializer<Object> |
DeserializationContext.deserializerInstance(Annotated annotated,
Object deserDef)
|
|
JsonDeserializer<Object> |
DeserializationContext.findContextualValueDeserializer(JavaType type,
BeanProperty property)
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 property)
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. |
|
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 property values. |
|
JsonDeserializer<Object> |
DeserializationContext.findRootValueDeserializer(JavaType type)
Method for finding a deserializer for root-level value. |
|
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,
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,
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. |
|
abstract KeyDeserializer |
DeserializationContext.keyDeserializerInstance(Annotated annotated,
Object deserDef)
|
|
abstract ObjectIdGenerator<?> |
SerializerProvider.objectIdGeneratorInstance(Annotated annotated,
ObjectIdInfo objectIdInfo)
|
|
abstract ObjectIdGenerator<?> |
DeserializationContext.objectIdGeneratorInstance(Annotated annotated,
ObjectIdInfo objectIdInfo)
|
|
|
ObjectMapper.readValue(byte[] src,
Class<T> valueType)
|
|
|
ObjectMapper.readValue(byte[] src,
int offset,
int len,
Class<T> valueType)
|
|
|
ObjectMapper.readValue(byte[] src,
int offset,
int len,
JavaType valueType)
|
|
|
ObjectMapper.readValue(byte[] src,
int offset,
int len,
TypeReference valueTypeRef)
|
|
|
ObjectMapper.readValue(byte[] src,
JavaType valueType)
|
|
|
ObjectMapper.readValue(byte[] src,
TypeReference valueTypeRef)
|
|
|
ObjectMapper.readValue(File src,
Class<T> valueType)
|
|
|
ObjectMapper.readValue(File src,
JavaType valueType)
|
|
|
ObjectMapper.readValue(File src,
TypeReference valueTypeRef)
|
|
|
ObjectMapper.readValue(InputStream src,
Class<T> valueType)
|
|
|
ObjectMapper.readValue(InputStream src,
JavaType valueType)
|
|
|
ObjectMapper.readValue(InputStream src,
TypeReference valueTypeRef)
|
|
|
ObjectMapper.readValue(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 ). |
|
|
ObjectMapper.readValue(JsonParser jp,
JavaType valueType)
Type-safe overloaded method, basically alias for ObjectMapper.readValue(JsonParser, ResolvedType) . |
|
|
ObjectMapper.readValue(JsonParser jp,
ResolvedType valueType)
Method to deserialize JSON content into a Java type, reference to which is passed as argument. |
|
|
ObjectMapper.readValue(JsonParser jp,
TypeReference<?> valueTypeRef)
Method to deserialize JSON content into a Java type, reference to which is passed as argument. |
|
|
ObjectMapper.readValue(Reader src,
Class<T> valueType)
|
|
|
ObjectMapper.readValue(Reader src,
JavaType valueType)
|
|
|
ObjectMapper.readValue(Reader src,
TypeReference valueTypeRef)
|
|
|
ObjectMapper.readValue(String content,
Class<T> valueType)
|
|
|
ObjectMapper.readValue(String content,
JavaType valueType)
|
|
|
ObjectMapper.readValue(String content,
TypeReference valueTypeRef)
|
|
|
ObjectMapper.readValue(URL src,
Class<T> valueType)
|
|
|
ObjectMapper.readValue(URL src,
JavaType valueType)
|
|
|
ObjectMapper.readValue(URL src,
TypeReference valueTypeRef)
|
|
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(JsonGenerator jgen,
Object value)
Method that can be used to serialize any Java value as JSON output, using provided JsonGenerator . |
|
void |
ObjectMapper.writeValue(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. |
Constructors in com.fasterxml.jackson.databind with parameters of type JsonMappingException | |
---|---|
RuntimeJsonMappingException(JsonMappingException cause)
|
|
RuntimeJsonMappingException(String message,
JsonMappingException cause)
|
Uses of JsonMappingException in com.fasterxml.jackson.databind.deser |
---|
Methods in com.fasterxml.jackson.databind.deser that throw JsonMappingException | ||
---|---|---|
protected void |
BasicDeserializerFactory._addDeserializerConstructors(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators)
|
|
protected void |
BasicDeserializerFactory._addDeserializerFactoryMethods(DeserializationContext ctxt,
BeanDescription beanDesc,
VisibilityChecker<?> vchecker,
AnnotationIntrospector intr,
CreatorCollector creators)
|
|
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<?> |
BasicDeserializerFactory._findCustomArrayDeserializer(ArrayType type,
DeserializationConfig config,
BeanDescription beanDesc,
TypeDeserializer elementTypeDeserializer,
JsonDeserializer<?> elementDeserializer)
|
|
protected JsonDeserializer<Object> |
BeanDeserializerFactory._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,
String 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)
|
|
JsonDeserializer<Object> |
DefaultDeserializationContext.deserializerInstance(Annotated annotated,
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 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)
|
|
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<Object> |
BeanDeserializerFactory.findStdDeserializer(DeserializationConfig config,
JavaType type)
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). |
|
KeyDeserializer |
DefaultDeserializationContext.keyDeserializerInstance(Annotated annotated,
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(DeserializationConfig config,
BeanDescription beanDesc)
|
|
protected
|
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. |
|
ObjectIdGenerator<?> |
DefaultDeserializationContext.objectIdGeneratorInstance(Annotated annotated,
ObjectIdInfo objectIdInfo)
|
|
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. |
Uses of JsonMappingException in com.fasterxml.jackson.databind.deser.impl |
---|
Methods in com.fasterxml.jackson.databind.deser.impl that throw JsonMappingException | |
---|---|
static PropertyBasedCreator |
PropertyBasedCreator.construct(DeserializationContext ctxt,
ValueInstantiator valueInstantiator,
SettableBeanProperty[] srcProps)
Factory method used for building actual instances: resolves deserializers and checks for "null values". |
Uses of JsonMappingException in com.fasterxml.jackson.databind.deser.std |
---|
Methods in com.fasterxml.jackson.databind.deser.std that return JsonMappingException | |
---|---|
protected JsonMappingException |
StdValueInstantiator.wrapException(Throwable t)
|
Methods in com.fasterxml.jackson.databind.deser.std that throw JsonMappingException | |
---|---|
JsonDeserializer<?> |
StringCollectionDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
|
JsonDeserializer<?> |
StdDelegatingDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
|
JsonDeserializer<?> |
ObjectArrayDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
|
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<?> |
JdkDeserializers.AtomicReferenceDeserializer.createContextual(DeserializationContext ctxt,
BeanProperty property)
|
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<?> |
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. |
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) |
void |
MapDeserializer.resolve(DeserializationContext ctxt)
|
void |
DelegatingDeserializer.resolve(DeserializationContext ctxt)
|
Uses of JsonMappingException in com.fasterxml.jackson.databind.exc |
---|
Subclasses of JsonMappingException in com.fasterxml.jackson.databind.exc | |
---|---|
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 |
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). |
Uses of JsonMappingException in com.fasterxml.jackson.databind.ext |
---|
Methods in com.fasterxml.jackson.databind.ext that throw JsonMappingException | |
---|---|
JsonNode |
CoreXMLSerializers.XMLGregorianCalendarSerializer.getSchema(SerializerProvider provider,
Type typeHint)
|
Uses of JsonMappingException in com.fasterxml.jackson.databind.jsonFormatVisitors |
---|
Methods in com.fasterxml.jackson.databind.jsonFormatVisitors that throw JsonMappingException | |
---|---|
void |
JsonFormatVisitable.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
Get the representation of the schema to which this serializer will conform. |
Uses of JsonMappingException in com.fasterxml.jackson.databind.jsonschema |
---|
Methods in com.fasterxml.jackson.databind.jsonschema that throw JsonMappingException | |
---|---|
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. |
Uses of JsonMappingException in com.fasterxml.jackson.databind.module |
---|
Uses of JsonMappingException in com.fasterxml.jackson.databind.ser |
---|
Methods in com.fasterxml.jackson.databind.ser that throw JsonMappingException | |
---|---|
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<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 void |
BeanPropertyWriter._handleSelfReference(Object bean,
JsonSerializer<?> ser)
|
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,
BeanProperty property,
boolean staticTyping,
TypeSerializer elementTypeSerializer,
JsonSerializer<Object> elementValueSerializer)
Deprecated. Since 2.1 |
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,
BeanProperty property,
boolean staticTyping)
Deprecated. Since 2.1 (removed 'property' argument) |
protected JsonSerializer<?> |
BasicSerializerFactory.buildContainerSerializer(SerializerProvider prov,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping)
|
protected JsonSerializer<?> |
BasicSerializerFactory.buildIterableSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping)
|
protected JsonSerializer<?> |
BasicSerializerFactory.buildIteratorSerializer(SerializationConfig config,
JavaType type,
BeanDescription beanDesc,
boolean staticTyping)
|
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 JsonSerializer<Object> |
BeanSerializerFactory.constructBeanSerializer(SerializerProvider prov,
BeanDescription beanDesc)
Method called to construct serializer for serializing specified bean type. |
protected JsonSerializer<Object> |
BeanSerializerFactory.constructBeanSerializer(SerializerProvider prov,
BeanDescription beanDesc,
BeanProperty property)
Deprecated. Since 2.1, do not pass 'property' argument |
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)
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)
|
JsonSerializer<Object> |
SerializerFactory.createSerializer(SerializerProvider prov,
JavaType baseType,
BeanProperty property)
Deprecated. Since 2.1: need to use the new variant without 'property' argument (since one won't be passed) |
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)
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)
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 |
BeanPropertyWriter.depositSchemaProperty(JsonObjectFormatVisitor objectVisitor)
Method called to handle appropriate type-specific visiting over logical property this writer handles. |
void |
BeanPropertyWriter.depositSchemaProperty(ObjectNode propertiesNode,
SerializerProvider provider)
Attempt to add the output of the given BeanPropertyWriter in the given ObjectNode . |
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. |
JsonSerializer<Object> |
BeanSerializerFactory.findBeanSerializer(SerializerProvider prov,
JavaType type,
BeanDescription beanDesc,
BeanProperty property)
Deprecated. Since 2.1 (use variant without 'property' argument). |
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. |
TypeSerializer |
BeanSerializerFactory.findPropertyTypeSerializer(JavaType baseType,
SerializationConfig config,
AnnotatedMember accessor,
BeanProperty property)
Deprecated. Since 2.1 |
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. |
JsonSchema |
DefaultSerializerProvider.generateJsonSchema(Class<?> type)
The method to be called by ObjectMapper and ObjectWriter
to generate JSON schema for
given type. |
ObjectIdGenerator<?> |
DefaultSerializerProvider.objectIdGeneratorInstance(Annotated annotated,
ObjectIdInfo objectIdInfo)
|
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)
|
Uses of JsonMappingException in com.fasterxml.jackson.databind.ser.impl |
---|
Uses of JsonMappingException in com.fasterxml.jackson.databind.ser.std |
---|
Methods in com.fasterxml.jackson.databind.ser.std that throw JsonMappingException | |
---|---|
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)
|
void |
StdSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
Default implementation specifies no format. |
void |
StdDelegatingSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
|
void |
JsonValueSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
|
void |
EnumMapSerializer.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
|
void |
BeanSerializerBase.acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor,
JavaType typeHint)
|
JsonSerializer<?> |
StdDelegatingSerializer.createContextual(SerializerProvider provider,
BeanProperty property)
|
JsonSerializer<?> |
ObjectArraySerializer.createContextual(SerializerProvider provider,
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)
|
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. |
protected BeanPropertyFilter |
BeanSerializerBase.findFilter(SerializerProvider provider)
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)
|
JsonNode |
BeanSerializerBase.getSchema(SerializerProvider provider,
Type typeHint)
|
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 |
BeanSerializerBase.resolve(SerializerProvider provider)
We need to implement ResolvableSerializer to be able to
properly handle cyclic type references. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |