com.fasterxml.jackson.databind.node

Class MissingNode

  • All Implemented Interfaces:
    TreeNode, JsonSerializable, Serializable, Iterable<JsonNode>


    public final class MissingNode
    extends ValueNode
    This singleton node class is generated to denote "missing nodes" along paths that do not exist. For example, if a path via element of an array is requested for an element outside range of elements in the array; or for a non-array value, result will be reference to this node.

    In most respects this placeholder node will act as NullNode; for example, for purposes of value conversions, value is considered to be null and represented as value zero when used for numeric conversions.

    See Also:
    Serialized Form
    • Constructor Detail

      • MissingNode

        protected MissingNode()

        NOTE: visibility raised to `protected` in 2.9.3 to allow custom subtypes (which may not be greatest idea ever to have but was requested)

Copyright © 2008–2021 FasterXML. All rights reserved.