|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JsonProcessingException | |
---|---|
org.codehaus.jackson | Main public API classes of the core streaming JSON
processor: most importantly JsonFactory
used for constructing
Json parser (JsonParser )
and generator
(JsonParser )
instances. |
org.codehaus.jackson.impl | Parser and generator implementation classes that Jackson defines and uses. |
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.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. |
org.codehaus.jackson.map.ser | Contains implementation classes of serialization part of data binding. |
org.codehaus.jackson.node | Contains concrete JsonNode implementations
Jackson uses for the Tree model. |
org.codehaus.jackson.util | Utility classes used by Jackson Core functionality. |
org.codehaus.jackson.xc | Package that contains Xml Compatibility functionality for Jackson. |
Uses of JsonProcessingException in org.codehaus.jackson |
---|
Subclasses of JsonProcessingException in org.codehaus.jackson | |
---|---|
class |
JsonGenerationException
Exception type for exceptions during JSON writing, such as trying to output content in wrong context (non-matching end-array or end-object, for example). |
class |
JsonParseException
Exception 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 JsonProcessingException | ||
---|---|---|
abstract void |
JsonGenerator.copyCurrentEvent(JsonParser jp)
Method for copying contents of the current event that the given parser instance points to. |
|
abstract void |
JsonGenerator.copyCurrentStructure(JsonParser jp)
Method for copying contents of the current event and following events that it encloses the given parser instance points to. |
|
abstract JsonNode |
ObjectCodec.readTree(JsonParser jp)
Method to deserialize JSON content as tree expressed using set of JsonNode instances. |
|
abstract
|
ObjectCodec.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 ). |
|
abstract
|
ObjectCodec.readValue(JsonParser jp,
JavaType valueType)
Method to deserialize JSON content as tree expressed using set of JsonNode instances. |
|
abstract
|
ObjectCodec.readValue(JsonParser jp,
TypeReference<?> valueTypeRef)
Method to deserialize JSON content into a Java type, reference to which is passed as argument. |
|
|
JsonParser.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 (like Boolean ). |
|
|
JsonParser.readValueAs(TypeReference<?> valueTypeRef)
Method to deserialize Json content into a Java type, reference to which is passed as argument. |
|
JsonNode |
JsonParser.readValueAsTree()
Method to deserialize Json content into equivalent "tree model", represented by root JsonNode of resulting model. |
|
abstract
|
ObjectCodec.treeToValue(JsonNode n,
Class<T> valueType)
Convenience method for converting given JSON tree into instance of specified value type. |
|
abstract void |
JsonGenerator.writeObject(Object pojo)
Method for writing given Java object (POJO) as Json. |
|
void |
JsonGenerator.writeObjectField(String fieldName,
Object pojo)
Convenience method for outputting a field entry ("member") that has contents of specific Java object as its value. |
|
abstract void |
ObjectCodec.writeTree(JsonGenerator jgen,
JsonNode rootNode)
Method to serialize given Json Tree, using generator provided. |
|
abstract void |
JsonGenerator.writeTree(JsonNode rootNode)
Method for writing given Json tree (expressed as a tree where given JsonNode is the root) using this generator. |
|
abstract void |
ObjectCodec.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 JsonProcessingException | |
---|---|
void |
JsonGeneratorBase.copyCurrentEvent(JsonParser jp)
|
void |
JsonGeneratorBase.copyCurrentStructure(JsonParser jp)
|
abstract void |
JsonGeneratorBase.writeObject(Object value)
|
void |
WriterBasedGenerator.writeObject(Object value)
|
abstract void |
JsonGeneratorBase.writeTree(JsonNode rootNode)
|
void |
WriterBasedGenerator.writeTree(JsonNode rootNode)
|
Uses of JsonProcessingException in org.codehaus.jackson.map |
---|
Subclasses of JsonProcessingException in org.codehaus.jackson.map | |
---|---|
class |
JsonMappingException
Checked exception used to signal fatal problems with mapping of content. |
Methods in org.codehaus.jackson.map that throw JsonProcessingException | |
---|---|
abstract void |
SerializerProvider.defaultSerializeDateValue(Date date,
JsonGenerator jgen)
Method that will handle serialization of Date(-like) values, using SerializationConfig settings to determine expected serialization
behavior. |
abstract void |
SerializerProvider.defaultSerializeDateValue(long timestamp,
JsonGenerator jgen)
Method that will handle serialization of Date(-like) values, using SerializationConfig settings to determine expected serialization
behavior. |
void |
SerializerProvider.defaultSerializeField(String fieldName,
Object value,
JsonGenerator jgen)
Convenience method that will serialize given field with specified value. |
void |
SerializerProvider.defaultSerializeValue(Object value,
JsonGenerator jgen)
Convenience method that will serialize given value (which can be null) using standard serializer locating functionality. |
abstract T |
JsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
Method that can be called to ask implementation to deserialize json content into the value type this serializer handles. |
T |
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, which is to be
configured and/or populated by deserializer. |
abstract Object |
KeyDeserializer.deserializeKey(String key,
DeserializationContext ctxt)
|
boolean |
DeserializationProblemHandler.handleUnknownProperty(DeserializationContext ctxt,
JsonDeserializer<?> deserializer,
Object beanOrClass,
String propertyName)
Method called when a Json Map ("Object") entry with an unrecognized name is encountered. |
JsonNode |
ObjectMapper.readTree(InputStream in)
Method to deserialize JSON content as tree expressed using set of JsonNode instances. |
JsonNode |
ObjectMapper.readTree(JsonParser jp)
Method to deserialize JSON content as tree expressed using set of JsonNode instances. |
JsonNode |
ObjectMapper.readTree(JsonParser jp,
DeserializationConfig cfg)
Method to deserialize JSON content as tree expressed using set of JsonNode instances. |
JsonNode |
ObjectMapper.readTree(Reader r)
Method to deserialize JSON content as tree expressed using set of JsonNode instances. |
JsonNode |
ObjectMapper.readTree(String content)
Method to deserialize JSON content as tree expressed using set of JsonNode instances. |
void |
JsonSerializable.serialize(JsonGenerator jgen,
SerializerProvider provider)
|
abstract void |
JsonSerializer.serialize(T value,
JsonGenerator jgen,
SerializerProvider provider)
Method that can be called to ask implementation to serialize values of type this serializer handles. |
void |
ObjectMapper.writeTree(JsonGenerator jgen,
JsonNode rootNode)
Method to serialize given Json Tree, using generator provided. |
void |
ObjectMapper.writeTree(JsonGenerator jgen,
JsonNode rootNode,
SerializationConfig cfg)
Method to serialize given Json Tree, using generator provided. |
Uses of JsonProcessingException in org.codehaus.jackson.map.deser |
---|
Methods in org.codehaus.jackson.map.deser that throw JsonProcessingException | |
---|---|
protected abstract T |
FromStringDeserializer._deserialize(String value,
DeserializationContext ctxt)
|
protected Object |
BeanDeserializer._deserializeProperties(JsonParser jp,
DeserializationContext ctxt,
Object bean)
Method that will process "extra" properties that follow Creator-bound properties (if any). |
Map<Object,Object> |
MapDeserializer._deserializeUsingCreator(JsonParser jp,
DeserializationContext ctxt)
|
protected Object |
BeanDeserializer._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 boolean |
StdDeserializer._parseBoolean(JsonParser jp,
DeserializationContext ctxt)
|
protected Date |
StdDeserializer._parseDate(JsonParser jp,
DeserializationContext ctxt)
|
protected double |
StdDeserializer._parseDouble(JsonParser jp,
DeserializationContext ctxt)
|
protected float |
StdDeserializer._parseFloat(JsonParser jp,
DeserializationContext ctxt)
|
protected int |
StdDeserializer._parseInt(JsonParser jp,
DeserializationContext ctxt)
|
protected long |
StdDeserializer._parseLong(JsonParser jp,
DeserializationContext ctxt)
|
protected short |
StdDeserializer._parseShort(JsonParser jp,
DeserializationContext ctxt)
|
protected void |
MapDeserializer._readAndBind(JsonParser jp,
DeserializationContext ctxt,
Map<Object,Object> result)
|
Map<Object,Object> |
MapDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Object |
BeanDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
EnumSet<?> |
EnumSetDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Enum<?> |
EnumDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
String |
StdDeserializer.StringDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Class<?> |
StdDeserializer.ClassDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Boolean |
StdDeserializer.BooleanDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Byte |
StdDeserializer.ByteDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Short |
StdDeserializer.ShortDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Character |
StdDeserializer.CharacterDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Integer |
StdDeserializer.IntegerDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Long |
StdDeserializer.LongDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Float |
StdDeserializer.FloatDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Double |
StdDeserializer.DoubleDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Number |
StdDeserializer.NumberDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
BigDecimal |
StdDeserializer.BigDecimalDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
BigInteger |
StdDeserializer.BigIntegerDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Calendar |
StdDeserializer.CalendarDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Date |
StdDeserializer.SqlDateDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
StackTraceElement |
StdDeserializer.StackTraceElementDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Object |
SettableAnyProperty.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Object |
ArrayDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
JsonNode |
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). |
Date |
DateDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Object |
UntypedObjectDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
EnumMap<?,?> |
EnumMapDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Object |
SettableBeanProperty.deserialize(JsonParser jp,
DeserializationContext ctxt)
This method is needed by some specialized bean deserializers, and also called by some SettableBeanProperty.deserializeAndSet(org.codehaus.jackson.JsonParser, org.codehaus.jackson.map.DeserializationContext, java.lang.Object) implementations. |
Collection<Object> |
CollectionDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
T |
FromStringDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Collection<Object> |
CollectionDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Collection<Object> result)
|
Map<Object,Object> |
MapDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt,
Map<Object,Object> result)
|
abstract void |
SettableBeanProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
Method called to deserialize appropriate value, given parser (and context), and set it using appropriate mechanism |
void |
SettableBeanProperty.MethodProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
void |
SettableBeanProperty.SetterlessProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
void |
SettableBeanProperty.FieldProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
void |
SettableBeanProperty.CreatorProperty.deserializeAndSet(JsonParser jp,
DeserializationContext ctxt,
Object instance)
|
void |
SettableAnyProperty.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). |
protected Byte[] |
ArrayDeserializer.deserializeFromBase64(JsonParser jp,
DeserializationContext ctxt)
|
Object |
BeanDeserializer.deserializeFromNumber(JsonParser jp,
DeserializationContext ctxt)
|
Object |
BeanDeserializer.deserializeFromObject(JsonParser jp,
DeserializationContext ctxt)
|
Object |
ThrowableDeserializer.deserializeFromObject(JsonParser jp,
DeserializationContext ctxt)
|
Object |
BeanDeserializer.deserializeFromString(JsonParser jp,
DeserializationContext ctxt)
|
Object |
StdKeyDeserializer.deserializeKey(String key,
DeserializationContext ctxt)
|
Object |
BeanDeserializer.deserializeUsingCreator(JsonParser jp,
DeserializationContext ctxt)
|
protected void |
BeanDeserializer.handleUnknownProperty(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. |
protected void |
StdDeserializer.handleUnknownProperty(DeserializationContext ctxt,
Object instanceOrClass,
String propName)
Method called to deal with a property that did not map to a known Bean property. |
protected List<Object> |
UntypedObjectDeserializer.mapArray(JsonParser jp,
DeserializationContext ctxt)
|
protected Map<String,Object> |
UntypedObjectDeserializer.mapObject(JsonParser jp,
DeserializationContext ctxt)
|
protected void |
StdDeserializer.reportUnknownProperty(DeserializationContext ctxt,
Object instanceOrClass,
String fieldName)
|
Uses of JsonProcessingException in org.codehaus.jackson.map.ext |
---|
Methods in org.codehaus.jackson.map.ext that throw JsonProcessingException | |
---|---|
DateTime |
JodaDeserializers.DateTimeDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Uses of JsonProcessingException in org.codehaus.jackson.map.ser |
---|
Methods in org.codehaus.jackson.map.ser that throw JsonProcessingException | |
---|---|
protected void |
StdSerializerProvider._serializeValue(JsonGenerator jgen,
Object value)
Method called on the actual non-blueprint provider instance object, to kick off the serialization. |
void |
StdSerializerProvider.defaultSerializeDateValue(Date date,
JsonGenerator jgen)
|
void |
StdSerializerProvider.defaultSerializeDateValue(long timestamp,
JsonGenerator jgen)
|
Uses of JsonProcessingException in org.codehaus.jackson.node |
---|
Methods in org.codehaus.jackson.node that throw JsonProcessingException | |
---|---|
void |
IntNode.serialize(JsonGenerator jg,
SerializerProvider provider)
|
void |
BooleanNode.serialize(JsonGenerator jg,
SerializerProvider provider)
|
void |
TextNode.serialize(JsonGenerator jg,
SerializerProvider provider)
|
void |
BigIntegerNode.serialize(JsonGenerator jg,
SerializerProvider provider)
|
void |
ObjectNode.serialize(JsonGenerator jg,
SerializerProvider provider)
Method that can be called to serialize this node and all of its descendants using specified JSON generator. |
abstract void |
BaseJsonNode.serialize(JsonGenerator jgen,
SerializerProvider provider)
Method called to serialize node instances using given generator. |
void |
DecimalNode.serialize(JsonGenerator jg,
SerializerProvider provider)
|
void |
MissingNode.serialize(JsonGenerator jg,
SerializerProvider provider)
|
void |
ArrayNode.serialize(JsonGenerator jg,
SerializerProvider provider)
|
void |
BinaryNode.serialize(JsonGenerator jg,
SerializerProvider provider)
|
void |
NullNode.serialize(JsonGenerator jg,
SerializerProvider provider)
|
void |
LongNode.serialize(JsonGenerator jg,
SerializerProvider provider)
|
void |
DoubleNode.serialize(JsonGenerator jg,
SerializerProvider provider)
|
void |
POJONode.serialize(JsonGenerator jg,
SerializerProvider provider)
|
Uses of JsonProcessingException in org.codehaus.jackson.util |
---|
Methods in org.codehaus.jackson.util that throw JsonProcessingException | |
---|---|
void |
JsonGeneratorDelegate.copyCurrentEvent(JsonParser jp)
|
void |
JsonGeneratorDelegate.copyCurrentStructure(JsonParser jp)
|
void |
JsonGeneratorDelegate.writeObject(Object pojo)
|
void |
JsonGeneratorDelegate.writeTree(JsonNode rootNode)
|
Uses of JsonProcessingException in org.codehaus.jackson.xc |
---|
Methods in org.codehaus.jackson.xc that throw JsonProcessingException | |
---|---|
DataHandler |
DataHandlerJsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
Object |
XmlAdapterJsonDeserializer.deserialize(JsonParser jp,
DeserializationContext ctxt)
|
void |
DataHandlerJsonSerializer.serialize(DataHandler value,
JsonGenerator jgen,
SerializerProvider provider)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |