Java com.fasterxml.jackson.core TreeNode fields, constructors, methods, implement or subclass

Example usage for Java com.fasterxml.jackson.core TreeNode fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.fasterxml.jackson.core TreeNode.

The text is from its open source code.

Implementation

com.fasterxml.jackson.core.TreeNode has the following implementations.
Click this link to see all its implementation.

Method

IteratorfieldNames()
Method for accessing names of all fields for this node, iff this node is an Object node.
TreeNodeget(String fieldName)
Method for accessing value of the specified field of an object node.
TreeNodeget(int index)
Method for accessing value of the specified element of an array node.
ClassgetClass()
Returns the runtime class of this Object .
booleanisArray()
Method that returns true if this node is an Array node, false otherwise.
booleanisObject()
Method that returns true if this node is an Object node, false otherwise.
booleanisValueNode()
Method that returns true for all value nodes: ones that are not containers, and that do not represent "missing" nodes in the path.
intsize()
Method that returns number of child nodes this node contains: for Array nodes, number of child elements, for Object nodes, number of fields, and for all other nodes 0.
StringtoString()
Returns a string representation of the object.
JsonParsertraverse()
Method for constructing a JsonParser instance for iterating over contents of the tree that this node is root of.