## Uses of Class
com.fasterxml.jackson.databind.node.JsonNodeFactory

- Packages that use JsonNodeFactory
  Package | Description
  --- | ---
  com.fasterxml.jackson.databind | Contains basic mapper (conversion) functionality that allows for converting between regular streaming json content and Java objects (beans or Tree Model: support for both is via `ObjectMapper` class, as well as convenience methods included in `JsonParser`
  com.fasterxml.jackson.databind.node | 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 JsonNodeFactory
    Modifier and Type | Field and Description
    --- | ---
    `protected JsonNodeFactory` | DeserializationConfig.`_nodeFactory` Factory used for constructing `JsonNode` instances.

    Methods in com.fasterxml.jackson.databind that return JsonNodeFactory
    Modifier and Type | Method and Description
    --- | ---
    `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:
    `JsonNodeFactory` | DeserializationConfig.`getNodeFactory()`

    Methods in com.fasterxml.jackson.databind with parameters of type JsonNodeFactory
    Modifier and Type | Method and Description
    --- | ---
    `<T extends ObjectReader> T` | 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()`
    `ObjectReader` | ObjectReader.`with(JsonNodeFactory f)` Method for constructing a new reader instance with configuration that uses passed `JsonNodeFactory` for constructing `JsonNode` instances.
    `DeserializationConfig` | DeserializationConfig.`with(JsonNodeFactory f)` Fluent factory method that will construct a new instance with specified `JsonNodeFactory`

  - ### Uses of JsonNodeFactory in com.fasterxml.jackson.databind.node

    Fields in com.fasterxml.jackson.databind.node declared as JsonNodeFactory
    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.

    Methods in com.fasterxml.jackson.databind.node that return JsonNodeFactory
    Modifier and Type | Method and Description
    --- | ---
    `static JsonNodeFactory` | JsonNodeFactory.`withExactBigDecimals(boolean bigDecimalExact)` Return a factory instance with the desired behavior for BigDecimals

    Constructors in com.fasterxml.jackson.databind.node with parameters of type JsonNodeFactory
    Constructor and Description
    `ArrayNode(JsonNodeFactory nc)`
    `ContainerNode(JsonNodeFactory nc)`
    `ObjectNode(JsonNodeFactory nc)`
    `ObjectNode(JsonNodeFactory nc, Map<String,JsonNode> kids)`

Copyright © 2014-2015 FasterXML. All Rights Reserved.