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.exc |
Package for some of
JsonProcessingException
subtypes contained by streaming API. |
com.fasterxml.jackson.core.filter | |
com.fasterxml.jackson.core.io | |
com.fasterxml.jackson.core.json |
JSON-specific parser and generator implementation classes that
Jackson defines and uses.
|
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 p) |
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 g,
TreeNode tree) |
Modifier and Type | Method and Description |
---|---|
protected char |
ParserBase._handleUnrecognizedCharacterEscape(char ch) |
Modifier and Type | Class and Description |
---|---|
class |
InputCoercionException
Exception type for read-side problems that are not direct decoding ("parsing")
problems (those would be reported as
JsonParseException s),
but rather result from failed attempts to convert specific Java value out of valid
but incompatible input value. |
class |
StreamReadException
Intermediate base class for all read-side streaming processing problems, including
parsing and input value coercion problems.
|
Modifier and Type | Method and Description |
---|---|
TokenFilter |
TokenFilterContext.setFieldName(String name) |
Modifier and Type | Class and Description |
---|---|
class |
JsonEOFException
Specialized
JsonParseException that is thrown when end-of-input
is reached unexpectedly, either within token being decoded, or during
skipping of intervening white-space that is not between root-level
tokens (that is, is within JSON Object or JSON Array construct). |
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.
|
Copyright © 2008–2019 FasterXML. All rights reserved.