Uses of Class
tools.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 (
tools.jackson.databind).Contains implementation classes of deserialization part of
data binding.
Package that contains standard value and key deserializer implementations
Jackson uses for its own public types.
Contains concrete
JsonNode implementations
Jackson uses for the Tree model.-
Uses of JsonNodeFactory in tools.jackson.databind
Methods in tools.jackson.databind that return JsonNodeFactoryModifier and TypeMethodDescriptionfinal 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 tools.jackson.databind with parameters of type JsonNodeFactoryModifier and TypeMethodDescriptionObjectMapper.reader(JsonNodeFactory nodeFactory) Factory method for constructingObjectReaderthat will use specifiedJsonNodeFactoryfor constructing JSON trees.ObjectReader.with(JsonNodeFactory f) Method for constructing a new reader instance with configuration that uses passedJsonNodeFactoryfor constructingJsonNodeinstances. -
Uses of JsonNodeFactory in tools.jackson.databind.cfg
Fields in tools.jackson.databind.cfg declared as JsonNodeFactoryModifier and TypeFieldDescriptionprotected final JsonNodeFactoryBaseSettings._nodeFactoryFactory used for constructingJsonNodeinstances.Methods in tools.jackson.databind.cfg that return JsonNodeFactoryModifier and TypeMethodDescriptionBaseSettings.getNodeFactory()final JsonNodeFactoryMapperConfig.getNodeFactory()Methods in tools.jackson.databind.cfg with parameters of type JsonNodeFactoryModifier and TypeMethodDescriptionMapperBuilder.nodeFactory(JsonNodeFactory f) BaseSettings.with(JsonNodeFactory nodeFactory) final TMapperConfigBase.with(JsonNodeFactory f) Fluent factory method that will construct a new instance with specifiedJsonNodeFactory.Constructors in tools.jackson.databind.cfg with parameters of type JsonNodeFactoryModifierConstructorDescriptionBaseSettings(AnnotationIntrospector ai, PropertyNamingStrategy pns, EnumNamingStrategy ens, AccessorNamingStrategy.Provider accNaming, TypeResolverBuilder<?> defaultTyper, PolymorphicTypeValidator ptv, DateFormat dateFormat, HandlerInstantiator hi, Locale locale, TimeZone tz, Base64Variant defaultBase64, CacheProvider cacheProvider, JsonNodeFactory nodeFactory, ConstructorDetector ctorDetector) -
Uses of JsonNodeFactory in tools.jackson.databind.deser
Fields in tools.jackson.databind.deser declared as JsonNodeFactoryModifier and TypeFieldDescriptionprotected final JsonNodeFactorySettableAnyProperty.JsonNodeFieldAnyProperty._nodeFactoryprotected final JsonNodeFactorySettableAnyProperty.JsonNodeParameterAnyProperty._nodeFactoryConstructors in tools.jackson.databind.deser with parameters of type JsonNodeFactoryModifierConstructorDescriptionJsonNodeFieldAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, ValueDeserializer<Object> valueDeser, JsonNodeFactory nodeFactory) JsonNodeParameterAnyProperty(BeanProperty property, AnnotatedMember field, JavaType valueType, ValueDeserializer<Object> valueDeser, JsonNodeFactory nodeFactory, int parameterIndex) -
Uses of JsonNodeFactory in tools.jackson.databind.deser.jackson
Methods in tools.jackson.databind.deser.jackson with parameters of type JsonNodeFactoryModifier and TypeMethodDescriptionprotected final ContainerNode<?>BaseNodeDeserializer._deserializeContainerNoRecursion(JsonParser p, DeserializationContext ctxt, JsonNodeFactory nodeFactory, tools.jackson.databind.deser.jackson.BaseNodeDeserializer.ContainerStack stack, ContainerNode<?> root) protected final ObjectNodeBaseNodeDeserializer._deserializeObjectAtName(JsonParser p, DeserializationContext ctxt, JsonNodeFactory nodeFactory, tools.jackson.databind.deser.jackson.BaseNodeDeserializer.ContainerStack stack) Alternate deserialization method used when parser already points to first PROPERTY_NAME and not START_OBJECT.protected final JsonNodeBaseNodeDeserializer._fromFloat(JsonParser p, DeserializationContext ctxt, JsonNodeFactory nodeFactory) protected final JsonNodeBaseNodeDeserializer._fromInt(JsonParser p, int coercionFeatures, JsonNodeFactory nodeFactory) protected final JsonNodeBaseNodeDeserializer._fromInt(JsonParser p, DeserializationContext ctxt, JsonNodeFactory nodeFactory) protected voidBaseNodeDeserializer._handleDuplicateProperty(JsonParser p, DeserializationContext ctxt, JsonNodeFactory nodeFactory, String propName, ObjectNode objectNode, JsonNode oldValue, JsonNode newValue) Method called when there is a duplicate value for an Object property. -
Uses of JsonNodeFactory in tools.jackson.databind.node
Fields in tools.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.protected final JsonNodeFactoryTreeBuildingGenerator._nodeFactorystatic 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 tools.jackson.databind.node with parameters of type JsonNodeFactoryModifier and TypeMethodDescriptionstatic TreeBuildingGeneratorTreeBuildingGenerator.forSerialization(SerializationContext ctxt, JsonNodeFactory nodeFactory) Constructors in tools.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)