程序包 | 说明 |
---|---|
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.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.
|
限定符和类型 | 字段和说明 |
---|---|
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
|
限定符和类型 | 方法和说明 |
---|---|
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.
|
构造器和说明 |
---|
JsonParseException(String msg,
JsonLocation loc) |
JsonParseException(String msg,
JsonLocation loc,
Throwable root) |
JsonProcessingException(String msg,
JsonLocation loc) |
JsonProcessingException(String msg,
JsonLocation loc,
Throwable rootCause) |
限定符和类型 | 方法和说明 |
---|---|
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.
|
构造器和说明 |
---|
JsonMappingException(String msg,
JsonLocation loc) |
JsonMappingException(String msg,
JsonLocation loc,
Throwable rootCause) |
构造器和说明 |
---|
UnrecognizedPropertyException(String msg,
JsonLocation loc,
Class<?> referringClass,
String propName) |
限定符和类型 | 方法和说明 |
---|---|
JsonLocation |
TreeTraversingParser.getCurrentLocation() |
JsonLocation |
TreeTraversingParser.getTokenLocation() |
限定符和类型 | 方法和说明 |
---|---|
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.
|
限定符和类型 | 字段和说明 |
---|---|
protected JsonLocation |
TokenBuffer.Parser._location |
限定符和类型 | 方法和说明 |
---|---|
JsonLocation |
TokenBuffer.Parser.getCurrentLocation() |
JsonLocation |
JsonParserDelegate.getCurrentLocation() |
JsonLocation |
TokenBuffer.Parser.getTokenLocation() |
JsonLocation |
JsonParserDelegate.getTokenLocation() |
限定符和类型 | 方法和说明 |
---|---|
void |
TokenBuffer.Parser.setLocation(JsonLocation l) |