Package | Description |
---|---|
com.fasterxml.jackson.core |
Main public API classes of the core streaming JSON
processor: most importantly
JsonFactory
used for constructing
JSON parser (JsonParser )
and generator
(JsonGenerator )
instances. |
com.fasterxml.jackson.core.base |
Base classes used by concrete Parser and Generator implementations;
contain functionality that is not specific to JSON or input
abstraction (byte vs char).
|
com.fasterxml.jackson.core.filter | |
com.fasterxml.jackson.core.json |
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
|
com.fasterxml.jackson.core.util |
Utility classes used by Jackson Core functionality.
|
Modifier and Type | Class and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
abstract <T extends TreeNode> |
TreeCodec.readTree(JsonParser jp) |
abstract <T extends TreeNode> |
ObjectCodec.readTree(JsonParser jp)
Method to deserialize JSON content as tree expressed
using set of
TreeNode instances. |
abstract <T> T |
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 <T> T |
ObjectCodec.readValue(JsonParser jp,
ResolvedType valueType)
Method to deserialize JSON content into a POJO, type specified
with fully resolved type object (so it can be a generic type,
including containers like
Collection and
Map ). |
abstract <T> T |
ObjectCodec.readValue(JsonParser jp,
TypeReference<?> valueTypeRef)
Method to deserialize JSON content into a Java type, reference
to which is passed as argument.
|
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,
ResolvedType 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.
|
abstract <T> T |
ObjectCodec.treeToValue(TreeNode n,
Class<T> valueType)
Convenience method for converting given JSON tree into instance of specified
value type.
|
abstract void |
TreeCodec.writeTree(JsonGenerator jg,
TreeNode tree) |
abstract void |
ObjectCodec.writeTree(JsonGenerator jg,
TreeNode tree) |
abstract void |
ObjectCodec.writeValue(JsonGenerator jgen,
Object value)
Method to serialize given Java Object, using generator
provided.
|
Modifier and Type | Method and Description |
---|---|
protected char |
ParserMinimalBase._handleUnrecognizedCharacterEscape(char ch) |
Modifier and Type | Method and Description |
---|---|
TokenFilter |
TokenFilterContext.setFieldName(String name) |
Modifier and Type | Method and Description |
---|---|
void |
JsonReadContext.setCurrentName(String name) |
int |
JsonWriteContext.writeFieldName(String name)
Method that writer is to call before it writes a field name.
|
Modifier and Type | Method and Description |
---|---|
void |
JsonGeneratorDelegate.writeObject(Object pojo) |
Copyright © 2014-2015 FasterXML. All Rights Reserved.