Uses of Class
org.codehaus.jackson.JsonProcessingException
Packages that use JsonProcessingException
Package
Description
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser)
and generator
(JsonParser)
instances.Parser and generator implementation classes that Jackson
defines and uses.
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
JsonParserContains implementation classes of deserialization part of
data binding.
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
Contains public standard implementations of abstraction that
Jackson uses.
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.
Package that contains standard implementations for
TypeResolverBuilder
and
TypeIdResolver.Contains implementation classes of serialization part of
data binding.
Utility classes for Mapper package.
Contains concrete
JsonNode implementations
Jackson uses for the Tree model.Utility classes used by Jackson Core functionality.
Package that contains XML Compatibility functionality for Jackson, such
as handlers for JAXB annotations
-
Uses of JsonProcessingException in org.codehaus.jackson
Subclasses of JsonProcessingException in org.codehaus.jacksonModifier and TypeClassDescriptionclassException type for exceptions during JSON writing, such as trying to output content in wrong context (non-matching end-array or end-object, for example).classException type for parsing problems, used when non-well-formed content (content that does not conform to JSON syntax as per specification) is encountered.Methods in org.codehaus.jackson that throw JsonProcessingExceptionModifier and TypeMethodDescriptionabstract voidJsonGenerator.copyCurrentEvent(JsonParser jp) Method for copying contents of the current event that the given parser instance points to.abstract voidJsonGenerator.copyCurrentStructure(JsonParser jp) Method for copying contents of the current event and following events that it encloses the given parser instance points to.abstract JsonNodeObjectCodec.readTree(JsonParser jp) Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.abstract <T> TObjectCodec.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 (likeBoolean).abstract <T> TObjectCodec.readValue(JsonParser jp, JavaType valueType) Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.abstract <T> TObjectCodec.readValue(JsonParser jp, TypeReference<?> valueTypeRef) Method to deserialize JSON content into a Java type, reference to which is passed as argument.<T> TJsonParser.readValueAs(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 (likeBoolean).<T> TJsonParser.readValueAs(TypeReference<?> valueTypeRef) Method to deserialize JSON content into a Java type, reference to which is passed as argument.JsonParser.readValueAsTree()Method to deserialize JSON content into equivalent "tree model", represented by rootJsonNodeof resulting model.abstract <T> Iterator<T> ObjectCodec.readValues(JsonParser jp, Class<T> valueType) Method for reading sequence of Objects from parser stream, all with same specified value type.abstract <T> Iterator<T> ObjectCodec.readValues(JsonParser jp, JavaType valueType) Method for reading sequence of Objects from parser stream, all with same specified value type.abstract <T> Iterator<T> ObjectCodec.readValues(JsonParser jp, TypeReference<?> valueTypeRef) Method for reading sequence of Objects from parser stream, all with same specified value type.<T> Iterator<T> JsonParser.readValuesAs(Class<T> valueType) Method for reading sequence of Objects from parser stream, all with same specified value type.<T> Iterator<T> JsonParser.readValuesAs(TypeReference<?> valueTypeRef) Method for reading sequence of Objects from parser stream, all with same specified value type.abstract <T> TObjectCodec.treeToValue(JsonNode n, Class<T> valueType) Convenience method for converting given JSON tree into instance of specified value type.abstract voidJsonGenerator.writeObject(Object pojo) Method for writing given Java object (POJO) as Json.final voidJsonGenerator.writeObjectField(String fieldName, Object pojo) Convenience method for outputting a field entry ("member") that has contents of specific Java object as its value.abstract voidMethod for writing given JSON tree (expressed as a tree where given JsonNode is the root) using this generator.abstract voidObjectCodec.writeTree(JsonGenerator jgen, JsonNode rootNode) Method to serialize given Json Tree, using generator provided.abstract voidObjectCodec.writeValue(JsonGenerator jgen, Object value) Method to serialize given Java Object, using generator provided. -
Uses of JsonProcessingException in org.codehaus.jackson.impl
Methods in org.codehaus.jackson.impl that throw JsonProcessingExceptionModifier and TypeMethodDescriptionprotected charJsonParserMinimalBase._handleUnrecognizedCharacterEscape(char ch) final voidJsonGeneratorBase.copyCurrentEvent(JsonParser jp) final voidJsonGeneratorBase.copyCurrentStructure(JsonParser jp) voidJsonGeneratorBase.writeObject(Object value) void -
Uses of JsonProcessingException in org.codehaus.jackson.map
Subclasses of JsonProcessingException in org.codehaus.jackson.mapModifier and TypeClassDescriptionclassChecked exception used to signal fatal problems with mapping of content.Methods in org.codehaus.jackson.map that throw JsonProcessingExceptionModifier and TypeMethodDescriptionabstract voidSerializerProvider.defaultSerializeDateKey(long timestamp, JsonGenerator jgen) Method that will handle serialization of Dates used asMapkeys, based onSerializationConfig.Feature.WRITE_DATE_KEYS_AS_TIMESTAMPSvalue (and if using textual representation, configured date format)abstract voidSerializerProvider.defaultSerializeDateKey(Date date, JsonGenerator jgen) Method that will handle serialization of Dates used asMapkeys, based onSerializationConfig.Feature.WRITE_DATE_KEYS_AS_TIMESTAMPSvalue (and if using textual representation, configured date format)abstract voidSerializerProvider.defaultSerializeDateValue(long timestamp, JsonGenerator jgen) Method that will handle serialization of Date(-like) values, usingSerializationConfigsettings to determine expected serialization behavior.abstract voidSerializerProvider.defaultSerializeDateValue(Date date, JsonGenerator jgen) Method that will handle serialization of Date(-like) values, usingSerializationConfigsettings to determine expected serialization behavior.final voidSerializerProvider.defaultSerializeField(String fieldName, Object value, JsonGenerator jgen) Convenience method that will serialize given field with specified value.final voidSerializerProvider.defaultSerializeNull(JsonGenerator jgen) final voidSerializerProvider.defaultSerializeValue(Object value, JsonGenerator jgen) Convenience method that will serialize given value (which can be null) using standard serializer locating functionality.abstract TJsonDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) Method that can be called to ask implementation to deserialize JSON content into the value type this serializer handles.JsonDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt, T intoValue) Alternate deserialization method (compared to the most commonly used,JsonDeserializer.deserialize(JsonParser, DeserializationContext)), which takes in initialized value instance, to be configured and/or populated by deserializer.abstract ObjectKeyDeserializer.deserializeKey(String key, DeserializationContext ctxt) Method called to deserialize aMapkey from JSON property name.abstract ObjectTypeDeserializer.deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt) Method called to let this type deserializer handle deserialization of "typed" object, when value itself may have been serialized using any kind of JSON value (Array, Object, scalar).abstract ObjectTypeDeserializer.deserializeTypedFromArray(JsonParser jp, DeserializationContext ctxt) Method called to let this type deserializer handle deserialization of "typed" object, when value itself is serialized as JSON Array (regardless of Java type).abstract ObjectTypeDeserializer.deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt) Method called to let this type deserializer handle deserialization of "typed" object, when value itself is serialized as JSON Object (regardless of Java type).abstract ObjectTypeDeserializer.deserializeTypedFromScalar(JsonParser jp, DeserializationContext ctxt) Method called to let this type deserializer handle deserialization of "typed" object, when value itself is serialized as a scalar JSON value (something other than Array or Object), regardless of Java type.JsonDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) Deserialization called when type being deserialized is defined to contain additional type identifier, to allow for correctly instantiating correct subtype.abstract booleanDeserializationContext.handleUnknownProperty(JsonParser jp, JsonDeserializer<?> deser, Object instanceOrClass, String propName) Method deserializers can call to inform configuredDeserializationProblemHandlers of an unrecognized property.booleanDeserializationProblemHandler.handleUnknownProperty(DeserializationContext ctxt, JsonDeserializer<?> deserializer, Object beanOrClass, String propertyName) Method called when a Json Map ("Object") entry with an unrecognized name is encountered.ObjectMapper.readTree(byte[] content) Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.ObjectMapper.readTree(InputStream in) Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.ObjectMapper.readTree(JsonParser jp) Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.ObjectMapper.readTree(JsonParser jp, DeserializationConfig cfg) Method to deserialize JSON content as tree expressed using set ofJsonNodeinstances.ObjectReader.readTree(InputStream in) Method that reads content from given input source, using configuration of this reader, and binds it as JSON Tree.Method that reads content from given input source, using configuration of this reader, and binds it as JSON Tree.Method that reads content from given JSON input String, using configuration of this reader, and binds it as JSON Tree.ObjectReader.readTree(JsonParser jp) Convenience method that binds content read using given parser, using configuration of this reader, except that content is bound as JSON tree instead of configured root value type.<T> TObjectReader.readValue(byte[] src) Method that binds content read from given byte array, using configuration of this reader.<T> TObjectReader.readValue(byte[] src, int offset, int length) Method that binds content read from given byte array, using configuration of this reader.<T> T<T> TObjectReader.readValue(InputStream src) Method that binds content read from given input source, using configuration of this reader.<T> TMethod that binds content read from given input source, using configuration of this reader.<T> TMethod that binds content read from given JSON string, using configuration of this reader.<T> TMethod that binds content read from given input source, using configuration of this reader.<T> TConvenience method for converting results from given JSON tree into given value type.<T> TObjectReader.readValue(JsonParser jp) Method that binds content read using given parser, using configuration of this reader, including expected result type.<T> TObjectReader.readValue(JsonParser jp, Class<T> valueType) Convenience method that binds content read using given parser, using configuration of this reader, except that expected value type is specified with the call (instead of currently configured root type).<T> TObjectReader.readValue(JsonParser jp, JavaType valueType) Convenience method that binds content read using given parser, using configuration of this reader, except that expected value type is specified with the call (instead of currently configured root type).<T> TObjectReader.readValue(JsonParser jp, TypeReference<?> valueTypeRef) Convenience method that binds content read using given parser, using configuration of this reader, except that expected value type is specified with the call (instead of currently configured root type).<T> MappingIterator<T> ObjectMapper.readValues(JsonParser jp, Class<T> valueType) Method for reading sequence of Objects from parser stream.<T> MappingIterator<T> ObjectMapper.readValues(JsonParser jp, JavaType valueType) Method for reading sequence of Objects from parser stream.<T> MappingIterator<T> ObjectMapper.readValues(JsonParser jp, TypeReference<?> valueTypeRef) Method for reading sequence of Objects from parser stream.final <T> MappingIterator<T> ObjectReader.readValues(byte[] src) Since 1.9.3<T> MappingIterator<T> ObjectReader.readValues(byte[] src, int offset, int length) Method for reading sequence of Objects from parser stream.<T> MappingIterator<T> ObjectReader.readValues(File src) Method for reading sequence of Objects from parser stream.<T> MappingIterator<T> ObjectReader.readValues(InputStream src) Method for reading sequence of Objects from parser stream.<T> MappingIterator<T> ObjectReader.readValues(Reader src) Method for reading sequence of Objects from parser stream.<T> MappingIterator<T> ObjectReader.readValues(String json) Method for reading sequence of Objects from parser stream.<T> MappingIterator<T> ObjectReader.readValues(URL src) Method for reading sequence of Objects from parser stream.<T> MappingIterator<T> ObjectReader.readValues(JsonParser jp) Method for reading sequence of Objects from parser stream.<T> Iterator<T> ObjectReader.readValues(JsonParser jp, Class<T> valueType) Convenience method that is equivalent to:<T> Iterator<T> ObjectReader.readValues(JsonParser jp, JavaType valueType) Convenience method that is equivalent to:<T> Iterator<T> ObjectReader.readValues(JsonParser jp, TypeReference<?> valueTypeRef) Convenience method that is equivalent to:voidJsonSerializable.serialize(JsonGenerator jgen, SerializerProvider provider) Deprecated.abstract voidJsonSerializer.serialize(T value, JsonGenerator jgen, SerializerProvider provider) Method that can be called to ask implementation to serialize values of type this serializer handles.voidJsonSerializableWithType.serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) voidJsonSerializer.serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) Method that can be called to ask implementation to serialize values of type this serializer handles, using specified type serializer for embedding necessary type information.<T> TObjectReader.treeToValue(JsonNode n, Class<T> valueType) voidObjectMapper.writeTree(JsonGenerator jgen, JsonNode rootNode) Method to serialize given JSON Tree, using generator provided.voidObjectMapper.writeTree(JsonGenerator jgen, JsonNode rootNode, SerializationConfig cfg) Method to serialize given Json Tree, using generator provided.voidObjectReader.writeTree(JsonGenerator jgen, JsonNode rootNode) NOTE: NOT implemented forObjectReader.abstract voidTypeSerializer.writeTypePrefixForArray(Object value, JsonGenerator jgen) Method called to write initial part of type information for given value, when it will be output as JSON Array value (not as JSON Object or scalar).voidTypeSerializer.writeTypePrefixForArray(Object value, JsonGenerator jgen, Class<?> type) Alternative version of the prefix-for-array method, which is given actual type to use (instead of using exact type of the value); typically a super type of actual value typeabstract voidTypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen) Method called to write initial part of type information for given value, when it will be output as JSON Object value (not as JSON Array or scalar).voidTypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen, Class<?> type) Alternative version of the prefix-for-object method, which is given actual type to use (instead of using exact type of the value); typically a super type of actual value typeabstract voidTypeSerializer.writeTypePrefixForScalar(Object value, JsonGenerator jgen) Method called to write initial part of type information for given value, when it will be output as scalar JSON value (not as JSON Object or Array).voidTypeSerializer.writeTypePrefixForScalar(Object value, JsonGenerator jgen, Class<?> type) Alternative version of the prefix-for-scalar method, which is given actual type to use (instead of using exact type of the value); typically a super type of actual value typeabstract voidTypeSerializer.writeTypeSuffixForArray(Object value, JsonGenerator jgen) Method called after value has been serialized, to close any scopes opened by earlier matching call toTypeSerializer.writeTypeSuffixForScalar(Object, JsonGenerator).abstract voidTypeSerializer.writeTypeSuffixForObject(Object value, JsonGenerator jgen) Method called after value has been serialized, to close any scopes opened by earlier matching call toTypeSerializer.writeTypePrefixForObject(Object, JsonGenerator).abstract voidTypeSerializer.writeTypeSuffixForScalar(Object value, JsonGenerator jgen) Method called after value has been serialized, to close any scopes opened by earlier matching call toTypeSerializer.writeTypePrefixForScalar(Object, JsonGenerator).voidObjectReader.writeValue(JsonGenerator jgen, Object value) -
Uses of JsonProcessingException in org.codehaus.jackson.map.deser
Methods in org.codehaus.jackson.map.deser that throw JsonProcessingExceptionModifier and TypeMethodDescriptionprotected ObjectAbstractDeserializer._deserializeIfNatural(JsonParser jp, DeserializationContext ctxt) protected final ObjectBeanDeserializer._deserializeUsingPropertyBased(JsonParser jp, DeserializationContext ctxt) Method called to deserialize bean using "property-based creator": this means that a non-default constructor or factory method is called, and then possibly other setters.protected JsonDeserializer<Object> BeanDeserializer._findSubclassDeserializer(DeserializationContext ctxt, Object bean, TokenBuffer unknownTokens) Helper method called to (try to) locate deserializer for given sub-type of type that this deserializer handles.ValueInstantiator.createFromBoolean(boolean value) ValueInstantiator.createFromDouble(double value) ValueInstantiator.createFromInt(int value) ValueInstantiator.createFromLong(long value) ValueInstantiator.createFromObjectWith(Object[] args) Method called to create value instance from JSON Object when instantiation arguments are passed; this is done, for example when passing information specified with "Creator" annotations.ValueInstantiator.createFromString(String value) ValueInstantiator.createUsingDefault()Method called to create value instance from a JSON value when no data needs to passed to creator (constructor, factory method); typically this will call the default constructor of the value object.ValueInstantiator.createUsingDelegate(Object delegate) Method to called to create value instance from JSON Object using an intermediate "delegate" value to pass to createor methodAbstractDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) final ObjectBeanDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) Main deserialization method for bean-based objects (POJOs).BeanDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt, Object bean) Secondary deserialization method, called in cases where POJO instance is created as part of deserialization, potentially after collecting some or all of the properties to set.final ObjectSettableAnyProperty.deserialize(JsonParser jp, DeserializationContext ctxt) final ObjectSettableBeanProperty.deserialize(JsonParser jp, DeserializationContext ctxt) This method is needed by some specialized bean deserializers, and also called by someSettableBeanProperty.deserializeAndSet(JsonParser, DeserializationContext, Object)implementations.StdDeserializer.StringDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) Deprecated.StdDeserializerProvider.WrappedDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializerProvider.WrappedDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt, Object intoValue) final voidSettableAnyProperty.deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance, String propName) Method called to deserialize appropriate value, given parser (and context), and set it using appropriate method (a setter method).abstract voidSettableBeanProperty.deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance) Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism.voidSettableBeanProperty.FieldProperty.deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance) voidSettableBeanProperty.InnerClassProperty.deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object bean) voidSettableBeanProperty.ManagedReferenceProperty.deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance) voidSettableBeanProperty.MethodProperty.deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance) final voidSettableBeanProperty.SetterlessProperty.deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance) protected final JsonNodeJsonNodeDeserializer.deserializeAny(JsonParser jp, DeserializationContext ctxt) Deprecated.since 1.9.0protected final ArrayNodeJsonNodeDeserializer.deserializeArray(JsonParser jp, DeserializationContext ctxt) Deprecated.since 1.9.0BeanDeserializer.deserializeFromArray(JsonParser jp, DeserializationContext ctxt) BeanDeserializer.deserializeFromBoolean(JsonParser jp, DeserializationContext ctxt) Method called to deserialize POJO value from a JSON boolean value (true, false)BeanDeserializer.deserializeFromDouble(JsonParser jp, DeserializationContext ctxt) Method called to deserialize POJO value from a JSON floating-point number.BeanDeserializer.deserializeFromNumber(JsonParser jp, DeserializationContext ctxt) BeanDeserializer.deserializeFromObject(JsonParser jp, DeserializationContext ctxt) protected ObjectBeanDeserializer.deserializeFromObjectUsingNonDefault(JsonParser jp, DeserializationContext ctxt) BeanDeserializer.deserializeFromString(JsonParser jp, DeserializationContext ctxt) protected final ObjectNodeJsonNodeDeserializer.deserializeObject(JsonParser jp, DeserializationContext ctxt) Deprecated.since 1.9.0protected ObjectBeanDeserializer.deserializeUsingPropertyBasedWithExternalTypeId(JsonParser jp, DeserializationContext ctxt) protected ObjectBeanDeserializer.deserializeUsingPropertyBasedWithUnwrapped(JsonParser jp, DeserializationContext ctxt) protected ObjectBeanDeserializer.deserializeWithExternalTypeId(JsonParser jp, DeserializationContext ctxt) protected ObjectBeanDeserializer.deserializeWithExternalTypeId(JsonParser jp, DeserializationContext ctxt, Object bean) AbstractDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) BeanDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) StdDeserializer.StringDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) Deprecated.StdDeserializerProvider.WrappedDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) protected ObjectBeanDeserializer.deserializeWithUnwrapped(JsonParser jp, DeserializationContext ctxt) Method called when there are declared "unwrapped" properties which need special handlingprotected ObjectBeanDeserializer.deserializeWithUnwrapped(JsonParser jp, DeserializationContext ctxt, Object bean) protected ObjectBeanDeserializer.handlePolymorphic(JsonParser jp, DeserializationContext ctxt, Object bean, TokenBuffer unknownTokens) Method called in cases where we may have polymorphic deserialization case: that is, type of Creator-constructed bean is not the type of deserializer itself.protected ObjectBeanDeserializer.handleUnknownProperties(DeserializationContext ctxt, Object bean, TokenBuffer unknownTokens) Method called to handle set of one or more unknown properties, stored in their entirety in givenTokenBuffer(as field entries, name and value).protected voidBeanDeserializer.handleUnknownProperty(JsonParser jp, DeserializationContext ctxt, Object beanOrClass, String propName) Method called when a JSON property is encountered that has not matching setter, any-setter or field, and thus can not be assigned.booleanStdDeserializationContext.handleUnknownProperty(JsonParser jp, JsonDeserializer<?> deser, Object instanceOrClass, String propName) Method deserializers can call to inform configuredDeserializationProblemHandlers of an unrecognized property.protected voidBeanDeserializer.injectValues(DeserializationContext ctxt, Object bean) SettableBeanProperty.NullProvider.nullValue(DeserializationContext ctxt) -
Uses of JsonProcessingException in org.codehaus.jackson.map.deser.impl
Methods in org.codehaus.jackson.map.deser.impl that throw JsonProcessingExceptionModifier and TypeMethodDescriptionprotected final voidExternalTypeHandler._deserialize(JsonParser jp, DeserializationContext ctxt, Object bean, int index) abstract voidMethod called to assign stored value of this property to specified bean instanceExternalTypeHandler.complete(JsonParser jp, DeserializationContext ctxt, Object bean) voidCreatorProperty.deserializeAndSet(JsonParser jp, DeserializationContext ctxt, Object instance) booleanExternalTypeHandler.handleToken(JsonParser jp, DeserializationContext ctxt, String propName, Object bean) Method called to ask handler to handlebooleanExternalTypeHandler.handleTypePropertyValue(JsonParser jp, DeserializationContext ctxt, String propName, Object bean) Method called to see if given property/value pair is an external type id; and if so handle it.UnwrappedPropertyHandler.processUnwrapped(JsonParser originalParser, DeserializationContext ctxt, Object bean, TokenBuffer buffered) -
Uses of JsonProcessingException in org.codehaus.jackson.map.deser.std
Methods in org.codehaus.jackson.map.deser.std that throw JsonProcessingExceptionModifier and TypeMethodDescriptionprotected ObjectStdValueInstantiator._createFromStringFallbacks(String value) protected abstract TFromStringDeserializer._deserialize(String value, DeserializationContext ctxt) protected UUIDFromStringDeserializer.UUIDDeserializer._deserialize(String value, DeserializationContext ctxt) protected TFromStringDeserializer._deserializeEmbedded(Object ob, DeserializationContext ctxt) protected UUIDFromStringDeserializer.UUIDDeserializer._deserializeEmbedded(Object ob, DeserializationContext ctxt) MapDeserializer._deserializeUsingCreator(JsonParser jp, DeserializationContext ctxt) protected final BooleanStdDeserializer._parseBoolean(JsonParser jp, DeserializationContext ctxt) protected final booleanStdDeserializer._parseBooleanFromNumber(JsonParser jp, DeserializationContext ctxt) protected final booleanStdDeserializer._parseBooleanPrimitive(JsonParser jp, DeserializationContext ctxt) protected ByteStdDeserializer._parseByte(JsonParser jp, DeserializationContext ctxt) protected DateStdDeserializer._parseDate(JsonParser jp, DeserializationContext ctxt) protected final DoubleStdDeserializer._parseDouble(JsonParser jp, DeserializationContext ctxt) protected final doubleStdDeserializer._parseDoublePrimitive(JsonParser jp, DeserializationContext ctxt) protected final FloatStdDeserializer._parseFloat(JsonParser jp, DeserializationContext ctxt) protected final floatStdDeserializer._parseFloatPrimitive(JsonParser jp, DeserializationContext ctxt) protected final IntegerStdDeserializer._parseInteger(JsonParser jp, DeserializationContext ctxt) protected final intStdDeserializer._parseIntPrimitive(JsonParser jp, DeserializationContext ctxt) protected final LongStdDeserializer._parseLong(JsonParser jp, DeserializationContext ctxt) protected final longStdDeserializer._parseLongPrimitive(JsonParser jp, DeserializationContext ctxt) protected ShortStdDeserializer._parseShort(JsonParser jp, DeserializationContext ctxt) protected final shortStdDeserializer._parseShortPrimitive(JsonParser jp, DeserializationContext ctxt) protected final voidMapDeserializer._readAndBind(JsonParser jp, DeserializationContext ctxt, Map<Object, Object> result) StdValueInstantiator.createFromBoolean(boolean value) StdValueInstantiator.createFromDouble(double value) StdValueInstantiator.createFromInt(int value) StdValueInstantiator.createFromLong(long value) StdValueInstantiator.createFromObjectWith(Object[] args) StdValueInstantiator.createFromString(String value) StdValueInstantiator.createUsingDefault()StdValueInstantiator.createUsingDelegate(Object delegate) AtomicBooleanDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) AtomicReferenceDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) CalendarDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) Class<?> ClassDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) CollectionDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) CollectionDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt, Collection<Object> result) DateDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) Enum<?> EnumDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) EnumDeserializer.FactoryBasedDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) EnumMap<?, ?> EnumMapDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) EnumSet<?> EnumSetDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) final TFromStringDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) JavaTypeDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) JsonNodeDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) Implementation that will produce types of any JSON nodes; not just one deserializer is registered to handle (in case of more specialized handler).MapDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) MapDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt, Map<Object, Object> result) Object[]ObjectArrayDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializer.BigDecimalDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializer.BigIntegerDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializer.BooleanDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializer.ByteDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializer.CharacterDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializer.DoubleDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializer.FloatDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializer.IntegerDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializer.LongDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializer.NumberDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializer.ShortDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializer.SqlDateDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StdDeserializer.StackTraceElementDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StringCollectionDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) StringCollectionDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt, Collection<String> result) StringDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) TimestampDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) TokenBufferDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) UntypedObjectDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) protected Byte[]ObjectArrayDeserializer.deserializeFromBase64(JsonParser jp, DeserializationContext ctxt) ThrowableDeserializer.deserializeFromObject(JsonParser jp, DeserializationContext ctxt) final ObjectStdKeyDeserializer.deserializeKey(String key, DeserializationContext ctxt) CollectionDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) EnumMapDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) EnumSetDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) MapDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) Object[]ObjectArrayDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) PrimitiveArrayDeserializers.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) StdDeserializer.BooleanDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) StdDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) Base implementation that does not assume specific type inclusion mechanism.StdDeserializer.DoubleDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) StdDeserializer.IntegerDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) StdDeserializer.NumberDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) As mentioned in class Javadoc, there is additional complexity in handling potentially mixed type information here.StdScalarDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) StringCollectionDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) StringDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) UntypedObjectDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) protected voidStdDeserializer.handleUnknownProperty(JsonParser jp, DeserializationContext ctxt, Object instanceOrClass, String propName) Method called to deal with a property that did not map to a known Bean property.protected ObjectUntypedObjectDeserializer.mapArray(JsonParser jp, DeserializationContext ctxt) Method called to map a JSON Array into a Java value.protected Object[]UntypedObjectDeserializer.mapArrayToArray(JsonParser jp, DeserializationContext ctxt) Method called to map a JSON Array into a Java Object array (Object[]).protected ObjectUntypedObjectDeserializer.mapObject(JsonParser jp, DeserializationContext ctxt) Method called to map a JSON Object into a Java value.protected voidStdDeserializer.reportUnknownProperty(DeserializationContext ctxt, Object instanceOrClass, String fieldName) -
Uses of JsonProcessingException in org.codehaus.jackson.map.exc
Subclasses of JsonProcessingException in org.codehaus.jackson.map.excModifier and TypeClassDescriptionclassSpecializedJsonMappingExceptionsub-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 JsonProcessingException in org.codehaus.jackson.map.ext
Methods in org.codehaus.jackson.map.ext that throw JsonProcessingExceptionModifier and TypeMethodDescriptionCoreXMLDeserializers.GregorianCalendarDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) org.joda.time.DateMidnightJodaDeserializers.DateMidnightDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) JodaDeserializers.DateTimeDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) org.joda.time.LocalDateJodaDeserializers.LocalDateDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) org.joda.time.LocalDateTimeJodaDeserializers.LocalDateTimeDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) org.joda.time.ReadablePeriodJodaDeserializers.PeriodDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) protected StringJodaSerializers.JodaSerializer.printLocalDate(org.joda.time.ReadableInstant dateValue) protected StringJodaSerializers.JodaSerializer.printLocalDate(org.joda.time.ReadablePartial dateValue) protected StringJodaSerializers.JodaSerializer.printLocalDateTime(org.joda.time.ReadablePartial dateValue) -
Uses of JsonProcessingException in org.codehaus.jackson.map.jsontype.impl
Methods in org.codehaus.jackson.map.jsontype.impl that throw JsonProcessingExceptionModifier and TypeMethodDescriptionprotected ObjectAsPropertyTypeDeserializer._deserializeIfNatural(JsonParser jp, DeserializationContext ctxt) Helper method used to check if given parser might be pointing to a "natural" value, and one that would be acceptable as the result value (compatible with declared base type)protected ObjectAsPropertyTypeDeserializer._deserializeTypedUsingDefaultImpl(JsonParser jp, DeserializationContext ctxt, TokenBuffer tb) protected final JsonDeserializer<Object> TypeDeserializerBase._findDefaultImplDeserializer(DeserializationContext ctxt) protected final JsonDeserializer<Object> TypeDeserializerBase._findDeserializer(DeserializationContext ctxt, String typeId) protected final StringAsArrayTypeDeserializer._locateTypeId(JsonParser jp, DeserializationContext ctxt) protected final voidAsExternalTypeSerializer._writePrefix(Object value, JsonGenerator jgen) protected final voidAsExternalTypeSerializer._writePrefix(Object value, JsonGenerator jgen, Class<?> type) protected final voidAsExternalTypeSerializer._writeSuffix(Object value, JsonGenerator jgen) AsArrayTypeDeserializer.deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt) AsPropertyTypeDeserializer.deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt) AsWrapperTypeDeserializer.deserializeTypedFromAny(JsonParser jp, DeserializationContext ctxt) AsArrayTypeDeserializer.deserializeTypedFromArray(JsonParser jp, DeserializationContext ctxt) Method called when actual object is serialized as JSON Array.AsWrapperTypeDeserializer.deserializeTypedFromArray(JsonParser jp, DeserializationContext ctxt) AsArrayTypeDeserializer.deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt) Method called when actual object is serialized as JSON ObjectAsPropertyTypeDeserializer.deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt) This is the trickiest thing to handle, since property we are looking for may be anywhere...AsWrapperTypeDeserializer.deserializeTypedFromObject(JsonParser jp, DeserializationContext ctxt) Deserializing type id enclosed using WRAPPER_OBJECT style is straightforwardAsArrayTypeDeserializer.deserializeTypedFromScalar(JsonParser jp, DeserializationContext ctxt) AsWrapperTypeDeserializer.deserializeTypedFromScalar(JsonParser jp, DeserializationContext ctxt) voidAsArrayTypeSerializer.writeTypePrefixForArray(Object value, JsonGenerator jgen) voidAsArrayTypeSerializer.writeTypePrefixForArray(Object value, JsonGenerator jgen, Class<?> type) voidAsExternalTypeSerializer.writeTypePrefixForArray(Object value, JsonGenerator jgen) voidAsExternalTypeSerializer.writeTypePrefixForArray(Object value, JsonGenerator jgen, Class<?> type) voidAsWrapperTypeSerializer.writeTypePrefixForArray(Object value, JsonGenerator jgen) voidAsWrapperTypeSerializer.writeTypePrefixForArray(Object value, JsonGenerator jgen, Class<?> type) voidAsArrayTypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen) voidAsArrayTypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen, Class<?> type) voidAsExternalTypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen) voidAsExternalTypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen, Class<?> type) voidAsPropertyTypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen) voidAsPropertyTypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen, Class<?> type) voidAsWrapperTypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen) voidAsWrapperTypeSerializer.writeTypePrefixForObject(Object value, JsonGenerator jgen, Class<?> type) voidAsArrayTypeSerializer.writeTypePrefixForScalar(Object value, JsonGenerator jgen) voidAsArrayTypeSerializer.writeTypePrefixForScalar(Object value, JsonGenerator jgen, Class<?> type) voidAsExternalTypeSerializer.writeTypePrefixForScalar(Object value, JsonGenerator jgen) voidAsExternalTypeSerializer.writeTypePrefixForScalar(Object value, JsonGenerator jgen, Class<?> type) voidAsWrapperTypeSerializer.writeTypePrefixForScalar(Object value, JsonGenerator jgen) voidAsWrapperTypeSerializer.writeTypePrefixForScalar(Object value, JsonGenerator jgen, Class<?> type) voidAsArrayTypeSerializer.writeTypeSuffixForArray(Object value, JsonGenerator jgen) voidAsExternalTypeSerializer.writeTypeSuffixForArray(Object value, JsonGenerator jgen) voidAsWrapperTypeSerializer.writeTypeSuffixForArray(Object value, JsonGenerator jgen) voidAsArrayTypeSerializer.writeTypeSuffixForObject(Object value, JsonGenerator jgen) voidAsExternalTypeSerializer.writeTypeSuffixForObject(Object value, JsonGenerator jgen) voidAsPropertyTypeSerializer.writeTypeSuffixForObject(Object value, JsonGenerator jgen) voidAsWrapperTypeSerializer.writeTypeSuffixForObject(Object value, JsonGenerator jgen) voidAsArrayTypeSerializer.writeTypeSuffixForScalar(Object value, JsonGenerator jgen) voidAsExternalTypeSerializer.writeTypeSuffixForScalar(Object value, JsonGenerator jgen) voidAsWrapperTypeSerializer.writeTypeSuffixForScalar(Object value, JsonGenerator jgen) -
Uses of JsonProcessingException in org.codehaus.jackson.map.ser
Methods in org.codehaus.jackson.map.ser that throw JsonProcessingExceptionModifier and TypeMethodDescriptionprotected voidStdSerializerProvider._reportIncompatibleRootType(Object value, JavaType rootType) protected voidStdSerializerProvider._serializeValue(JsonGenerator jgen, Object value) Method called on the actual non-blueprint provider instance object, to kick off the serialization.protected voidStdSerializerProvider._serializeValue(JsonGenerator jgen, Object value, JavaType rootType) Method called on the actual non-blueprint provider instance object, to kick off the serialization, when root type is explicitly specified and not determined from value.voidStdSerializerProvider.defaultSerializeDateKey(long timestamp, JsonGenerator jgen) voidStdSerializerProvider.defaultSerializeDateKey(Date date, JsonGenerator jgen) final voidStdSerializerProvider.defaultSerializeDateValue(long timestamp, JsonGenerator jgen) final voidStdSerializerProvider.defaultSerializeDateValue(Date date, JsonGenerator jgen) -
Uses of JsonProcessingException in org.codehaus.jackson.map.ser.std
Methods in org.codehaus.jackson.map.ser.std that throw JsonProcessingExceptionModifier and TypeMethodDescriptionvoidJsonValueSerializer.serializeWithType(Object bean, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) voidRawSerializer.serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) -
Uses of JsonProcessingException in org.codehaus.jackson.map.type
Methods in org.codehaus.jackson.map.type that throw JsonProcessingExceptionModifier and TypeMethodDescriptionvoidTypeBase.serialize(JsonGenerator jgen, SerializerProvider provider) voidTypeBase.serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) -
Uses of JsonProcessingException in org.codehaus.jackson.map.util
Methods in org.codehaus.jackson.map.util that throw JsonProcessingExceptionModifier and TypeMethodDescriptionvoidJSONPObject.serialize(JsonGenerator jgen, SerializerProvider provider) voidJSONWrappedObject.serialize(JsonGenerator jgen, SerializerProvider provider) voidJSONPObject.serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) voidJSONWrappedObject.serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) -
Uses of JsonProcessingException in org.codehaus.jackson.node
Methods in org.codehaus.jackson.node that throw JsonProcessingExceptionModifier and TypeMethodDescriptionfinal voidArrayNode.serialize(JsonGenerator jg, SerializerProvider provider) abstract voidBaseJsonNode.serialize(JsonGenerator jgen, SerializerProvider provider) Method called to serialize node instances using given generator.final voidBigIntegerNode.serialize(JsonGenerator jg, SerializerProvider provider) final voidBinaryNode.serialize(JsonGenerator jg, SerializerProvider provider) final voidBooleanNode.serialize(JsonGenerator jg, SerializerProvider provider) final voidDecimalNode.serialize(JsonGenerator jg, SerializerProvider provider) final voidDoubleNode.serialize(JsonGenerator jg, SerializerProvider provider) final voidIntNode.serialize(JsonGenerator jg, SerializerProvider provider) final voidLongNode.serialize(JsonGenerator jg, SerializerProvider provider) final voidMissingNode.serialize(JsonGenerator jg, SerializerProvider provider) final voidNullNode.serialize(JsonGenerator jg, SerializerProvider provider) final voidObjectNode.serialize(JsonGenerator jg, SerializerProvider provider) Method that can be called to serialize this node and all of its descendants using specified JSON generator.final voidPOJONode.serialize(JsonGenerator jg, SerializerProvider provider) final voidTextNode.serialize(JsonGenerator jg, SerializerProvider provider) voidArrayNode.serializeWithType(JsonGenerator jg, SerializerProvider provider, TypeSerializer typeSer) abstract voidBaseJsonNode.serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer) Type information is needed, even if JsonNode instances are "plain" JSON, since they may be mixed with other types.voidMissingNode.serializeWithType(JsonGenerator jg, SerializerProvider provider, TypeSerializer typeSer) voidObjectNode.serializeWithType(JsonGenerator jg, SerializerProvider provider, TypeSerializer typeSer) voidValueNode.serializeWithType(JsonGenerator jg, SerializerProvider provider, TypeSerializer typeSer) -
Uses of JsonProcessingException in org.codehaus.jackson.util
Methods in org.codehaus.jackson.util that throw JsonProcessingExceptionModifier and TypeMethodDescriptionvoidJsonGeneratorDelegate.copyCurrentEvent(JsonParser jp) voidTokenBuffer.copyCurrentEvent(JsonParser jp) voidJsonGeneratorDelegate.copyCurrentStructure(JsonParser jp) voidTokenBuffer.copyCurrentStructure(JsonParser jp) voidJsonGeneratorDelegate.writeObject(Object pojo) voidTokenBuffer.writeObject(Object value) voidvoid -
Uses of JsonProcessingException in org.codehaus.jackson.xc
Methods in org.codehaus.jackson.xc that throw JsonProcessingExceptionModifier and TypeMethodDescriptionDataHandlerJsonDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) DomElementJsonDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) XmlAdapterJsonDeserializer.deserialize(JsonParser jp, DeserializationContext ctxt) XmlAdapterJsonDeserializer.deserializeWithType(JsonParser jp, DeserializationContext ctxt, TypeDeserializer typeDeserializer) voidDataHandlerJsonSerializer.serialize(DataHandler value, JsonGenerator jgen, SerializerProvider provider)