Package | Description |
---|---|
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.exc | |
org.codehaus.jackson.node |
Contains concrete
JsonNode implementations
Jackson uses for the Tree model. |
org.codehaus.jackson.smile |
Package that contains experimental implementation of
"Binary-Encoded JSON-Like" data format handlers (parser,
generator, factory produce both, supporting constants).
|
org.codehaus.jackson.util |
Utility classes used by Jackson Core functionality.
|
Modifier and Type | Field | Description |
---|---|---|
protected JsonLocation |
JsonProcessingException.mLocation |
|
static JsonLocation |
JsonLocation.NA |
Shared immutable "N/A location" that can be returned to indicate
that no location information is available
|
Modifier and Type | Method | Description |
---|---|---|
abstract JsonLocation |
JsonParser.getCurrentLocation() |
Method that returns location of the last processed character;
usually for error reporting purposes.
|
JsonLocation |
JsonProcessingException.getLocation() |
|
abstract JsonLocation |
JsonParser.getTokenLocation() |
Method that return the starting location of the current
token; that is, position of the first character from input
that starts the current token.
|
Constructor | Description |
---|---|
JsonParseException(java.lang.String msg,
JsonLocation loc) |
|
JsonParseException(java.lang.String msg,
JsonLocation loc,
java.lang.Throwable root) |
|
JsonProcessingException(java.lang.String msg,
JsonLocation loc) |
|
JsonProcessingException(java.lang.String msg,
JsonLocation loc,
java.lang.Throwable rootCause) |
Modifier and Type | Method | Description |
---|---|---|
JsonLocation |
JsonParserBase.getCurrentLocation() |
Method that returns location of the last processed character;
usually for error reporting purposes
|
JsonLocation |
JsonReadContext.getStartLocation(java.lang.Object srcRef) |
|
JsonLocation |
JsonParserBase.getTokenLocation() |
Method that return the starting location of the current
token; that is, position of the first character from input
that starts the current token.
|
Constructor | Description |
---|---|
JsonMappingException(java.lang.String msg,
JsonLocation loc) |
|
JsonMappingException(java.lang.String msg,
JsonLocation loc,
java.lang.Throwable rootCause) |
Constructor | Description |
---|---|
UnrecognizedPropertyException(java.lang.String msg,
JsonLocation loc,
java.lang.Class<?> referringClass,
java.lang.String propName) |
Modifier and Type | Method | Description |
---|---|---|
JsonLocation |
TreeTraversingParser.getCurrentLocation() |
|
JsonLocation |
TreeTraversingParser.getTokenLocation() |
Modifier and Type | Method | Description |
---|---|---|
JsonLocation |
SmileParser.getCurrentLocation() |
Overridden since we do not really have character-based locations,
but we do have byte offset to specify.
|
JsonLocation |
SmileParser.getTokenLocation() |
Overridden since we do not really have character-based locations,
but we do have byte offset to specify.
|
Modifier and Type | Field | Description |
---|---|---|
protected JsonLocation |
TokenBuffer.Parser._location |
Modifier and Type | Method | Description |
---|---|---|
JsonLocation |
JsonParserDelegate.getCurrentLocation() |
|
JsonLocation |
TokenBuffer.Parser.getCurrentLocation() |
|
JsonLocation |
JsonParserDelegate.getTokenLocation() |
|
JsonLocation |
TokenBuffer.Parser.getTokenLocation() |
Modifier and Type | Method | Description |
---|---|---|
void |
TokenBuffer.Parser.setLocation(JsonLocation l) |