Uses of Class
com.fasterxml.jackson.databind.node.JsonNodeFactory
Packages that use JsonNodeFactory
Package
Description
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.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).Contains implementation classes of deserialization part of
data binding.
Contains concrete
JsonNode implementations
Jackson uses for the Tree model.-
Uses of JsonNodeFactory in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as JsonNodeFactoryModifier and TypeFieldDescriptionprotected final JsonNodeFactoryDeserializationConfig._nodeFactoryFactory used for constructingJsonNodeinstances.Methods in com.fasterxml.jackson.databind that return JsonNodeFactoryModifier and TypeMethodDescriptionfinal JsonNodeFactoryDeserializationConfig.getNodeFactory()final JsonNodeFactoryDeserializationContext.getNodeFactory()Convenience method, functionally equivalent to:ObjectMapper.getNodeFactory()Method that can be used to get hold ofJsonNodeFactorythat this mapper will use when directly constructing rootJsonNodeinstances for Trees.Methods in com.fasterxml.jackson.databind with parameters of type JsonNodeFactoryModifier and TypeMethodDescriptionObjectMapper.reader(JsonNodeFactory nodeFactory) Factory method for constructingObjectReaderthat will use specifiedJsonNodeFactoryfor constructing JSON trees.ObjectMapper.setNodeFactory(JsonNodeFactory f) Method for specifyingJsonNodeFactoryto use for constructing root level tree nodes (via methodObjectMapper.createObjectNode()DeserializationConfig.with(JsonNodeFactory f) Fluent factory method that will construct a new instance with specifiedJsonNodeFactoryObjectReader.with(JsonNodeFactory f) Method for constructing a new reader instance with configuration that uses passedJsonNodeFactoryfor constructingJsonNodeinstances. -
Uses of JsonNodeFactory in com.fasterxml.jackson.databind.cfg
Methods in com.fasterxml.jackson.databind.cfg with parameters of type JsonNodeFactory -
Uses of JsonNodeFactory in com.fasterxml.jackson.databind.deser
Fields in com.fasterxml.jackson.databind.deser declared as JsonNodeFactoryModifier and TypeFieldDescriptionprotected final JsonNodeFactorySettableAnyProperty.JsonNodeFieldAnyProperty._nodeFactoryConstructors in com.fasterxml.jackson.databind.deser with parameters of type JsonNodeFactoryModifierConstructorDescriptionJsonNodeFieldAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, JsonDeserializer<Object> valueDeser, JsonNodeFactory nodeFactory) -
Uses of JsonNodeFactory in com.fasterxml.jackson.databind.node
Fields in com.fasterxml.jackson.databind.node declared as JsonNodeFactoryModifier and TypeFieldDescriptionprotected final JsonNodeFactoryContainerNode._nodeFactoryWe will keep a reference to the Object (usually TreeMapper) that can construct instances of nodes to add to this container node.static final JsonNodeFactoryJsonNodeFactory.instanceDefault 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 JsonNodeFactoryModifier and TypeMethodDescriptionstatic JsonNodeFactoryJsonNodeFactory.withExactBigDecimals(boolean bigDecimalExact) Deprecated.Constructors in com.fasterxml.jackson.databind.node with parameters of type JsonNodeFactoryModifierConstructorDescriptionArrayNode(JsonNodeFactory nf, int capacity) ArrayNode(JsonNodeFactory nf, List<JsonNode> children) protectedObjectNode(JsonNodeFactory nc, Map<String, JsonNode> children)
JsonNodeFeature.STRIP_TRAILING_BIGDECIMAL_ZEROESinstead for configuring behavior.