<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (version 1.7.0_79) on Fri Jan 15 20:28:43 PST 2016 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>ArrayNode (jackson-databind 2.7.0 API)</title> <meta name="date" content="2016-01-15"> <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> </head> <body> <script type="text/javascript"><!-- if (location.href.indexOf('is-external=true') == -1) { parent.document.title="ArrayNode (jackson-databind 2.7.0 API)"; } //--> </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar_top"> <!-- --> </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/ArrayNode.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev Class</li> <li><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/ArrayNode.html" target="_top">Frames</a></li> <li><a href="ArrayNode.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li><a href="#fields_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">com.fasterxml.jackson.databind.node</div> <h2 title="Class ArrayNode" class="title">Class ArrayNode</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> <li> <ul class="inheritance"> <li><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonSerializable.Base</a></li> <li> <ul class="inheritance"> <li><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</a></li> <li> <ul class="inheritance"> <li><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.BaseJsonNode</a></li> <li> <ul class="inheritance"> <li><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.ContainerNode</a><<a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a>></li> <li> <ul class="inheritance"> <li>com.fasterxml.jackson.databind.node.ArrayNode</li> </ul> </li> </ul> </li> </ul> </li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <dd><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeCreator.html" title="interface in com.fasterxml.jackson.databind.node">JsonNodeCreator</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>></dd> </dl> <hr> <br> <pre>public class <span class="strong">ArrayNode</span> extends <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</a><<a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a>></pre> <div class="block">Node class that represents Arrays mapped from JSON content. <p> Note: class was <code>final</code> temporarily for Jackson 2.2.</div> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- ======== NESTED CLASS SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="nested_class_summary"> <!-- --> </a> <h3>Nested Class Summary</h3> <ul class="blockList"> <li class="blockList"><a name="nested_classes_inherited_from_class_com.fasterxml.jackson.databind.JsonSerializable"> <!-- --> </a> <h3>Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></h3> <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></code></li> </ul> </li> </ul> <!-- =========== FIELD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="field_summary"> <!-- --> </a> <h3>Field Summary</h3> <ul class="blockList"> <li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode"> <!-- --> </a> <h3>Fields inherited from class com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</a></h3> <code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#_nodeFactory">_nodeFactory</a></code></li> </ul> </li> </ul> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_summary"> <!-- --> </a> <h3>Constructor Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> <caption><span>Constructors</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Constructor and Description</th> </tr> <tr class="altColor"> <td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#ArrayNode(com.fasterxml.jackson.databind.node.JsonNodeFactory)">ArrayNode</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</a> nf)</code> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#ArrayNode(com.fasterxml.jackson.databind.node.JsonNodeFactory,%20java.util.List)">ArrayNode</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</a> nf, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> children)</code> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method_summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <caption><span>Methods</span><span class="tabEnd"> </span></caption> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr class="altColor"> <td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#_add(com.fasterxml.jackson.databind.JsonNode)">_add</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> node)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#_at(com.fasterxml.jackson.core.JsonPointer)">_at</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonPointer.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonPointer</a> ptr)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>protected boolean</code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#_childrenEqual(com.fasterxml.jackson.databind.node.ArrayNode)">_childrenEqual</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> other)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#_insert(int,%20com.fasterxml.jackson.databind.JsonNode)">_insert</a></strong>(int index, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> node)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(java.math.BigDecimal)">add</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a> v)</code> <div class="block">Method for adding specified number at the end of this array.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(boolean)">add</a></strong>(boolean v)</code> <div class="block">Method for adding specified boolean value at the end of this array.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(java.lang.Boolean)">add</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> value)</code> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(byte[])">add</a></strong>(byte[] v)</code> <div class="block">Method for adding specified binary value at the end of this array (note: when serializing as JSON, will be output Base64 encoded)</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(double)">add</a></strong>(double v)</code> <div class="block">Method for adding specified number at the end of this array.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(java.lang.Double)">add</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> value)</code> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(float)">add</a></strong>(float v)</code> <div class="block">Method for adding specified number at the end of this array.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(java.lang.Float)">add</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a> value)</code> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(int)">add</a></strong>(int v)</code> <div class="block">Method for adding specified number at the end of this array.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(java.lang.Integer)">add</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> value)</code> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(com.fasterxml.jackson.databind.JsonNode)">add</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</code> <div class="block">Method for adding specified node at the end of this array.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(long)">add</a></strong>(long v)</code> <div class="block">Method for adding specified number at the end of this array.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(java.lang.Long)">add</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> value)</code> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#add(java.lang.String)">add</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> v)</code> <div class="block">Method for adding specified String value at the end of this array.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#addAll(com.fasterxml.jackson.databind.node.ArrayNode)">addAll</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> other)</code> <div class="block">Method for adding all child nodes of given Array, appending to child nodes this array contains</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#addAll(java.util.Collection)">addAll</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> nodes)</code> <div class="block">Method for adding given nodes as child nodes of this array node.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#addArray()">addArray</a></strong>()</code> <div class="block">Method that will construct an ArrayNode and add it as a field of this ObjectNode, replacing old value, if any.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#addNull()">addNull</a></strong>()</code> <div class="block">Method that will add a null value at the end of this array node.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#addObject()">addObject</a></strong>()</code> <div class="block">Method that will construct an ObjectNode and add it at the end of this array node.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#addPOJO(java.lang.Object)">addPOJO</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> <div class="block">Method that will construct a POJONode and add it at the end of this array node.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#addRawValue(com.fasterxml.jackson.databind.util.RawValue)">addRawValue</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html" title="class in com.fasterxml.jackson.databind.util">RawValue</a> raw)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#asToken()">asToken</a></strong>()</code> <div class="block">Method that can be used for efficient type detection when using stream abstraction for traversing nodes.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#deepCopy()">deepCopy</a></strong>()</code> <div class="block">Method that can be called to get a node that is guaranteed not to allow changing of this node through mutators on this node or any of its children.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#elements()">elements</a></strong>()</code> <div class="block">Method for accessing all value nodes of this Node, iff this node is a JSON Array or Object node.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#equals(java.util.Comparator,%20com.fasterxml.jackson.databind.JsonNode)">equals</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> comparator, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> o)</code> <div class="block">Entry method for invoking customizable comparison, using passed-in <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util"><code>Comparator</code></a> object.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#equals(java.lang.Object)">equals</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> <div class="block">Equality for node objects is defined as full (deep) value equality.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#findParent(java.lang.String)">findParent</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</code> <div class="block">Method for finding a JSON Object that contains specified field, within this node or its descendants.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#findParents(java.lang.String,%20java.util.List)">findParents</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> foundSoFar)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#findValue(java.lang.String)">findValue</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</code> <div class="block">Method for finding a JSON Object field with specified name in this node or its child nodes, and returning value it has.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#findValues(java.lang.String,%20java.util.List)">findValues</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> foundSoFar)</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#findValuesAsText(java.lang.String,%20java.util.List)">findValuesAsText</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> foundSoFar)</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#get(int)">get</a></strong>(int index)</code> <div class="block">Method for accessing value of the specified element of an array node.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#get(java.lang.String)">get</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</code> <div class="block">Method for accessing value of the specified field of an object node.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#getNodeType()">getNodeType</a></strong>()</code> <div class="block">Return the type of this node</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#hashCode()">hashCode</a></strong>()</code> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20java.math.BigDecimal)">insert</a></strong>(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a> v)</code> <div class="block">Method that will insert specified numeric value at specified position in this array.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20boolean)">insert</a></strong>(int index, boolean v)</code> <div class="block">Method that will insert specified String at specified position in this array.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20java.lang.Boolean)">insert</a></strong>(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> value)</code> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20byte[])">insert</a></strong>(int index, byte[] v)</code> <div class="block">Method that will insert specified binary value at specified position in this array (note: when written as JSON, will be Base64 encoded)</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20double)">insert</a></strong>(int index, double v)</code> <div class="block">Method that will insert specified numeric value at specified position in this array.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20java.lang.Double)">insert</a></strong>(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> value)</code> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20float)">insert</a></strong>(int index, float v)</code> <div class="block">Method that will insert specified numeric value at specified position in this array.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20java.lang.Float)">insert</a></strong>(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a> value)</code> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20int)">insert</a></strong>(int index, int v)</code> <div class="block">Method that will insert specified numeric value at specified position in this array.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20java.lang.Integer)">insert</a></strong>(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> value)</code> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20com.fasterxml.jackson.databind.JsonNode)">insert</a></strong>(int index, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</code> <div class="block">Method for inserting specified child node as an element of this Array.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20long)">insert</a></strong>(int index, long v)</code> <div class="block">Method that will insert specified numeric value at specified position in this array.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20java.lang.Long)">insert</a></strong>(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> value)</code> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insert(int,%20java.lang.String)">insert</a></strong>(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> v)</code> <div class="block">Method that will insert specified String at specified position in this array.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insertArray(int)">insertArray</a></strong>(int index)</code> <div class="block">Method for creating an array node, inserting it at the specified point in the array, and returning the <b>newly created array</b> (note: NOT 'this' array)</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insertNull(int)">insertNull</a></strong>(int index)</code> <div class="block">Method that will insert a null value at specified position in this array.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insertObject(int)">insertObject</a></strong>(int index)</code> <div class="block">Method for creating an <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node"><code>ObjectNode</code></a>, appending it at the end of this array, and returning the <b>newly created node</b> (note: NOT 'this' array)</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#insertPOJO(int,%20java.lang.Object)">insertPOJO</a></strong>(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> <div class="block">Method that will construct a POJONode and insert it at specified position in this array.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#isEmpty(com.fasterxml.jackson.databind.SerializerProvider)">isEmpty</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> serializers)</code> <div class="block">Method that may be called on instance to determine if it is considered "empty" for purposes of serialization filtering or not.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#path(int)">path</a></strong>(int index)</code> <div class="block">This method is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)"><code>JsonNode.get(int)</code></a>, except that instead of returning null if no such element exists (due to index being out of range, or this node not being an array), a "missing node" (node that returns true for <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#path(java.lang.String)">path</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</code> <div class="block">This method is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)"><code>JsonNode.get(String)</code></a>, except that instead of returning null if no such value exists (due to this node not being an object, or object not having value for the specified field), a "missing node" (node that returns true for <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#remove(int)">remove</a></strong>(int index)</code> <div class="block">Method for removing an entry from this ArrayNode.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#removeAll()">removeAll</a></strong>()</code> <div class="block">Method for removing all elements of this array, leaving the array empty.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> f, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> <div class="block">Method called to serialize node instances using given generator.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>void</code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jg, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer)</code> <div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, since they may be mixed with other types.</div> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#set(int,%20com.fasterxml.jackson.databind.JsonNode)">set</a></strong>(int index, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</code> <div class="block">Method that will set specified field, replacing old value, if any.</div> </td> </tr> <tr class="rowColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#size()">size</a></strong>()</code> </td> </tr> <tr class="altColor"> <td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#toString()">toString</a></strong>()</code> <div class="block">Method that will produce developer-readable representation of the node; which may <b>or may not</b> be as valid JSON.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode"> <!-- --> </a> <h3>Methods inherited from class com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</a></h3> <code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#arrayNode()">arrayNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#asText()">asText</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#binaryNode(byte[])">binaryNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#binaryNode(byte[],%20int,%20int)">binaryNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#booleanNode(boolean)">booleanNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#nullNode()">nullNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(java.math.BigDecimal)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(java.math.BigInteger)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(byte)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(java.lang.Byte)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(double)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(java.lang.Double)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(float)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(java.lang.Float)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(int)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(java.lang.Integer)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(long)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(java.lang.Long)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(short)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#numberNode(java.lang.Short)">numberNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#objectNode()">objectNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#pojoNode(java.lang.Object)">pojoNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#rawValueNode(com.fasterxml.jackson.databind.util.RawValue)">rawValueNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#textNode(java.lang.String)">textNode</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode"> <!-- --> </a> <h3>Methods inherited from class com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></h3> <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findPath(java.lang.String)">findPath</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType()">numberType</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse()">traverse</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse(com.fasterxml.jackson.core.ObjectCodec)">traverse</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"> <!-- --> </a> <h3>Methods inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></h3> <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean()">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean(boolean)">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble()">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble(double)">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt()">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt(int)">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong()">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong(long)">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText(java.lang.String)">asText</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#at(com.fasterxml.jackson.core.JsonPointer)">at</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#at(java.lang.String)">at</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#bigIntegerValue()">bigIntegerValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#binaryValue()">binaryValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#booleanValue()">booleanValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt()">canConvertToInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong()">canConvertToLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#decimalValue()">decimalValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue()">doubleValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fieldNames()">fieldNames</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fields()">fields</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents(java.lang.String)">findParents</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String)">findValues</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText(java.lang.String)">findValuesAsText</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#floatValue()">floatValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(int)">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has(java.lang.String)">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(int)">hasNonNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull(java.lang.String)">hasNonNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue()">intValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isArray()">isArray</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigDecimal()">isBigDecimal</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigInteger()">isBigInteger</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary()">isBinary</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBoolean()">isBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode()">isContainerNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isDouble()">isDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloat()">isFloat</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloatingPointNumber()">isFloatingPointNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt()">isInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isIntegralNumber()">isIntegralNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isLong()">isLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()">isMissingNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNull()">isNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber()">isNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isObject()">isObject</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isPojo()">isPojo</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isShort()">isShort</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual()">isTextual</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode()">isValueNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#iterator()">iterator</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue()">longValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue()">numberValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#shortValue()">shortValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue()">textValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with(java.lang.String)">with</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray(java.lang.String)">withArray</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> <!-- --> </a> <h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait(long,%20int)" title="class or interface in java.lang">wait</a></code></li> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ========= CONSTRUCTOR DETAIL ======== --> <ul class="blockList"> <li class="blockList"><a name="constructor_detail"> <!-- --> </a> <h3>Constructor Detail</h3> <a name="ArrayNode(com.fasterxml.jackson.databind.node.JsonNodeFactory)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ArrayNode</h4> <pre>public ArrayNode(<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</a> nf)</pre> </li> </ul> <a name="ArrayNode(com.fasterxml.jackson.databind.node.JsonNodeFactory, java.util.List)"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>ArrayNode</h4> <pre>public ArrayNode(<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</a> nf, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> children)</pre> <dl><dt><span class="strong">Since:</span></dt> <dd>2.7</dd></dl> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method_detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="_at(com.fasterxml.jackson.core.JsonPointer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>_at</h4> <pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> _at(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonPointer.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonPointer</a> ptr)</pre> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#_at(com.fasterxml.jackson.core.JsonPointer)">_at</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> </dl> </li> </ul> <a name="deepCopy()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>deepCopy</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> deepCopy()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#deepCopy()">JsonNode</a></code></strong></div> <div class="block">Method that can be called to get a node that is guaranteed not to allow changing of this node through mutators on this node or any of its children. This means it can either make a copy of this node (and all mutable children and grand children nodes), or node itself if it is immutable. <p> Note: return type is guaranteed to have same type as the node method is called on; which is why method is declared with local generic type.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#deepCopy()">deepCopy</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>Node that is either a copy of this node (and all non-leaf children); or, for immutable leaf nodes, node itself.</dd></dl> </li> </ul> <a name="isEmpty(com.fasterxml.jackson.databind.SerializerProvider)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>isEmpty</h4> <pre>public boolean isEmpty(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> serializers)</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html#isEmpty(com.fasterxml.jackson.databind.SerializerProvider)">JsonSerializable.Base</a></code></strong></div> <div class="block">Method that may be called on instance to determine if it is considered "empty" for purposes of serialization filtering or not.</div> <dl> <dt><strong>Overrides:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html#isEmpty(com.fasterxml.jackson.databind.SerializerProvider)">isEmpty</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></code></dd> </dl> </li> </ul> <a name="getNodeType()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getNodeType</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a> getNodeType()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType()">JsonNode</a></code></strong></div> <div class="block">Return the type of this node</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType()">getNodeType</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> <dt><span class="strong">Returns:</span></dt><dd>the node type as a <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node"><code>JsonNodeType</code></a> enum value</dd></dl> </li> </ul> <a name="asToken()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>asToken</h4> <pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a> asToken()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</a></code></strong></div> <div class="block">Method that can be used for efficient type detection when using stream abstraction for traversing nodes. Will return the first <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent stream event would produce (for most nodes there is just one token but for structured/container types multiple)</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true#asToken()" title="class or interface in com.fasterxml.jackson.core">asToken</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#asToken()">asToken</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</a><<a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a>></code></dd> </dl> </li> </ul> <a name="size()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>size</h4> <pre>public int size()</pre> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true#size()" title="class or interface in com.fasterxml.jackson.core">size</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#size()">size</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</a><<a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a>></code></dd> </dl> </li> </ul> <a name="elements()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>elements</h4> <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> elements()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()">JsonNode</a></code></strong></div> <div class="block">Method for accessing all value nodes of this Node, iff this node is a JSON Array or Object node. In case of Object node, field names (keys) are not included, only values. For other types of nodes, returns empty iterator.</div> <dl> <dt><strong>Overrides:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()">elements</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> </dl> </li> </ul> <a name="get(int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> get(int index)</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)">JsonNode</a></code></strong></div> <div class="block">Method for accessing value of the specified element of an array node. For other nodes, null is always returned. <p> For array nodes, index specifies exact location within array and allows for efficient iteration over child elements (underlying storage is guaranteed to be efficiently indexable, i.e. has random-access to elements). If index is less than 0, or equal-or-greater than <code>node.size()</code>, null is returned; no exception is thrown for any index. <p> NOTE: if the element value has been explicitly set as <code>null</code> (which is different from removal!), a <a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><code>NullNode</code></a> will be returned, not null.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true#get(int)" title="class or interface in com.fasterxml.jackson.core">get</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#get(int)">get</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</a><<a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a>></code></dd> <dt><span class="strong">Returns:</span></dt><dd>Node that represent value of the specified element, if this node is an array and has specified element. Null otherwise.</dd></dl> </li> </ul> <a name="get(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>get</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> get(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)">JsonNode</a></code></strong></div> <div class="block">Method for accessing value of the specified field of an object node. If this node is not an object (or it does not have a value for specified field name), or if there is no field with such name, null is returned. <p> NOTE: if the property value has been explicitly set as <code>null</code> (which is different from removal!), a <a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><code>NullNode</code></a> will be returned, not null.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true#get(java.lang.String)" title="class or interface in com.fasterxml.jackson.core">get</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#get(java.lang.String)">get</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</a><<a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a>></code></dd> <dt><span class="strong">Returns:</span></dt><dd>Node that represent value of the specified field, if this node is an object and has value for the specified field. Null otherwise.</dd></dl> </li> </ul> <a name="path(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>path</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> path(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">JsonNode</a></code></strong></div> <div class="block">This method is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(java.lang.String)"><code>JsonNode.get(String)</code></a>, except that instead of returning null if no such value exists (due to this node not being an object, or object not having value for the specified field), a "missing node" (node that returns true for <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for convenient and safe chained access via path calls.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true#path(java.lang.String)" title="class or interface in com.fasterxml.jackson.core">path</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(java.lang.String)">path</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> </dl> </li> </ul> <a name="path(int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>path</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> path(int index)</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">JsonNode</a></code></strong></div> <div class="block">This method is similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)"><code>JsonNode.get(int)</code></a>, except that instead of returning null if no such element exists (due to index being out of range, or this node not being an array), a "missing node" (node that returns true for <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for convenient and safe chained access via path calls.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true#path(int)" title="class or interface in com.fasterxml.jackson.core">path</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">path</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> </dl> </li> </ul> <a name="equals(java.util.Comparator, com.fasterxml.jackson.databind.JsonNode)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>equals</h4> <pre>public boolean equals(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> comparator, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> o)</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.util.Comparator,%20com.fasterxml.jackson.databind.JsonNode)">JsonNode</a></code></strong></div> <div class="block">Entry method for invoking customizable comparison, using passed-in <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util"><code>Comparator</code></a> object. Nodes will handle traversal of structured types (arrays, objects), but defer to comparator for scalar value comparisons. If a "natural" <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util"><code>Comparator</code></a> is passed -- one that simply calls <code>equals()</code> on one of arguments, passing the other -- implementation is the same as directly calling <code>equals()</code> on node. <p> Default implementation simply delegates to passed in <code>comparator</code>, with <code>this</code> as the first argument, and <code>other</code> as the second argument.</div> <dl> <dt><strong>Overrides:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.util.Comparator,%20com.fasterxml.jackson.databind.JsonNode)">equals</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>comparator</code> - Object called to compare two scalar <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a> instances, and return either 0 (are equals) or non-zero (not equal)</dd></dl> </li> </ul> <a name="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>serialize</h4> <pre>public void serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> f, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider)">BaseJsonNode</a></code></strong></div> <div class="block">Method called to serialize node instances using given generator.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize(com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize(com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd> <dt><span class="strong">Throws:</span></dt> <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> </li> </ul> <a name="serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>serializeWithType</h4> <pre>public void serializeWithType(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jg, <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer)">BaseJsonNode</a></code></strong></div> <div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, since they may be mixed with other types.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator,%20com.fasterxml.jackson.databind.SerializerProvider,%20com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd> <dt><span class="strong">Throws:</span></dt> <dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl> </li> </ul> <a name="findValue(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>findValue</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> findValue(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)">JsonNode</a></code></strong></div> <div class="block">Method for finding a JSON Object field with specified name in this node or its child nodes, and returning value it has. If no matching field is found in this node or its descendants, returns null.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue(java.lang.String)">findValue</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of field to look for</dd> <dt><span class="strong">Returns:</span></dt><dd>Value of first matching node found, if any; null if none</dd></dl> </li> </ul> <a name="findValues(java.lang.String, java.util.List)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>findValues</h4> <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> findValues(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> foundSoFar)</pre> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues(java.lang.String,%20java.util.List)">findValues</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> </dl> </li> </ul> <a name="findValuesAsText(java.lang.String, java.util.List)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>findValuesAsText</h4> <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> findValuesAsText(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> foundSoFar)</pre> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText(java.lang.String,%20java.util.List)">findValuesAsText</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> </dl> </li> </ul> <a name="findParent(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>findParent</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> findParent(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent(java.lang.String)">JsonNode</a></code></strong></div> <div class="block">Method for finding a JSON Object that contains specified field, within this node or its descendants. If no matching field is found in this node or its descendants, returns null.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent(java.lang.String)">findParent</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> <dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of field to look for</dd> <dt><span class="strong">Returns:</span></dt><dd>Value of first matching node found, if any; null if none</dd></dl> </li> </ul> <a name="findParents(java.lang.String, java.util.List)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>findParents</h4> <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> findParents(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> foundSoFar)</pre> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents(java.lang.String,%20java.util.List)">findParents</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> </dl> </li> </ul> <a name="set(int, com.fasterxml.jackson.databind.JsonNode)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>set</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> set(int index, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</pre> <div class="block">Method that will set specified field, replacing old value, if any.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - to set field to; if null, will be converted to a <a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><code>NullNode</code></a> first (to remove field entry, call <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html#remove(int)"><code>remove(int)</code></a> instead)</dd> <dt><span class="strong">Returns:</span></dt><dd>Old value of the field, if any; null if there was no old value.</dd></dl> </li> </ul> <a name="add(com.fasterxml.jackson.databind.JsonNode)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</pre> <div class="block">Method for adding specified node at the end of this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This node, to allow chaining</dd></dl> </li> </ul> <a name="addAll(com.fasterxml.jackson.databind.node.ArrayNode)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addAll</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> addAll(<a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> other)</pre> <div class="block">Method for adding all child nodes of given Array, appending to child nodes this array contains</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Array to add contents from</dd> <dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> </li> </ul> <a name="addAll(java.util.Collection)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addAll</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> addAll(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><? extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> nodes)</pre> <div class="block">Method for adding given nodes as child nodes of this array node.</div> <dl><dt><span class="strong">Parameters:</span></dt><dd><code>nodes</code> - Nodes to add</dd> <dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> </li> </ul> <a name="insert(int, com.fasterxml.jackson.databind.JsonNode)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</pre> <div class="block">Method for inserting specified child node as an element of this Array. If index is 0 or less, it will be inserted as the first element; if >= size(), appended at the end, and otherwise inserted before existing element in specified index. No exceptions are thrown for any index.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> </li> </ul> <a name="remove(int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>remove</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> remove(int index)</pre> <div class="block">Method for removing an entry from this ArrayNode. Will return value of the entry at specified index, if entry existed; null if not.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>Node removed, if any; null if none</dd></dl> </li> </ul> <a name="removeAll()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>removeAll</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> removeAll()</pre> <div class="block">Method for removing all elements of this array, leaving the array empty.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#removeAll()">removeAll</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</a><<a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a>></code></dd> <dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> </li> </ul> <a name="addArray()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addArray</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> addArray()</pre> <div class="block">Method that will construct an ArrayNode and add it as a field of this ObjectNode, replacing old value, if any.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>Newly constructed ArrayNode</dd></dl> </li> </ul> <a name="addObject()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addObject</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> addObject()</pre> <div class="block">Method that will construct an ObjectNode and add it at the end of this array node.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>Newly constructed ObjectNode</dd></dl> </li> </ul> <a name="addPOJO(java.lang.Object)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addPOJO</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> addPOJO(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> <div class="block">Method that will construct a POJONode and add it at the end of this array node.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="addRawValue(com.fasterxml.jackson.databind.util.RawValue)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addRawValue</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> addRawValue(<a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html" title="class in com.fasterxml.jackson.databind.util">RawValue</a> raw)</pre> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd><dt><span class="strong">Since:</span></dt> <dd>2.6</dd></dl> </li> </ul> <a name="addNull()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>addNull</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> addNull()</pre> <div class="block">Method that will add a null value at the end of this array node.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="add(int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(int v)</pre> <div class="block">Method for adding specified number at the end of this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="add(java.lang.Integer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> value)</pre> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="add(long)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(long v)</pre> <div class="block">Method for adding specified number at the end of this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="add(java.lang.Long)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> value)</pre> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="add(float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(float v)</pre> <div class="block">Method for adding specified number at the end of this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="add(java.lang.Float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a> value)</pre> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="add(double)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(double v)</pre> <div class="block">Method for adding specified number at the end of this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="add(java.lang.Double)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> value)</pre> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="add(java.math.BigDecimal)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(<a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a> v)</pre> <div class="block">Method for adding specified number at the end of this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="add(java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> v)</pre> <div class="block">Method for adding specified String value at the end of this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="add(boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(boolean v)</pre> <div class="block">Method for adding specified boolean value at the end of this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="add(java.lang.Boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> value)</pre> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="add(byte[])"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>add</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> add(byte[] v)</pre> <div class="block">Method for adding specified binary value at the end of this array (note: when serializing as JSON, will be output Base64 encoded)</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insertArray(int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insertArray</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insertArray(int index)</pre> <div class="block">Method for creating an array node, inserting it at the specified point in the array, and returning the <b>newly created array</b> (note: NOT 'this' array)</div> </li> </ul> <a name="insertObject(int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insertObject</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> insertObject(int index)</pre> <div class="block">Method for creating an <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node"><code>ObjectNode</code></a>, appending it at the end of this array, and returning the <b>newly created node</b> (note: NOT 'this' array)</div> <dl><dt><span class="strong">Returns:</span></dt><dd>Newly constructed ObjectNode</dd></dl> </li> </ul> <a name="insertPOJO(int, java.lang.Object)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insertPOJO</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insertPOJO(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> <div class="block">Method that will construct a POJONode and insert it at specified position in this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insertNull(int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insertNull</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insertNull(int index)</pre> <div class="block">Method that will insert a null value at specified position in this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insert(int, int)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, int v)</pre> <div class="block">Method that will insert specified numeric value at specified position in this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insert(int, java.lang.Integer)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang">Integer</a> value)</pre> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insert(int, long)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, long v)</pre> <div class="block">Method that will insert specified numeric value at specified position in this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insert(int, java.lang.Long)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a> value)</pre> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insert(int, float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, float v)</pre> <div class="block">Method that will insert specified numeric value at specified position in this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insert(int, java.lang.Float)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Float.html?is-external=true" title="class or interface in java.lang">Float</a> value)</pre> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insert(int, double)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, double v)</pre> <div class="block">Method that will insert specified numeric value at specified position in this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insert(int, java.lang.Double)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang">Double</a> value)</pre> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insert(int, java.math.BigDecimal)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a> v)</pre> <div class="block">Method that will insert specified numeric value at specified position in this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insert(int, java.lang.String)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> v)</pre> <div class="block">Method that will insert specified String at specified position in this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insert(int, boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, boolean v)</pre> <div class="block">Method that will insert specified String at specified position in this array.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insert(int, java.lang.Boolean)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</a> value)</pre> <div class="block">Alternative method that we need to avoid bumping into NPE issues with auto-unboxing.</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="insert(int, byte[])"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>insert</h4> <pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> insert(int index, byte[] v)</pre> <div class="block">Method that will insert specified binary value at specified position in this array (note: when written as JSON, will be Base64 encoded)</div> <dl><dt><span class="strong">Returns:</span></dt><dd>This array node, to allow chaining</dd></dl> </li> </ul> <a name="equals(java.lang.Object)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>equals</h4> <pre>public boolean equals(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">JsonNode</a></code></strong></div> <div class="block">Equality for node objects is defined as full (deep) value equality. This means that it is possible to compare complete JSON trees for equality by comparing equality of root nodes. <p> Note: marked as abstract to ensure all implementation classes define it properly and not rely on definition from <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals(java.lang.Object)">equals</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> </dl> </li> </ul> <a name="_childrenEqual(com.fasterxml.jackson.databind.node.ArrayNode)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>_childrenEqual</h4> <pre>protected boolean _childrenEqual(<a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> other)</pre> <dl><dt><span class="strong">Since:</span></dt> <dd>2.3</dd></dl> </li> </ul> <a name="hashCode()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>hashCode</h4> <pre>public int hashCode()</pre> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#hashCode()">hashCode</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd> </dl> </li> </ul> <a name="toString()"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>toString</h4> <pre>public <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> <div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">JsonNode</a></code></strong></div> <div class="block">Method that will produce developer-readable representation of the node; which may <b>or may not</b> be as valid JSON. If you want valid JSON output (or output formatted using one of other Jackson supported data formats) make sure to use <a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> or <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> to serialize an instance, for example: <pre> String json = objectMapper.writeValueAsString(rootNode); </pre> <p> Note: method defined as abstract to ensure all implementation classes explicitly implement method, instead of relying on <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang"><code>Object.toString()</code></a> definition.</div> <dl> <dt><strong>Specified by:</strong></dt> <dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">toString</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> </dl> </li> </ul> <a name="_add(com.fasterxml.jackson.databind.JsonNode)"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>_add</h4> <pre>protected <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> _add(<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> node)</pre> </li> </ul> <a name="_insert(int, com.fasterxml.jackson.databind.JsonNode)"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>_insert</h4> <pre>protected <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> _insert(int index, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> node)</pre> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar_bottom"> <!-- --> </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/ArrayNode.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../../index-all.html">Index</a></li> <li><a href="../../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <li>Prev Class</li> <li><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/ArrayNode.html" target="_top">Frames</a></li> <li><a href="ArrayNode.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li><a href="#fields_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode">Field</a> | </li> <li><a href="#constructor_summary">Constr</a> | </li> <li><a href="#method_summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li>Field | </li> <li><a href="#constructor_detail">Constr</a> | </li> <li><a href="#method_detail">Method</a></li> </ul> </div> <a name="skip-navbar_bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> </body> </html>