Uses of Class
com.fasterxml.jackson.databind.node.JsonNodeFactory
-
Packages that use JsonNodeFactory 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 concreteJsonNode
implementations Jackson uses for the Tree model. -
-
Uses of JsonNodeFactory in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as JsonNodeFactory Modifier and Type Field Description protected JsonNodeFactory
DeserializationConfig. _nodeFactory
Factory used for constructingJsonNode
instances.Methods in com.fasterxml.jackson.databind that return JsonNodeFactory Modifier and Type Method Description JsonNodeFactory
DeserializationConfig. getNodeFactory()
JsonNodeFactory
DeserializationContext. getNodeFactory()
Convenience method, functionally equivalent to:JsonNodeFactory
ObjectMapper. getNodeFactory()
Method that can be used to get hold ofJsonNodeFactory
that this mapper will use when directly constructing rootJsonNode
instances for Trees.Methods in com.fasterxml.jackson.databind with parameters of type JsonNodeFactory Modifier and Type Method Description ObjectReader
ObjectMapper. reader(JsonNodeFactory f)
Factory method for constructingObjectReader
that will use specifiedJsonNodeFactory
for constructing JSON trees.ObjectMapper
ObjectMapper. setNodeFactory(JsonNodeFactory f)
Method for specifyingJsonNodeFactory
to use for constructing root level tree nodes (via methodObjectMapper.createObjectNode()
DeserializationConfig
DeserializationConfig. with(JsonNodeFactory f)
Fluent factory method that will construct a new instance with specifiedJsonNodeFactory
ObjectReader
ObjectReader. with(JsonNodeFactory f)
Method for constructing a new reader instance with configuration that uses passedJsonNodeFactory
for constructingJsonNode
instances. -
Uses of JsonNodeFactory in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg with parameters of type JsonNodeFactory Modifier and Type Method Description B
MapperBuilder. nodeFactory(JsonNodeFactory f)
-
Uses of JsonNodeFactory in com.fasterxml.jackson.databind.node
Fields in com.fasterxml.jackson.databind.node declared as JsonNodeFactory Modifier and Type Field 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.Methods in com.fasterxml.jackson.databind.node that return JsonNodeFactory Modifier and Type Method Description static JsonNodeFactory
JsonNodeFactory. withExactBigDecimals(boolean bigDecimalExact)
Return a factory instance with the desired behavior for BigDecimalsConstructors in com.fasterxml.jackson.databind.node with parameters of type JsonNodeFactory Constructor Description ArrayNode(JsonNodeFactory nf)
ArrayNode(JsonNodeFactory nf, int capacity)
ArrayNode(JsonNodeFactory nf, java.util.List<JsonNode> children)
ContainerNode(JsonNodeFactory nc)
ObjectNode(JsonNodeFactory nc)
ObjectNode(JsonNodeFactory nc, java.util.Map<java.lang.String,JsonNode> kids)
-