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
Object mapper will convert Json content to ant from
basic Java wrapper types (Integer, Boolean, Double),
Collection types (List, Map), Java Beans,
Strings and nulls. |
org.codehaus.jackson.map.exc | |
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.
|
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(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 and 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 and Description |
---|
JsonMappingException(java.lang.String msg,
JsonLocation loc) |
JsonMappingException(java.lang.String msg,
JsonLocation loc,
java.lang.Throwable rootCause) |
Constructor and Description |
---|
UnrecognizedPropertyException(java.lang.String msg,
JsonLocation loc,
java.lang.Class<?> referringClass,
java.lang.String propName) |
Modifier and Type | Method and Description |
---|---|
JsonLocation |
TreeTraversingParser.getCurrentLocation() |
JsonLocation |
TreeTraversingParser.getTokenLocation() |
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) |