Uses of Class
org.codehaus.jackson.map.JsonMappingException

Packages that use JsonMappingException
org.codehaus.jackson.map Contains basic mapper (conversion) functionality that allows for converting between regular streaming json content and Java objects (beans or Tree Model: support for both is via ObjectMapper class, as well as convenience methods included in JsonParser 
org.codehaus.jackson.map.deser Contains implementation classes of deserialization part of data binding. 
org.codehaus.jackson.map.ser Contains implementation classes of serialization part of data binding. 
org.codehaus.jackson.schema Classes needed for JSON schema support (currently just ability to generate schemas using serialization part of data mapping) 
org.codehaus.jackson.xc Package that contains Xml Compatibility functionality for Jackson. 
 

Uses of JsonMappingException in org.codehaus.jackson.map
 

Methods in org.codehaus.jackson.map that return JsonMappingException
static JsonMappingException JsonMappingException.from(JsonParser jp, String msg)
           
static JsonMappingException JsonMappingException.from(JsonParser jp, String msg, Throwable problem)
           
abstract  JsonMappingException DeserializationContext.instantiationException(Class<?> instClass, Exception e)
           
abstract  JsonMappingException DeserializationContext.mappingException(Class<?> targetClass)
           
abstract  JsonMappingException DeserializationContext.unknownFieldException(Object instanceOrClass, String fieldName)
           
abstract  JsonMappingException DeserializationContext.weirdKeyException(Class<?> keyClass, String keyValue, String msg)
           
abstract  JsonMappingException DeserializationContext.weirdNumberException(Class<?> instClass, String msg)
           
abstract  JsonMappingException DeserializationContext.weirdStringException(Class<?> instClass, String msg)
           
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.
 

Methods in org.codehaus.jackson.map that throw JsonMappingException
protected  void ObjectMapper._configAndWriteValue(JsonGenerator jgen, Object value)
          Method called to configure the generator as necessary and then call write functionality
protected  JsonDeserializer<Object> ObjectMapper._findRootDeserializer(JavaType valueType)
          Method called to locate deserializer for the passed root-level value.
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(JsonParser jp, JavaType valueType, DeserializationConfig cfg)
          Actual implementation of value reading+binding operation.
abstract  JsonDeserializer<?> DeserializerFactory.createArrayDeserializer(DeserializationConfig config, ArrayType type, DeserializerProvider p)
          Method called to create (or, for completely immutable deserializers, reuse) a deserializer that can convert Json content into values of specified Java type.
abstract  JsonDeserializer<Object> DeserializerFactory.createBeanDeserializer(DeserializationConfig config, JavaType type, DeserializerProvider p)
          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.
abstract  JsonDeserializer<?> DeserializerFactory.createCollectionDeserializer(DeserializationConfig config, CollectionType type, DeserializerProvider p)
           
abstract  JsonDeserializer<?> DeserializerFactory.createEnumDeserializer(DeserializationConfig config, Class<?> enumClass, DeserializerProvider p)
           
abstract  JsonDeserializer<?> DeserializerFactory.createMapDeserializer(DeserializationConfig config, MapType type, DeserializerProvider p)
           
abstract  JsonDeserializer<?> DeserializerFactory.createTreeDeserializer(DeserializationConfig config, Class<? extends JsonNode> nodeClass, DeserializerProvider p)
          Method called to create and return a deserializer that can construct JsonNode(s) from Json content.
abstract  KeyDeserializer DeserializerProvider.findKeyDeserializer(DeserializationConfig config, JavaType type)
          Method called to get hold of a deserializer to use for deserializing keys for Map.
abstract  JsonDeserializer<Object> DeserializerProvider.findValueDeserializer(DeserializationConfig config, JavaType type, JavaType referrer, String refPropName)
          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  JsonSerializer<Object> SerializerProvider.findValueSerializer(Class<?> type)
          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).
 JsonSchema ObjectMapper.generateJsonSchema(Class<?> t)
          Generate the Json-schema} for the specified class.
 JsonSchema ObjectMapper.generateJsonSchema(Class<?> t, SerializationConfig cfg)
           
 JsonSchema SerializerProvider.generateJsonSchema(Class<?> type, SerializationConfig config, SerializerFactory jsf)
          Generate the Json-schema.
<T> T
ObjectMapper.readValue(byte[] src, int offset, int len, Class<T> valueType)
           
<T> T
ObjectMapper.readValue(byte[] src, int offset, int len, JavaType valueType)
           
<T> T
ObjectMapper.readValue(byte[] src, int offset, int len, TypeReference valueTypeRef)
           
<T> T
ObjectMapper.readValue(File src, Class<T> valueType)
           
<T> T
ObjectMapper.readValue(File src, JavaType valueType)
           
<T> T
ObjectMapper.readValue(File src, TypeReference valueTypeRef)
           
<T> T
ObjectMapper.readValue(InputStream src, Class<T> valueType)
           
<T> T
ObjectMapper.readValue(InputStream src, JavaType valueType)
           
<T> T
ObjectMapper.readValue(InputStream src, TypeReference valueTypeRef)
           
<T> T
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).
<T> T
ObjectMapper.readValue(JsonParser jp, Class<T> valueType, DeserializationConfig cfg)
          Method to deserialize Json content into a non-container type (it can be an array type, however): typically a bean, array or a wrapper type (like Boolean).
<T> T
ObjectMapper.readValue(JsonParser jp, JavaType valueType)
          Method to deserialize Json content into a Java type, reference to which is passed as argument.
<T> T
ObjectMapper.readValue(JsonParser jp, JavaType valueType, DeserializationConfig cfg)
          Method to deserialize Json content into a Java type, reference to which is passed as argument.
<T> T
ObjectMapper.readValue(JsonParser jp, TypeReference<?> valueTypeRef)
          Method to deserialize Json content into a Java type, reference to which is passed as argument.
<T> T
ObjectMapper.readValue(JsonParser jp, TypeReference<?> valueTypeRef, DeserializationConfig cfg)
          Method to deserialize Json content into a Java type, reference to which is passed as argument.
<T> T
ObjectMapper.readValue(Reader src, Class<T> valueType)
           
<T> T
ObjectMapper.readValue(Reader src, JavaType valueType)
           
<T> T
ObjectMapper.readValue(Reader src, TypeReference valueTypeRef)
           
<T> T
ObjectMapper.readValue(String content, Class<T> valueType)
           
<T> T
ObjectMapper.readValue(String content, JavaType valueType)
           
<T> T
ObjectMapper.readValue(String content, TypeReference valueTypeRef)
           
<T> T
ObjectMapper.readValue(URL src, Class<T> valueType)
           
<T> T
ObjectMapper.readValue(URL src, JavaType valueType)
           
<T> T
ObjectMapper.readValue(URL src, TypeReference valueTypeRef)
           
 void ResolvableDeserializer.resolve(DeserializationConfig config, DeserializerProvider provider)
          Method called after DeserializerProvider has registered the deserializer, but before it has returned it to the caller.
 void ResolvableSerializer.resolve(SerializerProvider provider)
          Method called after SerializerProvider has registered the serializer, but before it has returned it to the caller.
 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 ObjectMapper.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, SerializationConfig config)
          Method that can be used to serialize any Java value as Json output, using provided JsonGenerator, configured as per passed configuration object.
 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 ObjectMapper.writeValue(Writer w, Object value)
          Method that can be used to serialize any Java value as Json output, using Writer provided.
 

Uses of JsonMappingException in org.codehaus.jackson.map.deser
 

Methods in org.codehaus.jackson.map.deser that return JsonMappingException
 JsonMappingException StdDeserializationContext.instantiationException(Class<?> instClass, Exception e)
           
 JsonMappingException StdDeserializationContext.mappingException(Class<?> targetClass)
           
 JsonMappingException StdDeserializationContext.unknownFieldException(Object instanceOrClass, String fieldName)
           
 JsonMappingException StdDeserializationContext.weirdKeyException(Class<?> keyClass, String keyValue, String msg)
           
 JsonMappingException StdDeserializationContext.weirdNumberException(Class<?> instClass, String msg)
           
 JsonMappingException StdDeserializationContext.weirdStringException(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
 

Methods in org.codehaus.jackson.map.deser that throw JsonMappingException
protected  void BeanDeserializerFactory._addDeserializerConstructors(DeserializationConfig config, BasicBeanDescription beanDesc, BeanDeserializer deser, AnnotationIntrospector intr, BeanDeserializer.CreatorContainer creators)
           
protected  void BeanDeserializerFactory._addDeserializerFactoryMethods(DeserializationConfig config, BasicBeanDescription beanDesc, BeanDeserializer deser, AnnotationIntrospector intr, BeanDeserializer.CreatorContainer creators)
           
protected  JsonDeserializer<Object> StdDeserializerProvider._createAndCacheValueDeserializer(DeserializationConfig config, JavaType type, JavaType referrer, String refPropName)
          Method that will try to create a deserializer for given type, and resolve and cache it if necessary
protected  JsonDeserializer<Object> StdDeserializerProvider._createDeserializer(DeserializationConfig config, JavaType type, JavaType referrer, String refPropName)
           
protected  KeyDeserializer StdDeserializerProvider._handleUnknownKeyDeserializer(JavaType type)
           
protected  JsonDeserializer<Object> StdDeserializerProvider._handleUnknownValueDeserializer(JavaType type)
           
protected  void StdDeserializerProvider._resolveDeserializer(DeserializationConfig config, ResolvableDeserializer ser)
           
protected  void BeanDeserializerFactory.addBeanProps(DeserializationConfig config, BasicBeanDescription beanDesc, BeanDeserializer deser)
          Method called to figure out settable properties for the deserializer.
protected  void BeanDeserializerFactory.addDeserializerCreators(DeserializationConfig config, BasicBeanDescription beanDesc, BeanDeserializer deser)
          Method that is to find all creators (constructors, factory methods) for the bean type to deserialize.
 JsonDeserializer<Object> BeanDeserializerFactory.buildBeanDeserializer(DeserializationConfig config, JavaType type, BasicBeanDescription beanDesc)
          Method that is to actually build a bean deserializer instance.
 JsonDeserializer<Object> BeanDeserializerFactory.buildThrowableDeserializer(DeserializationConfig config, JavaType type, BasicBeanDescription beanDesc)
           
protected  SettableAnyProperty BeanDeserializerFactory.constructAnySetter(DeserializationConfig config, AnnotatedMethod am)
          Method called to construct fallback SettableAnyProperty for handling unknown bean properties, given a method that has been designated as such setter.
protected  SettableBeanProperty BeanDeserializerFactory.constructCreatorProperty(DeserializationConfig config, BasicBeanDescription beanDesc, String name, int index, AnnotatedParameter param)
          Method that will construct a property object that represents a logical property passed via Creator (constructor or static factory method)
protected  SettableBeanProperty BeanDeserializerFactory.constructSettableProperty(DeserializationConfig config, BasicBeanDescription beanDesc, String name, AnnotatedField field)
           
protected  SettableBeanProperty BeanDeserializerFactory.constructSettableProperty(DeserializationConfig config, BasicBeanDescription beanDesc, String name, AnnotatedMethod setter)
          Method that will construct a regular bean property setter using the given setter method.
protected  SettableBeanProperty BeanDeserializerFactory.constructSetterlessProperty(DeserializationConfig config, String name, AnnotatedMethod getter)
          Method that will construct a regular bean property setter using the given setter method.
 JsonDeserializer<?> BasicDeserializerFactory.createArrayDeserializer(DeserializationConfig config, ArrayType type, DeserializerProvider p)
           
 JsonDeserializer<Object> BasicDeserializerFactory.createBeanDeserializer(DeserializationConfig config, JavaType type, DeserializerProvider p)
           
 JsonDeserializer<Object> BeanDeserializerFactory.createBeanDeserializer(DeserializationConfig config, JavaType type, DeserializerProvider p)
          Method that DeserializerProviders call to create a new deserializer for types other than Collections, Maps, arrays and enums.
 JsonDeserializer<Object> CustomDeserializerFactory.createBeanDeserializer(DeserializationConfig config, JavaType type, DeserializerProvider p)
           
 JsonDeserializer<?> BasicDeserializerFactory.createCollectionDeserializer(DeserializationConfig config, CollectionType type, DeserializerProvider p)
           
 JsonDeserializer<?> BasicDeserializerFactory.createEnumDeserializer(DeserializationConfig config, Class<?> enumClass, DeserializerProvider p)
          Factory method for constructing serializers of Enum types.
 JsonDeserializer<?> CustomDeserializerFactory.createEnumDeserializer(DeserializationConfig config, Class<?> enumClass, DeserializerProvider p)
           
 JsonDeserializer<?> BasicDeserializerFactory.createMapDeserializer(DeserializationConfig config, MapType type, DeserializerProvider p)
           
 JsonDeserializer<?> BasicDeserializerFactory.createTreeDeserializer(DeserializationConfig config, Class<? extends JsonNode> nodeClass, DeserializerProvider p)
           
protected  JsonDeserializer<Object> BeanDeserializer.findDeserializer(DeserializationConfig config, DeserializerProvider provider, JavaType type, String propertyName, HashMap<JavaType,JsonDeserializer<Object>> seen)
          Helper method used to locate deserializers for properties the bean itself contains.
 KeyDeserializer StdDeserializerProvider.findKeyDeserializer(DeserializationConfig config, JavaType type)
           
 JsonDeserializer<Object> StdDeserializerProvider.findValueDeserializer(DeserializationConfig config, JavaType type, JavaType referrer, String refPropName)
           
protected  JavaType BasicDeserializerFactory.modifyTypeByAnnotation(DeserializationConfig config, Annotated a, JavaType type)
          Method called to see if given method has annotations that indicate a more specific type than what the argument specifies.
 void BeanDeserializer.resolve(DeserializationConfig config, DeserializerProvider provider)
          Method called to finalize setup of this deserializer, after deserializer itself has been registered.
 void BeanDeserializer.validateCreators()
          Method called to ensure that there is at least one constructor that could be used to construct an instance.
 

Uses of JsonMappingException in org.codehaus.jackson.map.ser
 

Methods in org.codehaus.jackson.map.ser that throw JsonMappingException
protected  JsonSerializer<Object> StdSerializerProvider._createAndCacheSerializer(Class<?> type)
          Method that will try to construct a value aerializer; and if one is succesfully created, cache it for reuse.
protected  JsonSerializer<Object> StdSerializerProvider._createSerializer(Class<?> type)
           
protected  void StdSerializerProvider._resolveSerializer(ResolvableSerializer ser)
           
 JsonSerializer<Object> StdSerializerProvider.findValueSerializer(Class<?> type)
           
 JsonSchema StdSerializerProvider.generateJsonSchema(Class<?> type, SerializationConfig config, SerializerFactory jsf)
           
 JsonNode StdKeySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.ObjectArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
abstract  JsonNode SerializerBase.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.BooleanSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.ClassSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.IntegerSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.IntLikeSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.EnumSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.UtilDateSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.NullSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BasicSerializerFactory.SerializableSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ToStringSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JsonValueSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BeanSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ContainerSerializers.IndexedListSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ContainerSerializers.CollectionSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ContainerSerializers.IteratorSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ContainerSerializers.IterableSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ContainerSerializers.EnumSetSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ContainerSerializers.EnumMapSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 void JsonValueSerializer.resolve(SerializerProvider provider)
          We can try to find the actual serializer for value, if we can statically figure out what the result type must be.
 void BeanSerializer.resolve(SerializerProvider provider)
           
 

Uses of JsonMappingException in org.codehaus.jackson.schema
 

Methods in org.codehaus.jackson.schema that throw JsonMappingException
 JsonNode SchemaAware.getSchema(SerializerProvider provider, Type typeHint)
          Get the representation of the schema to which this serializer will conform.
 

Uses of JsonMappingException in org.codehaus.jackson.xc
 

Methods in org.codehaus.jackson.xc that throw JsonMappingException
 JsonNode XmlAdapterJsonSerializer.getSchema(SerializerProvider provider, Type typeHint)