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.format |
Package that contains interfaces needed for dynamic, pluggable
format (auto)detection; as well as basic utility classes for
simple format detection functionality.
|
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. |
Modifier and Type | Method and Description |
---|---|
MatchStrength |
JsonFactory.hasFormat(InputAccessor acc) |
protected MatchStrength |
JsonFactory.hasJSONFormat(InputAccessor acc) |
Modifier and Type | Class and Description |
---|---|
static class |
InputAccessor.Std
Basic implementation that reads data from given
InputStream and buffers it as necessary. |
Modifier and Type | Method and Description |
---|---|
static MatchStrength |
ByteSourceBootstrapper.hasJSONFormat(InputAccessor acc)
Current implementation is not as thorough as other functionality
(
ByteSourceBootstrapper );
supports UTF-8, for example. |
Modifier and Type | Method and Description |
---|---|
MatchStrength |
MappingJsonFactory.hasFormat(InputAccessor acc)
Sub-classes need to override this method (as of 1.8)
|