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 and 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 and 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 and Description |
---|
JsonParseException(String msg,
JsonLocation loc) |
JsonParseException(String msg,
JsonLocation loc,
Throwable root) |
JsonProcessingException(String msg,
JsonLocation loc) |
JsonProcessingException(String msg,
JsonLocation loc,
Throwable rootCause) |
Modifier and Type | Method and Description |
---|---|
JsonLocation |
JsonParserBase.getCurrentLocation()
Method that returns location of the last processed character;
usually for error reporting purposes
|
JsonLocation |
JsonReadContext.getStartLocation(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 and Description |
---|
JsonMappingException(String msg,
JsonLocation loc) |
JsonMappingException(String msg,
JsonLocation loc,
Throwable rootCause) |
Constructor and Description |
---|
UnrecognizedPropertyException(String msg,
JsonLocation loc,
Class<?> referringClass,
String propName) |
Modifier and Type | Method and Description |
---|---|
JsonLocation |
TreeTraversingParser.getCurrentLocation() |
JsonLocation |
TreeTraversingParser.getTokenLocation() |
Modifier and Type | Method and 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 and Description |
---|---|
protected JsonLocation |
TokenBuffer.Parser._location |
Modifier and Type | Method and Description |
---|---|
JsonLocation |
TokenBuffer.Parser.getCurrentLocation() |
JsonLocation |
JsonParserDelegate.getCurrentLocation() |
JsonLocation |
TokenBuffer.Parser.getTokenLocation() |
JsonLocation |
JsonParserDelegate.getTokenLocation() |
Modifier and Type | Method and Description |
---|---|
void |
TokenBuffer.Parser.setLocation(JsonLocation l) |