Package | Description |
---|---|
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.node |
Contains concrete
JsonNode implementations
Jackson uses for the Tree model. |
Modifier and Type | Field and Description |
---|---|
protected JsonNodeFactory |
DeserializationConfig._nodeFactory
Factory used for constructing
JsonNode instances. |
Modifier and Type | Method and Description |
---|---|
JsonNodeFactory |
ObjectMapper.getNodeFactory()
Method that can be used to get hold of
JsonNodeFactory
that this mapper will use when directly constructing
root JsonNode instances for Trees. |
JsonNodeFactory |
DeserializationConfig.getNodeFactory() |
JsonNodeFactory |
DeserializationContext.getNodeFactory() |
Modifier and Type | Method and Description |
---|---|
ObjectReader |
ObjectMapper.reader(JsonNodeFactory f)
Factory method for constructing
ObjectReader that will
use specified JsonNodeFactory for constructing JSON trees. |
ObjectMapper |
ObjectMapper.setNodeFactory(JsonNodeFactory f)
Method for specifying
JsonNodeFactory to use for
constructing root level tree nodes (via method
ObjectMapper.createObjectNode() |
DeserializationConfig |
DeserializationConfig.withNodeFactory(JsonNodeFactory f)
Fluent factory method that will construct a new instance with
specified
JsonNodeFactory |
ObjectReader |
ObjectReader.withNodeFactory(JsonNodeFactory f) |
Constructor and Description |
---|
DeserializationConfig(DeserializationConfig src,
JsonNodeFactory f) |
Modifier and Type | Field and Description |
---|---|
static JsonNodeFactory |
JsonNodeFactory.instance
Default singleton instance that construct "standard" node instances:
given that this class is stateless, a globally shared singleton
can be used.
|
Constructor and Description |
---|
ArrayNode(JsonNodeFactory nc) |
ContainerNode(JsonNodeFactory nc) |
ObjectNode(JsonNodeFactory nc) |