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.deser.std Contains public standard implementations of abstraction that Jackson uses.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.Constructors in com.fasterxml.jackson.databind with parameters of type JsonNodeFactory Constructor Description DeserializationConfig(DeserializationConfig src, JsonNodeFactory f)
-
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.deser.std
Methods in com.fasterxml.jackson.databind.deser.std with parameters of type JsonNodeFactory Modifier and Type Method Description protected JsonNode
BaseNodeDeserializer. _fromEmbedded(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, JsonNodeFactory nodeFactory)
protected JsonNode
BaseNodeDeserializer. _fromFloat(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, JsonNodeFactory nodeFactory)
protected JsonNode
BaseNodeDeserializer. _fromInt(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, JsonNodeFactory nodeFactory)
protected void
BaseNodeDeserializer. _handleDuplicateField(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, JsonNodeFactory nodeFactory, java.lang.String fieldName, ObjectNode objectNode, JsonNode oldValue, JsonNode newValue)
Method called when there is a duplicate value for a field.protected JsonNode
BaseNodeDeserializer. deserializeAny(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, JsonNodeFactory nodeFactory)
protected ArrayNode
BaseNodeDeserializer. deserializeArray(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, JsonNodeFactory nodeFactory)
protected ObjectNode
BaseNodeDeserializer. deserializeObject(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, JsonNodeFactory nodeFactory)
Method called to deserialize Object node instance when there is no existing node to modify.protected ObjectNode
BaseNodeDeserializer. deserializeObjectAtName(com.fasterxml.jackson.core.JsonParser p, DeserializationContext ctxt, JsonNodeFactory nodeFactory)
Alternate deserialization method used when parser already points to first FIELD_NAME and not START_OBJECT. -
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.private static JsonNodeFactory
JsonNodeFactory. decimalsAsIs
private static JsonNodeFactory
JsonNodeFactory. decimalsNormalized
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)
-