Package | Description |
---|---|
com.fasterxml.jackson.databind |
Basic data binding (mapping) functionality that
allows for reading JSON content into Java Objects (POJOs)
and JSON Trees (
JsonNode ), as well as
writing Java Objects and trees as JSON. |
com.fasterxml.jackson.databind.cfg |
Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
com.fasterxml.jackson.databind ). |
com.fasterxml.jackson.databind.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 |
DeserializationConfig.getNodeFactory() |
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 |
DeserializationContext.getNodeFactory()
Convenience method, functionally equivalent to:
|
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.with(JsonNodeFactory f)
Fluent factory method that will construct a new instance with
specified
JsonNodeFactory |
ObjectReader |
ObjectReader.with(JsonNodeFactory f)
Method for constructing a new reader instance with configuration that uses
passed
JsonNodeFactory for constructing JsonNode
instances. |
Modifier and Type | Method and Description |
---|---|
B |
MapperBuilder.nodeFactory(JsonNodeFactory f) |
Modifier and Type | Field and Description |
---|---|
protected JsonNodeFactory |
ContainerNode._nodeFactory
We will keep a reference to the Object (usually TreeMapper)
that can construct instances of nodes to add to this container
node.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static JsonNodeFactory |
JsonNodeFactory.withExactBigDecimals(boolean bigDecimalExact)
Return a factory instance with the desired behavior for BigDecimals
|
Constructor and Description |
---|
ArrayNode(JsonNodeFactory nf) |
ArrayNode(JsonNodeFactory nf,
int capacity) |
ArrayNode(JsonNodeFactory nf,
List<JsonNode> children) |
ContainerNode(JsonNodeFactory nc) |
ObjectNode(JsonNodeFactory nc) |
ObjectNode(JsonNodeFactory nc,
Map<String,JsonNode> kids) |
Copyright © 2020 JBoss by Red Hat. All rights reserved.