1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (version 1.7.0_79) on Wed Jul 20 08:39:13 PDT 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>ObjectNode (jackson-databind 2.8.0 API)</title> 8<meta name="date" content="2016-07-20"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="ObjectNode (jackson-databind 2.8.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/ObjectNode.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/ObjectNode.html" target="_top">Frames</a></li> 45<li><a href="ObjectNode.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li><a href="#field_summary">Field</a> | </li> 67<li><a href="#constructor_summary">Constr</a> | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#field_detail">Field</a> | </li> 73<li><a href="#constructor_detail">Constr</a> | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind.node</div> 84<h2 title="Class ObjectNode" class="title">Class ObjectNode</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<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> 89<li> 90<ul class="inheritance"> 91<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> 92<li> 93<ul class="inheritance"> 94<li><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</a></li> 95<li> 96<ul class="inheritance"> 97<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> 98<li> 99<ul class="inheritance"> 100<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/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a>></li> 101<li> 102<ul class="inheritance"> 103<li>com.fasterxml.jackson.databind.node.ObjectNode</li> 104</ul> 105</li> 106</ul> 107</li> 108</ul> 109</li> 110</ul> 111</li> 112</ul> 113</li> 114</ul> 115<div class="description"> 116<ul class="blockList"> 117<li class="blockList"> 118<dl> 119<dt>All Implemented Interfaces:</dt> 120<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> 121</dl> 122<hr> 123<br> 124<pre>public class <span class="strong">ObjectNode</span> 125extends <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/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a>></pre> 126<div class="block">Node that maps to JSON Object structures in JSON content. 127<p> 128 Note: class was <code>final</code> temporarily for Jackson 2.2.</div> 129</li> 130</ul> 131</div> 132<div class="summary"> 133<ul class="blockList"> 134<li class="blockList"> 135<!-- ======== NESTED CLASS SUMMARY ======== --> 136<ul class="blockList"> 137<li class="blockList"><a name="nested_class_summary"> 138<!-- --> 139</a> 140<h3>Nested Class Summary</h3> 141<ul class="blockList"> 142<li class="blockList"><a name="nested_classes_inherited_from_class_com.fasterxml.jackson.databind.JsonSerializable"> 143<!-- --> 144</a> 145<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> 146<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></code></li> 147</ul> 148</li> 149</ul> 150<!-- =========== FIELD SUMMARY =========== --> 151<ul class="blockList"> 152<li class="blockList"><a name="field_summary"> 153<!-- --> 154</a> 155<h3>Field Summary</h3> 156<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 157<caption><span>Fields</span><span class="tabEnd"> </span></caption> 158<tr> 159<th class="colFirst" scope="col">Modifier and Type</th> 160<th class="colLast" scope="col">Field and Description</th> 161</tr> 162<tr class="altColor"> 163<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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>,<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>></code></td> 164<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#_children">_children</a></strong></code> </td> 165</tr> 166</table> 167<ul class="blockList"> 168<li class="blockList"><a name="fields_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode"> 169<!-- --> 170</a> 171<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> 172<code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#_nodeFactory">_nodeFactory</a></code></li> 173</ul> 174</li> 175</ul> 176<!-- ======== CONSTRUCTOR SUMMARY ======== --> 177<ul class="blockList"> 178<li class="blockList"><a name="constructor_summary"> 179<!-- --> 180</a> 181<h3>Constructor Summary</h3> 182<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 183<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 184<tr> 185<th class="colOne" scope="col">Constructor and Description</th> 186</tr> 187<tr class="altColor"> 188<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#ObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory)">ObjectNode</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</a> nc)</code> </td> 189</tr> 190<tr class="rowColor"> 191<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#ObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory,%20java.util.Map)">ObjectNode</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</a> nc, 192 <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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>,<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> kids)</code> </td> 193</tr> 194</table> 195</li> 196</ul> 197<!-- ========== METHOD SUMMARY =========== --> 198<ul class="blockList"> 199<li class="blockList"><a name="method_summary"> 200<!-- --> 201</a> 202<h3>Method Summary</h3> 203<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 204<caption><span>Methods</span><span class="tabEnd"> </span></caption> 205<tr> 206<th class="colFirst" scope="col">Modifier and Type</th> 207<th class="colLast" scope="col">Method and Description</th> 208</tr> 209<tr class="altColor"> 210<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 211<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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> 212</tr> 213<tr class="rowColor"> 214<td class="colFirst"><code>protected boolean</code></td> 215<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#_childrenEqual(com.fasterxml.jackson.databind.node.ObjectNode)">_childrenEqual</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> other)</code> </td> 216</tr> 217<tr class="altColor"> 218<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a></code></td> 219<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#_put(java.lang.String,%20com.fasterxml.jackson.databind.JsonNode)">_put</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, 220 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</code> </td> 221</tr> 222<tr class="rowColor"> 223<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> 224<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#asToken()">asToken</a></strong>()</code> 225<div class="block">Method that can be used for efficient type detection 226 when using stream abstraction for traversing nodes.</div> 227</td> 228</tr> 229<tr class="altColor"> 230<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> 231<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#deepCopy()">deepCopy</a></strong>()</code> 232<div class="block">Method that can be called to get a node that is guaranteed 233 not to allow changing of this node through mutators on 234 this node or any of its children.</div> 235</td> 236</tr> 237<tr class="rowColor"> 238<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> 239<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#elements()">elements</a></strong>()</code> 240<div class="block">Method for accessing all value nodes of this Node, iff 241 this node is a JSON Array or Object node.</div> 242</td> 243</tr> 244<tr class="altColor"> 245<td class="colFirst"><code>boolean</code></td> 246<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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, 247 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> o)</code> 248<div class="block">Entry method for invoking customizable comparison, using passed-in 249 <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> 250</td> 251</tr> 252<tr class="rowColor"> 253<td class="colFirst"><code>boolean</code></td> 254<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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> 255<div class="block">Equality for node objects is defined as full (deep) value 256 equality.</div> 257</td> 258</tr> 259<tr class="altColor"> 260<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="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> 261<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#fieldNames()">fieldNames</a></strong>()</code> </td> 262</tr> 263<tr class="rowColor"> 264<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="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</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>,<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>>></code></td> 265<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#fields()">fields</a></strong>()</code> 266<div class="block">Method to use for accessing all fields (with both names 267 and values) of this JSON Object.</div> 268</td> 269</tr> 270<tr class="altColor"> 271<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> 272<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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> 273<div class="block">Method for finding a JSON Object that contains specified field, 274 within this node or its descendants.</div> 275</td> 276</tr> 277<tr class="rowColor"> 278<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> 279<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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, 280 <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> 281</tr> 282<tr class="altColor"> 283<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 284<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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> 285<div class="block">Method for finding a JSON Object field with specified name in this 286 node or its child nodes, and returning value it has.</div> 287</td> 288</tr> 289<tr class="rowColor"> 290<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> 291<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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, 292 <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> 293</tr> 294<tr class="altColor"> 295<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> 296<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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, 297 <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> 298</tr> 299<tr class="rowColor"> 300<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 301<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#get(int)">get</a></strong>(int index)</code> 302<div class="block">Method for accessing value of the specified element of 303 an array node.</div> 304</td> 305</tr> 306<tr class="altColor"> 307<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 308<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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> 309<div class="block">Method for accessing value of the specified field of 310 an object node.</div> 311</td> 312</tr> 313<tr class="rowColor"> 314<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> 315<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#getNodeType()">getNodeType</a></strong>()</code> 316<div class="block">Return the type of this node</div> 317</td> 318</tr> 319<tr class="altColor"> 320<td class="colFirst"><code>int</code></td> 321<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#hashCode()">hashCode</a></strong>()</code> </td> 322</tr> 323<tr class="rowColor"> 324<td class="colFirst"><code>boolean</code></td> 325<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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> 326<div class="block">Method that may be called on instance to determine if it is considered 327 "empty" for purposes of serialization filtering or not.</div> 328</td> 329</tr> 330<tr class="altColor"> 331<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 332<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#path(int)">path</a></strong>(int index)</code> 333<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 334 that instead of returning null if no such element exists (due 335 to index being out of range, or this node not being an array), 336 a "missing node" (node that returns true for 337 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned.</div> 338</td> 339</tr> 340<tr class="rowColor"> 341<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 342<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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> 343<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 344 that instead of returning null if no such value exists (due 345 to this node not being an object, or object not having value 346 for the specified field), 347 a "missing node" (node that returns true for 348 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned.</div> 349</td> 350</tr> 351<tr class="altColor"> 352<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> 353<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20java.math.BigDecimal)">put</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, 354 <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> 355<div class="block">Method for setting value of a field to specified numeric value.</div> 356</td> 357</tr> 358<tr class="rowColor"> 359<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> 360<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20boolean)">put</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, 361 boolean v)</code> 362<div class="block">Method for setting value of a field to specified String value.</div> 363</td> 364</tr> 365<tr class="altColor"> 366<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> 367<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20java.lang.Boolean)">put</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, 368 <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> v)</code> 369<div class="block">Alternative method that we need to avoid bumping into NPE issues 370 with auto-unboxing.</div> 371</td> 372</tr> 373<tr class="rowColor"> 374<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> 375<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20byte[])">put</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, 376 byte[] v)</code> 377<div class="block">Method for setting value of a field to specified binary value</div> 378</td> 379</tr> 380<tr class="altColor"> 381<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> 382<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20double)">put</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, 383 double v)</code> 384<div class="block">Method for setting value of a field to specified numeric value.</div> 385</td> 386</tr> 387<tr class="rowColor"> 388<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> 389<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20java.lang.Double)">put</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, 390 <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> v)</code> 391<div class="block">Alternative method that we need to avoid bumping into NPE issues 392 with auto-unboxing.</div> 393</td> 394</tr> 395<tr class="altColor"> 396<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> 397<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20float)">put</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, 398 float v)</code> 399<div class="block">Method for setting value of a field to specified numeric value.</div> 400</td> 401</tr> 402<tr class="rowColor"> 403<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> 404<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20java.lang.Float)">put</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, 405 <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> v)</code> 406<div class="block">Alternative method that we need to avoid bumping into NPE issues 407 with auto-unboxing.</div> 408</td> 409</tr> 410<tr class="altColor"> 411<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> 412<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20int)">put</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, 413 int v)</code> 414<div class="block">Method for setting value of a field to specified numeric value.</div> 415</td> 416</tr> 417<tr class="rowColor"> 418<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> 419<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20java.lang.Integer)">put</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, 420 <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> v)</code> 421<div class="block">Alternative method that we need to avoid bumping into NPE issues 422 with auto-unboxing.</div> 423</td> 424</tr> 425<tr class="altColor"> 426<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 427<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20com.fasterxml.jackson.databind.JsonNode)">put</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, 428 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</code> 429<div class="block"><strong>Deprecated.</strong> 430<div class="block"><i>Since 2.4 use either <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#set(java.lang.String,%20com.fasterxml.jackson.databind.JsonNode)"><code>set(String,JsonNode)</code></a> or <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#replace(java.lang.String,%20com.fasterxml.jackson.databind.JsonNode)"><code>replace(String,JsonNode)</code></a>,</i></div> 431</div> 432</td> 433</tr> 434<tr class="rowColor"> 435<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> 436<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20long)">put</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, 437 long v)</code> 438<div class="block">Method for setting value of a field to specified numeric value.</div> 439</td> 440</tr> 441<tr class="altColor"> 442<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> 443<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20java.lang.Long)">put</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, 444 <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> v)</code> 445<div class="block">Method for setting value of a field to specified numeric value.</div> 446</td> 447</tr> 448<tr class="rowColor"> 449<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> 450<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20short)">put</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, 451 short v)</code> 452<div class="block">Method for setting value of a field to specified numeric value.</div> 453</td> 454</tr> 455<tr class="altColor"> 456<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> 457<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20java.lang.Short)">put</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, 458 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a> v)</code> 459<div class="block">Alternative method that we need to avoid bumping into NPE issues 460 with auto-unboxing.</div> 461</td> 462</tr> 463<tr class="rowColor"> 464<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> 465<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20java.lang.String)">put</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, 466 <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> 467<div class="block">Method for setting value of a field to specified String value.</div> 468</td> 469</tr> 470<tr class="altColor"> 471<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 472<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putAll(java.util.Map)">putAll</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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>,? extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> properties)</code> 473<div class="block"><strong>Deprecated.</strong> 474<div class="block"><i>Since 2.4 use <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(java.util.Map)"><code>setAll(Map)</code></a>,</i></div> 475</div> 476</td> 477</tr> 478<tr class="rowColor"> 479<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 480<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putAll(com.fasterxml.jackson.databind.node.ObjectNode)">putAll</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> other)</code> 481<div class="block"><strong>Deprecated.</strong> 482<div class="block"><i>Since 2.4 use <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(com.fasterxml.jackson.databind.node.ObjectNode)"><code>setAll(ObjectNode)</code></a>,</i></div> 483</div> 484</td> 485</tr> 486<tr class="altColor"> 487<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> 488<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putArray(java.lang.String)">putArray</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> 489<div class="block">Method that will construct an ArrayNode and add it as a 490 field of this ObjectNode, replacing old value, if any.</div> 491</td> 492</tr> 493<tr class="rowColor"> 494<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> 495<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putNull(java.lang.String)">putNull</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> </td> 496</tr> 497<tr class="altColor"> 498<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> 499<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putObject(java.lang.String)">putObject</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> 500<div class="block">Method that will construct an ObjectNode and add it as a 501 field of this ObjectNode, replacing old value, if any.</div> 502</td> 503</tr> 504<tr class="rowColor"> 505<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> 506<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putPOJO(java.lang.String,%20java.lang.Object)">putPOJO</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, 507 <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> pojo)</code> </td> 508</tr> 509<tr class="altColor"> 510<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> 511<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#putRawValue(java.lang.String,%20com.fasterxml.jackson.databind.util.RawValue)">putRawValue</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, 512 <a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html" title="class in com.fasterxml.jackson.databind.util">RawValue</a> raw)</code> </td> 513</tr> 514<tr class="rowColor"> 515<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> 516<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#remove(java.util.Collection)">remove</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><<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>> fieldNames)</code> 517<div class="block">Method for removing specified field properties out of 518 this ObjectNode.</div> 519</td> 520</tr> 521<tr class="altColor"> 522<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 523<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#remove(java.lang.String)">remove</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> 524<div class="block">Method for removing field entry from this ObjectNode.</div> 525</td> 526</tr> 527<tr class="rowColor"> 528<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> 529<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#removeAll()">removeAll</a></strong>()</code> 530<div class="block">Method for removing all field properties, such that this 531 ObjectNode will contain no properties after call.</div> 532</td> 533</tr> 534<tr class="altColor"> 535<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 536<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#replace(java.lang.String,%20com.fasterxml.jackson.databind.JsonNode)">replace</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, 537 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</code> 538<div class="block">Method for replacing value of specific property with passed 539 value, and returning value (or null if none).</div> 540</td> 541</tr> 542<tr class="rowColor"> 543<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> 544<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#retain(java.util.Collection)">retain</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><<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>> fieldNames)</code> 545<div class="block">Method for removing all field properties out of this ObjectNode 546 <b>except</b> for ones specified in argument.</div> 547</td> 548</tr> 549<tr class="altColor"> 550<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> 551<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#retain(java.lang.String...)">retain</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>... fieldNames)</code> 552<div class="block">Method for removing all field properties out of this ObjectNode 553 <b>except</b> for ones specified in argument.</div> 554</td> 555</tr> 556<tr class="rowColor"> 557<td class="colFirst"><code>void</code></td> 558<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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> g, 559 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> 560<div class="block">Method that can be called to serialize this node and 561 all of its descendants using specified JSON generator.</div> 562</td> 563</tr> 564<tr class="altColor"> 565<td class="colFirst"><code>void</code></td> 566<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.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> g, 567 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 568 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer)</code> 569<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, 570 since they may be mixed with other types.</div> 571</td> 572</tr> 573<tr class="rowColor"> 574<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 575<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#set(java.lang.String,%20com.fasterxml.jackson.databind.JsonNode)">set</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, 576 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</code> 577<div class="block">Method that will set specified field, replacing old value, if any.</div> 578</td> 579</tr> 580<tr class="altColor"> 581<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 582<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(java.util.Map)">setAll</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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>,? extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> properties)</code> 583<div class="block">Method for adding given properties to this object node, overriding 584 any existing values for those properties.</div> 585</td> 586</tr> 587<tr class="rowColor"> 588<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 589<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(com.fasterxml.jackson.databind.node.ObjectNode)">setAll</a></strong>(<a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> other)</code> 590<div class="block">Method for adding all properties of the given Object, overriding 591 any existing values for those properties.</div> 592</td> 593</tr> 594<tr class="altColor"> 595<td class="colFirst"><code>int</code></td> 596<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#size()">size</a></strong>()</code> </td> 597</tr> 598<tr class="rowColor"> 599<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> 600<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#toString()">toString</a></strong>()</code> 601<div class="block">Method that will produce developer-readable representation of the 602 node; which may <b>or may not</b> be as valid JSON.</div> 603</td> 604</tr> 605<tr class="altColor"> 606<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> 607<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#with(java.lang.String)">with</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> propertyName)</code> 608<div class="block">Method that can be called on Object nodes, to access a property 609 that has Object value; or if no such property exists, to create, 610 add and return such Object node.</div> 611</td> 612</tr> 613<tr class="rowColor"> 614<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> 615<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#withArray(java.lang.String)">withArray</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> propertyName)</code> 616<div class="block">Method that can be called on Object nodes, to access a property 617 that has <code>Array</code> value; or if no such property exists, to create, 618 add and return such Array node.</div> 619</td> 620</tr> 621<tr class="altColor"> 622<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> 623<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#without(java.util.Collection)">without</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><<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>> fieldNames)</code> 624<div class="block">Method for removing specified field properties out of 625 this ObjectNode.</div> 626</td> 627</tr> 628<tr class="rowColor"> 629<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 630<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#without(java.lang.String)">without</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> 631<div class="block">Method for removing field entry from this ObjectNode, and 632 returning instance after removal.</div> 633</td> 634</tr> 635</table> 636<ul class="blockList"> 637<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.ContainerNode"> 638<!-- --> 639</a> 640<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> 641<code><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#arrayNode()">arrayNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html#arrayNode(int)">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> 642</ul> 643<ul class="blockList"> 644<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.node.BaseJsonNode"> 645<!-- --> 646</a> 647<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> 648<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> 649</ul> 650<ul class="blockList"> 651<li class="blockList"><a name="methods_inherited_from_class_com.fasterxml.jackson.databind.JsonNode"> 652<!-- --> 653</a> 654<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> 655<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#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></code></li> 656</ul> 657<ul class="blockList"> 658<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 659<!-- --> 660</a> 661<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> 662<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> 663</ul> 664</li> 665</ul> 666</li> 667</ul> 668</div> 669<div class="details"> 670<ul class="blockList"> 671<li class="blockList"> 672<!-- ============ FIELD DETAIL =========== --> 673<ul class="blockList"> 674<li class="blockList"><a name="field_detail"> 675<!-- --> 676</a> 677<h3>Field Detail</h3> 678<a name="_children"> 679<!-- --> 680</a> 681<ul class="blockListLast"> 682<li class="blockList"> 683<h4>_children</h4> 684<pre>protected final <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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>,<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> _children</pre> 685</li> 686</ul> 687</li> 688</ul> 689<!-- ========= CONSTRUCTOR DETAIL ======== --> 690<ul class="blockList"> 691<li class="blockList"><a name="constructor_detail"> 692<!-- --> 693</a> 694<h3>Constructor Detail</h3> 695<a name="ObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory)"> 696<!-- --> 697</a> 698<ul class="blockList"> 699<li class="blockList"> 700<h4>ObjectNode</h4> 701<pre>public ObjectNode(<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</a> nc)</pre> 702</li> 703</ul> 704<a name="ObjectNode(com.fasterxml.jackson.databind.node.JsonNodeFactory, java.util.Map)"> 705<!-- --> 706</a> 707<ul class="blockListLast"> 708<li class="blockList"> 709<h4>ObjectNode</h4> 710<pre>public ObjectNode(<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html" title="class in com.fasterxml.jackson.databind.node">JsonNodeFactory</a> nc, 711 <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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>,<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> kids)</pre> 712<dl><dt><span class="strong">Since:</span></dt> 713 <dd>2.4</dd></dl> 714</li> 715</ul> 716</li> 717</ul> 718<!-- ============ METHOD DETAIL ========== --> 719<ul class="blockList"> 720<li class="blockList"><a name="method_detail"> 721<!-- --> 722</a> 723<h3>Method Detail</h3> 724<a name="_at(com.fasterxml.jackson.core.JsonPointer)"> 725<!-- --> 726</a> 727<ul class="blockList"> 728<li class="blockList"> 729<h4>_at</h4> 730<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> 731<dl> 732<dt><strong>Specified by:</strong></dt> 733<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> 734</dl> 735</li> 736</ul> 737<a name="deepCopy()"> 738<!-- --> 739</a> 740<ul class="blockList"> 741<li class="blockList"> 742<h4>deepCopy</h4> 743<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> deepCopy()</pre> 744<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#deepCopy()">JsonNode</a></code></strong></div> 745<div class="block">Method that can be called to get a node that is guaranteed 746 not to allow changing of this node through mutators on 747 this node or any of its children. 748 This means it can either make a copy of this node (and all 749 mutable children and grand children nodes), or node itself 750 if it is immutable. 751<p> 752 Note: return type is guaranteed to have same type as the 753 node method is called on; which is why method is declared 754 with local generic type.</div> 755<dl> 756<dt><strong>Specified by:</strong></dt> 757<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> 758<dt><span class="strong">Returns:</span></dt><dd>Node that is either a copy of this node (and all non-leaf 759 children); or, for immutable leaf nodes, node itself.</dd></dl> 760</li> 761</ul> 762<a name="isEmpty(com.fasterxml.jackson.databind.SerializerProvider)"> 763<!-- --> 764</a> 765<ul class="blockList"> 766<li class="blockList"> 767<h4>isEmpty</h4> 768<pre>public boolean isEmpty(<a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> serializers)</pre> 769<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> 770<div class="block">Method that may be called on instance to determine if it is considered 771 "empty" for purposes of serialization filtering or not.</div> 772<dl> 773<dt><strong>Overrides:</strong></dt> 774<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> 775</dl> 776</li> 777</ul> 778<a name="getNodeType()"> 779<!-- --> 780</a> 781<ul class="blockList"> 782<li class="blockList"> 783<h4>getNodeType</h4> 784<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a> getNodeType()</pre> 785<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType()">JsonNode</a></code></strong></div> 786<div class="block">Return the type of this node</div> 787<dl> 788<dt><strong>Specified by:</strong></dt> 789<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> 790<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> 791</li> 792</ul> 793<a name="asToken()"> 794<!-- --> 795</a> 796<ul class="blockList"> 797<li class="blockList"> 798<h4>asToken</h4> 799<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> 800<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken()">BaseJsonNode</a></code></strong></div> 801<div class="block">Method that can be used for efficient type detection 802 when using stream abstraction for traversing nodes. 803 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 804 stream event would produce (for most nodes there is just 805 one token but for structured/container types multiple)</div> 806<dl> 807<dt><strong>Specified by:</strong></dt> 808<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> 809<dt><strong>Specified by:</strong></dt> 810<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/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a>></code></dd> 811</dl> 812</li> 813</ul> 814<a name="size()"> 815<!-- --> 816</a> 817<ul class="blockList"> 818<li class="blockList"> 819<h4>size</h4> 820<pre>public int size()</pre> 821<dl> 822<dt><strong>Specified by:</strong></dt> 823<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> 824<dt><strong>Specified by:</strong></dt> 825<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/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a>></code></dd> 826</dl> 827</li> 828</ul> 829<a name="elements()"> 830<!-- --> 831</a> 832<ul class="blockList"> 833<li class="blockList"> 834<h4>elements</h4> 835<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> 836<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements()">JsonNode</a></code></strong></div> 837<div class="block">Method for accessing all value nodes of this Node, iff 838 this node is a JSON Array or Object node. In case of Object node, 839 field names (keys) are not included, only values. 840 For other types of nodes, returns empty iterator.</div> 841<dl> 842<dt><strong>Overrides:</strong></dt> 843<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> 844</dl> 845</li> 846</ul> 847<a name="get(int)"> 848<!-- --> 849</a> 850<ul class="blockList"> 851<li class="blockList"> 852<h4>get</h4> 853<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> get(int index)</pre> 854<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get(int)">JsonNode</a></code></strong></div> 855<div class="block">Method for accessing value of the specified element of 856 an array node. For other nodes, null is always returned. 857<p> 858 For array nodes, index specifies 859 exact location within array and allows for efficient iteration 860 over child elements (underlying storage is guaranteed to 861 be efficiently indexable, i.e. has random-access to elements). 862 If index is less than 0, or equal-or-greater than 863 <code>node.size()</code>, null is returned; no exception is 864 thrown for any index. 865<p> 866 NOTE: if the element value has been explicitly set as <code>null</code> 867 (which is different from removal!), 868 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, 869 not null.</div> 870<dl> 871<dt><strong>Specified by:</strong></dt> 872<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> 873<dt><strong>Specified by:</strong></dt> 874<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/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a>></code></dd> 875<dt><span class="strong">Returns:</span></dt><dd>Node that represent value of the specified element, 876 if this node is an array and has specified element. 877 Null otherwise.</dd></dl> 878</li> 879</ul> 880<a name="get(java.lang.String)"> 881<!-- --> 882</a> 883<ul class="blockList"> 884<li class="blockList"> 885<h4>get</h4> 886<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> 887<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> 888<div class="block">Method for accessing value of the specified field of 889 an object node. If this node is not an object (or it 890 does not have a value for specified field name), or 891 if there is no field with such name, null is returned. 892<p> 893 NOTE: if the property value has been explicitly set as <code>null</code> 894 (which is different from removal!), 895 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, 896 not null.</div> 897<dl> 898<dt><strong>Specified by:</strong></dt> 899<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> 900<dt><strong>Specified by:</strong></dt> 901<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/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a>></code></dd> 902<dt><span class="strong">Returns:</span></dt><dd>Node that represent value of the specified field, 903 if this node is an object and has value for the specified 904 field. Null otherwise.</dd></dl> 905</li> 906</ul> 907<a name="fieldNames()"> 908<!-- --> 909</a> 910<ul class="blockList"> 911<li class="blockList"> 912<h4>fieldNames</h4> 913<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="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>> fieldNames()</pre> 914<dl> 915<dt><strong>Specified by:</strong></dt> 916<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/TreeNode.html?is-external=true#fieldNames()" title="class or interface in com.fasterxml.jackson.core">fieldNames</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> 917<dt><strong>Overrides:</strong></dt> 918<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fieldNames()">fieldNames</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 919</dl> 920</li> 921</ul> 922<a name="path(int)"> 923<!-- --> 924</a> 925<ul class="blockList"> 926<li class="blockList"> 927<h4>path</h4> 928<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> path(int index)</pre> 929<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path(int)">JsonNode</a></code></strong></div> 930<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 931 that instead of returning null if no such element exists (due 932 to index being out of range, or this node not being an array), 933 a "missing node" (node that returns true for 934 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for 935 convenient and safe chained access via path calls.</div> 936<dl> 937<dt><strong>Specified by:</strong></dt> 938<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> 939<dt><strong>Specified by:</strong></dt> 940<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> 941</dl> 942</li> 943</ul> 944<a name="path(java.lang.String)"> 945<!-- --> 946</a> 947<ul class="blockList"> 948<li class="blockList"> 949<h4>path</h4> 950<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> 951<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> 952<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 953 that instead of returning null if no such value exists (due 954 to this node not being an object, or object not having value 955 for the specified field), 956 a "missing node" (node that returns true for 957 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode()"><code>JsonNode.isMissingNode()</code></a>) will be returned. This allows for 958 convenient and safe chained access via path calls.</div> 959<dl> 960<dt><strong>Specified by:</strong></dt> 961<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> 962<dt><strong>Specified by:</strong></dt> 963<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> 964</dl> 965</li> 966</ul> 967<a name="fields()"> 968<!-- --> 969</a> 970<ul class="blockList"> 971<li class="blockList"> 972<h4>fields</h4> 973<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="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</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>,<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>>> fields()</pre> 974<div class="block">Method to use for accessing all fields (with both names 975 and values) of this JSON Object.</div> 976<dl> 977<dt><strong>Overrides:</strong></dt> 978<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fields()">fields</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 979<dt><span class="strong">Returns:</span></dt><dd>Iterator that can be used to traverse all key/value pairs for 980 object nodes; empty iterator (no contents) for other types</dd></dl> 981</li> 982</ul> 983<a name="with(java.lang.String)"> 984<!-- --> 985</a> 986<ul class="blockList"> 987<li class="blockList"> 988<h4>with</h4> 989<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> with(<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> propertyName)</pre> 990<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with(java.lang.String)">JsonNode</a></code></strong></div> 991<div class="block">Method that can be called on Object nodes, to access a property 992 that has Object value; or if no such property exists, to create, 993 add and return such Object node. 994 If the node method is called on is not Object node, 995 or if property exists and has value that is not Object node, 996 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a> is thrown</div> 997<dl> 998<dt><strong>Overrides:</strong></dt> 999<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with(java.lang.String)">with</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 1000</dl> 1001</li> 1002</ul> 1003<a name="withArray(java.lang.String)"> 1004<!-- --> 1005</a> 1006<ul class="blockList"> 1007<li class="blockList"> 1008<h4>withArray</h4> 1009<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> withArray(<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> propertyName)</pre> 1010<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray(java.lang.String)">JsonNode</a></code></strong></div> 1011<div class="block">Method that can be called on Object nodes, to access a property 1012 that has <code>Array</code> value; or if no such property exists, to create, 1013 add and return such Array node. 1014 If the node method is called on is not Object node, 1015 or if property exists and has value that is not Array node, 1016 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a> is thrown</div> 1017<dl> 1018<dt><strong>Overrides:</strong></dt> 1019<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray(java.lang.String)">withArray</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 1020</dl> 1021</li> 1022</ul> 1023<a name="equals(java.util.Comparator, com.fasterxml.jackson.databind.JsonNode)"> 1024<!-- --> 1025</a> 1026<ul class="blockList"> 1027<li class="blockList"> 1028<h4>equals</h4> 1029<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, 1030 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> o)</pre> 1031<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> 1032<div class="block">Entry method for invoking customizable comparison, using passed-in 1033 <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 1034 types (arrays, objects), but defer to comparator for scalar value 1035 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 1036 simply calls <code>equals()</code> on one of arguments, passing the other 1037 -- implementation is the same as directly calling <code>equals()</code> 1038 on node. 1039<p> 1040 Default implementation simply delegates to passed in <code>comparator</code>, 1041 with <code>this</code> as the first argument, and <code>other</code> as 1042 the second argument.</div> 1043<dl> 1044<dt><strong>Overrides:</strong></dt> 1045<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> 1046<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> 1047 instances, and return either 0 (are equals) or non-zero (not equal)</dd></dl> 1048</li> 1049</ul> 1050<a name="findValue(java.lang.String)"> 1051<!-- --> 1052</a> 1053<ul class="blockList"> 1054<li class="blockList"> 1055<h4>findValue</h4> 1056<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> 1057<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> 1058<div class="block">Method for finding a JSON Object field with specified name in this 1059 node or its child nodes, and returning value it has. 1060 If no matching field is found in this node or its descendants, returns null.</div> 1061<dl> 1062<dt><strong>Specified by:</strong></dt> 1063<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> 1064<dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of field to look for</dd> 1065<dt><span class="strong">Returns:</span></dt><dd>Value of first matching node found, if any; null if none</dd></dl> 1066</li> 1067</ul> 1068<a name="findValues(java.lang.String, java.util.List)"> 1069<!-- --> 1070</a> 1071<ul class="blockList"> 1072<li class="blockList"> 1073<h4>findValues</h4> 1074<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, 1075 <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> 1076<dl> 1077<dt><strong>Specified by:</strong></dt> 1078<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> 1079</dl> 1080</li> 1081</ul> 1082<a name="findValuesAsText(java.lang.String, java.util.List)"> 1083<!-- --> 1084</a> 1085<ul class="blockList"> 1086<li class="blockList"> 1087<h4>findValuesAsText</h4> 1088<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, 1089 <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> 1090<dl> 1091<dt><strong>Specified by:</strong></dt> 1092<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> 1093</dl> 1094</li> 1095</ul> 1096<a name="findParent(java.lang.String)"> 1097<!-- --> 1098</a> 1099<ul class="blockList"> 1100<li class="blockList"> 1101<h4>findParent</h4> 1102<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> 1103<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> 1104<div class="block">Method for finding a JSON Object that contains specified field, 1105 within this node or its descendants. 1106 If no matching field is found in this node or its descendants, returns null.</div> 1107<dl> 1108<dt><strong>Specified by:</strong></dt> 1109<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> 1110<dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Name of field to look for</dd> 1111<dt><span class="strong">Returns:</span></dt><dd>Value of first matching node found, if any; null if none</dd></dl> 1112</li> 1113</ul> 1114<a name="findParents(java.lang.String, java.util.List)"> 1115<!-- --> 1116</a> 1117<ul class="blockList"> 1118<li class="blockList"> 1119<h4>findParents</h4> 1120<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, 1121 <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> 1122<dl> 1123<dt><strong>Specified by:</strong></dt> 1124<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> 1125</dl> 1126</li> 1127</ul> 1128<a name="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)"> 1129<!-- --> 1130</a> 1131<ul class="blockList"> 1132<li class="blockList"> 1133<h4>serialize</h4> 1134<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> g, 1135 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 1136 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> 1137<div class="block">Method that can be called to serialize this node and 1138 all of its descendants using specified JSON generator.</div> 1139<dl> 1140<dt><strong>Specified by:</strong></dt> 1141<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> 1142<dt><strong>Specified by:</strong></dt> 1143<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> 1144<dt><span class="strong">Throws:</span></dt> 1145<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> 1146</li> 1147</ul> 1148<a name="serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)"> 1149<!-- --> 1150</a> 1151<ul class="blockList"> 1152<li class="blockList"> 1153<h4>serializeWithType</h4> 1154<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> g, 1155 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 1156 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) 1157 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> 1158<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> 1159<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, 1160 since they may be mixed with other types.</div> 1161<dl> 1162<dt><strong>Specified by:</strong></dt> 1163<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> 1164<dt><strong>Specified by:</strong></dt> 1165<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> 1166<dt><span class="strong">Throws:</span></dt> 1167<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> 1168</li> 1169</ul> 1170<a name="set(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"> 1171<!-- --> 1172</a> 1173<ul class="blockList"> 1174<li class="blockList"> 1175<h4>set</h4> 1176<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> set(<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, 1177 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</pre> 1178<div class="block">Method that will set specified field, replacing old value, if any. 1179 Note that this is identical to <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#replace(java.lang.String,%20com.fasterxml.jackson.databind.JsonNode)"><code>replace(String, JsonNode)</code></a>, 1180 except for return value. 1181<p> 1182 NOTE: added to replace those uses of <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20com.fasterxml.jackson.databind.JsonNode)"><code>put(String, JsonNode)</code></a> 1183 where chaining with 'this' is desired.</div> 1184<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - to set field to; if null, will be converted 1185 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 1186 <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#remove(java.lang.String)"><code>remove(java.lang.String)</code></a> instead)</dd> 1187<dt><span class="strong">Returns:</span></dt><dd>This node after adding/replacing property value (to allow chaining)</dd><dt><span class="strong">Since:</span></dt> 1188 <dd>2.1</dd></dl> 1189</li> 1190</ul> 1191<a name="setAll(java.util.Map)"> 1192<!-- --> 1193</a> 1194<ul class="blockList"> 1195<li class="blockList"> 1196<h4>setAll</h4> 1197<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> setAll(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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>,? extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> properties)</pre> 1198<div class="block">Method for adding given properties to this object node, overriding 1199 any existing values for those properties.</div> 1200<dl><dt><span class="strong">Parameters:</span></dt><dd><code>properties</code> - Properties to add</dd> 1201<dt><span class="strong">Returns:</span></dt><dd>This node after adding/replacing property values (to allow chaining)</dd><dt><span class="strong">Since:</span></dt> 1202 <dd>2.1</dd></dl> 1203</li> 1204</ul> 1205<a name="setAll(com.fasterxml.jackson.databind.node.ObjectNode)"> 1206<!-- --> 1207</a> 1208<ul class="blockList"> 1209<li class="blockList"> 1210<h4>setAll</h4> 1211<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> setAll(<a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> other)</pre> 1212<div class="block">Method for adding all properties of the given Object, overriding 1213 any existing values for those properties.</div> 1214<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Object of which properties to add to this object</dd> 1215<dt><span class="strong">Returns:</span></dt><dd>This node after addition (to allow chaining)</dd><dt><span class="strong">Since:</span></dt> 1216 <dd>2.1</dd></dl> 1217</li> 1218</ul> 1219<a name="replace(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"> 1220<!-- --> 1221</a> 1222<ul class="blockList"> 1223<li class="blockList"> 1224<h4>replace</h4> 1225<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> replace(<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, 1226 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</pre> 1227<div class="block">Method for replacing value of specific property with passed 1228 value, and returning value (or null if none).</div> 1229<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fieldName</code> - Property of which value to replace</dd><dd><code>value</code> - Value to set property to, replacing old value if any</dd> 1230<dt><span class="strong">Returns:</span></dt><dd>Old value of the property; null if there was no such property 1231 with value</dd><dt><span class="strong">Since:</span></dt> 1232 <dd>2.1</dd></dl> 1233</li> 1234</ul> 1235<a name="without(java.lang.String)"> 1236<!-- --> 1237</a> 1238<ul class="blockList"> 1239<li class="blockList"> 1240<h4>without</h4> 1241<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> without(<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> 1242<div class="block">Method for removing field entry from this ObjectNode, and 1243 returning instance after removal.</div> 1244<dl><dt><span class="strong">Returns:</span></dt><dd>This node after removing entry (if any)</dd><dt><span class="strong">Since:</span></dt> 1245 <dd>2.1</dd></dl> 1246</li> 1247</ul> 1248<a name="without(java.util.Collection)"> 1249<!-- --> 1250</a> 1251<ul class="blockList"> 1252<li class="blockList"> 1253<h4>without</h4> 1254<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> without(<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><<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>> fieldNames)</pre> 1255<div class="block">Method for removing specified field properties out of 1256 this ObjectNode.</div> 1257<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fieldNames</code> - Names of fields to remove</dd> 1258<dt><span class="strong">Returns:</span></dt><dd>This node after removing entries</dd><dt><span class="strong">Since:</span></dt> 1259 <dd>2.1</dd></dl> 1260</li> 1261</ul> 1262<a name="put(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"> 1263<!-- --> 1264</a> 1265<ul class="blockList"> 1266<li class="blockList"> 1267<h4>put</h4> 1268<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1269public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> put(<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, 1270 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</pre> 1271<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.4 use either <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#set(java.lang.String,%20com.fasterxml.jackson.databind.JsonNode)"><code>set(String,JsonNode)</code></a> or <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#replace(java.lang.String,%20com.fasterxml.jackson.databind.JsonNode)"><code>replace(String,JsonNode)</code></a>,</i></div> 1272<div class="block">Method that will set specified field, replacing old value, if any.</div> 1273<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - to set field to; if null, will be converted 1274 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 1275 <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#remove(java.lang.String)"><code>remove(java.lang.String)</code></a> instead)</dd> 1276<dt><span class="strong">Returns:</span></dt><dd>Old value of the field, if any; null if there was no 1277 old value.</dd></dl> 1278</li> 1279</ul> 1280<a name="remove(java.lang.String)"> 1281<!-- --> 1282</a> 1283<ul class="blockList"> 1284<li class="blockList"> 1285<h4>remove</h4> 1286<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> remove(<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> 1287<div class="block">Method for removing field entry from this ObjectNode. 1288 Will return value of the field, if such field existed; 1289 null if not.</div> 1290<dl><dt><span class="strong">Returns:</span></dt><dd>Value of specified field, if it existed; null if not</dd></dl> 1291</li> 1292</ul> 1293<a name="remove(java.util.Collection)"> 1294<!-- --> 1295</a> 1296<ul class="blockList"> 1297<li class="blockList"> 1298<h4>remove</h4> 1299<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> remove(<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><<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>> fieldNames)</pre> 1300<div class="block">Method for removing specified field properties out of 1301 this ObjectNode.</div> 1302<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fieldNames</code> - Names of fields to remove</dd> 1303<dt><span class="strong">Returns:</span></dt><dd>This node after removing entries</dd></dl> 1304</li> 1305</ul> 1306<a name="removeAll()"> 1307<!-- --> 1308</a> 1309<ul class="blockList"> 1310<li class="blockList"> 1311<h4>removeAll</h4> 1312<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> removeAll()</pre> 1313<div class="block">Method for removing all field properties, such that this 1314 ObjectNode will contain no properties after call.</div> 1315<dl> 1316<dt><strong>Specified by:</strong></dt> 1317<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/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a>></code></dd> 1318<dt><span class="strong">Returns:</span></dt><dd>This node after removing all entries</dd></dl> 1319</li> 1320</ul> 1321<a name="putAll(java.util.Map)"> 1322<!-- --> 1323</a> 1324<ul class="blockList"> 1325<li class="blockList"> 1326<h4>putAll</h4> 1327<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1328public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> putAll(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</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>,? extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> properties)</pre> 1329<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.4 use <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(java.util.Map)"><code>setAll(Map)</code></a>,</i></div> 1330<div class="block">Method for adding given properties to this object node, overriding 1331 any existing values for those properties.</div> 1332<dl><dt><span class="strong">Parameters:</span></dt><dd><code>properties</code> - Properties to add</dd> 1333<dt><span class="strong">Returns:</span></dt><dd>This node after adding/replacing property values (to allow chaining)</dd></dl> 1334</li> 1335</ul> 1336<a name="putAll(com.fasterxml.jackson.databind.node.ObjectNode)"> 1337<!-- --> 1338</a> 1339<ul class="blockList"> 1340<li class="blockList"> 1341<h4>putAll</h4> 1342<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1343public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> putAll(<a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> other)</pre> 1344<div class="block"><span class="strong">Deprecated.</span> <i>Since 2.4 use <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#setAll(com.fasterxml.jackson.databind.node.ObjectNode)"><code>setAll(ObjectNode)</code></a>,</i></div> 1345<div class="block">Method for adding all properties of the given Object, overriding 1346 any existing values for those properties.</div> 1347<dl><dt><span class="strong">Parameters:</span></dt><dd><code>other</code> - Object of which properties to add to this object</dd> 1348<dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1349</li> 1350</ul> 1351<a name="retain(java.util.Collection)"> 1352<!-- --> 1353</a> 1354<ul class="blockList"> 1355<li class="blockList"> 1356<h4>retain</h4> 1357<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> retain(<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><<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>> fieldNames)</pre> 1358<div class="block">Method for removing all field properties out of this ObjectNode 1359 <b>except</b> for ones specified in argument.</div> 1360<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fieldNames</code> - Fields to <b>retain</b> in this ObjectNode</dd> 1361<dt><span class="strong">Returns:</span></dt><dd>This node (to allow call chaining)</dd></dl> 1362</li> 1363</ul> 1364<a name="retain(java.lang.String...)"> 1365<!-- --> 1366</a> 1367<ul class="blockList"> 1368<li class="blockList"> 1369<h4>retain</h4> 1370<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> retain(<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>... fieldNames)</pre> 1371<div class="block">Method for removing all field properties out of this ObjectNode 1372 <b>except</b> for ones specified in argument.</div> 1373<dl><dt><span class="strong">Parameters:</span></dt><dd><code>fieldNames</code> - Fields to <b>retain</b> in this ObjectNode</dd> 1374<dt><span class="strong">Returns:</span></dt><dd>This node (to allow call chaining)</dd></dl> 1375</li> 1376</ul> 1377<a name="putArray(java.lang.String)"> 1378<!-- --> 1379</a> 1380<ul class="blockList"> 1381<li class="blockList"> 1382<h4>putArray</h4> 1383<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node">ArrayNode</a> putArray(<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> 1384<div class="block">Method that will construct an ArrayNode and add it as a 1385 field of this ObjectNode, replacing old value, if any. 1386<p> 1387 <b>NOTE</b>: Unlike all <b>put(...)</b> methods, return value 1388 is <b>NOT</b> this <code>ObjectNode</code>, but the 1389 <b>newly created</b> <code>ArrayNode</code> instance.</div> 1390<dl><dt><span class="strong">Returns:</span></dt><dd>Newly constructed ArrayNode (NOT the old value, 1391 which could be of any type)</dd></dl> 1392</li> 1393</ul> 1394<a name="putObject(java.lang.String)"> 1395<!-- --> 1396</a> 1397<ul class="blockList"> 1398<li class="blockList"> 1399<h4>putObject</h4> 1400<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> putObject(<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> 1401<div class="block">Method that will construct an ObjectNode and add it as a 1402 field of this ObjectNode, replacing old value, if any. 1403<p> 1404 <b>NOTE</b>: Unlike all <b>put(...)</b> methods, return value 1405 is <b>NOT</b> this <code>ObjectNode</code>, but the 1406 <b>newly created</b> <code>ObjectNode</code> instance.</div> 1407<dl><dt><span class="strong">Returns:</span></dt><dd>Newly constructed ObjectNode (NOT the old value, 1408 which could be of any type)</dd></dl> 1409</li> 1410</ul> 1411<a name="putPOJO(java.lang.String, java.lang.Object)"> 1412<!-- --> 1413</a> 1414<ul class="blockList"> 1415<li class="blockList"> 1416<h4>putPOJO</h4> 1417<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> putPOJO(<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, 1418 <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> pojo)</pre> 1419<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1420</li> 1421</ul> 1422<a name="putRawValue(java.lang.String, com.fasterxml.jackson.databind.util.RawValue)"> 1423<!-- --> 1424</a> 1425<ul class="blockList"> 1426<li class="blockList"> 1427<h4>putRawValue</h4> 1428<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> putRawValue(<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, 1429 <a href="../../../../../com/fasterxml/jackson/databind/util/RawValue.html" title="class in com.fasterxml.jackson.databind.util">RawValue</a> raw)</pre> 1430<dl><dt><span class="strong">Since:</span></dt> 1431 <dd>2.6</dd></dl> 1432</li> 1433</ul> 1434<a name="putNull(java.lang.String)"> 1435<!-- --> 1436</a> 1437<ul class="blockList"> 1438<li class="blockList"> 1439<h4>putNull</h4> 1440<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> putNull(<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> 1441<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1442</li> 1443</ul> 1444<a name="put(java.lang.String, short)"> 1445<!-- --> 1446</a> 1447<ul class="blockList"> 1448<li class="blockList"> 1449<h4>put</h4> 1450<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1451 short v)</pre> 1452<div class="block">Method for setting value of a field to specified numeric value.</div> 1453<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1454</li> 1455</ul> 1456<a name="put(java.lang.String, java.lang.Short)"> 1457<!-- --> 1458</a> 1459<ul class="blockList"> 1460<li class="blockList"> 1461<h4>put</h4> 1462<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1463 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Short.html?is-external=true" title="class or interface in java.lang">Short</a> v)</pre> 1464<div class="block">Alternative method that we need to avoid bumping into NPE issues 1465 with auto-unboxing.</div> 1466<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1467</li> 1468</ul> 1469<a name="put(java.lang.String, int)"> 1470<!-- --> 1471</a> 1472<ul class="blockList"> 1473<li class="blockList"> 1474<h4>put</h4> 1475<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1476 int v)</pre> 1477<div class="block">Method for setting value of a field to specified numeric value. 1478 The underlying <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a> that will be added is constructed 1479 using <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html#numberNode(int)"><code>JsonNodeFactory.numberNode(int)</code></a>, and may be 1480 "smaller" (like <a href="../../../../../com/fasterxml/jackson/databind/node/ShortNode.html" title="class in com.fasterxml.jackson.databind.node"><code>ShortNode</code></a>) in cases where value fits within 1481 range of a smaller integral numeric value.</div> 1482<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1483</li> 1484</ul> 1485<a name="put(java.lang.String, java.lang.Integer)"> 1486<!-- --> 1487</a> 1488<ul class="blockList"> 1489<li class="blockList"> 1490<h4>put</h4> 1491<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1492 <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> v)</pre> 1493<div class="block">Alternative method that we need to avoid bumping into NPE issues 1494 with auto-unboxing.</div> 1495<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1496</li> 1497</ul> 1498<a name="put(java.lang.String, long)"> 1499<!-- --> 1500</a> 1501<ul class="blockList"> 1502<li class="blockList"> 1503<h4>put</h4> 1504<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1505 long v)</pre> 1506<div class="block">Method for setting value of a field to specified numeric value. 1507 The underlying <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a> that will be added is constructed 1508 using <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html#numberNode(long)"><code>JsonNodeFactory.numberNode(long)</code></a>, and may be 1509 "smaller" (like <a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html" title="class in com.fasterxml.jackson.databind.node"><code>IntNode</code></a>) in cases where value fits within 1510 range of a smaller integral numeric value.</div> 1511<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1512</li> 1513</ul> 1514<a name="put(java.lang.String, java.lang.Long)"> 1515<!-- --> 1516</a> 1517<ul class="blockList"> 1518<li class="blockList"> 1519<h4>put</h4> 1520<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1521 <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> v)</pre> 1522<div class="block">Method for setting value of a field to specified numeric value. 1523 The underlying <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a> that will be added is constructed 1524 using <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeFactory.html#numberNode(java.lang.Long)"><code>JsonNodeFactory.numberNode(Long)</code></a>, and may be 1525 "smaller" (like <a href="../../../../../com/fasterxml/jackson/databind/node/IntNode.html" title="class in com.fasterxml.jackson.databind.node"><code>IntNode</code></a>) in cases where value fits within 1526 range of a smaller integral numeric value. 1527 <p> 1528 Note that this is alternative to <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html#put(java.lang.String,%20long)"><code>put(String, long)</code></a> needed to avoid 1529 bumping into NPE issues with auto-unboxing.</div> 1530<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1531</li> 1532</ul> 1533<a name="put(java.lang.String, float)"> 1534<!-- --> 1535</a> 1536<ul class="blockList"> 1537<li class="blockList"> 1538<h4>put</h4> 1539<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1540 float v)</pre> 1541<div class="block">Method for setting value of a field to specified numeric value.</div> 1542<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1543</li> 1544</ul> 1545<a name="put(java.lang.String, java.lang.Float)"> 1546<!-- --> 1547</a> 1548<ul class="blockList"> 1549<li class="blockList"> 1550<h4>put</h4> 1551<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1552 <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> v)</pre> 1553<div class="block">Alternative method that we need to avoid bumping into NPE issues 1554 with auto-unboxing.</div> 1555<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1556</li> 1557</ul> 1558<a name="put(java.lang.String, double)"> 1559<!-- --> 1560</a> 1561<ul class="blockList"> 1562<li class="blockList"> 1563<h4>put</h4> 1564<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1565 double v)</pre> 1566<div class="block">Method for setting value of a field to specified numeric value.</div> 1567<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1568</li> 1569</ul> 1570<a name="put(java.lang.String, java.lang.Double)"> 1571<!-- --> 1572</a> 1573<ul class="blockList"> 1574<li class="blockList"> 1575<h4>put</h4> 1576<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1577 <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> v)</pre> 1578<div class="block">Alternative method that we need to avoid bumping into NPE issues 1579 with auto-unboxing.</div> 1580<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1581</li> 1582</ul> 1583<a name="put(java.lang.String, java.math.BigDecimal)"> 1584<!-- --> 1585</a> 1586<ul class="blockList"> 1587<li class="blockList"> 1588<h4>put</h4> 1589<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1590 <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> 1591<div class="block">Method for setting value of a field to specified numeric value.</div> 1592<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1593</li> 1594</ul> 1595<a name="put(java.lang.String, java.lang.String)"> 1596<!-- --> 1597</a> 1598<ul class="blockList"> 1599<li class="blockList"> 1600<h4>put</h4> 1601<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1602 <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> 1603<div class="block">Method for setting value of a field to specified String value.</div> 1604<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1605</li> 1606</ul> 1607<a name="put(java.lang.String, boolean)"> 1608<!-- --> 1609</a> 1610<ul class="blockList"> 1611<li class="blockList"> 1612<h4>put</h4> 1613<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1614 boolean v)</pre> 1615<div class="block">Method for setting value of a field to specified String value.</div> 1616<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1617</li> 1618</ul> 1619<a name="put(java.lang.String, java.lang.Boolean)"> 1620<!-- --> 1621</a> 1622<ul class="blockList"> 1623<li class="blockList"> 1624<h4>put</h4> 1625<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1626 <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> v)</pre> 1627<div class="block">Alternative method that we need to avoid bumping into NPE issues 1628 with auto-unboxing.</div> 1629<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1630</li> 1631</ul> 1632<a name="put(java.lang.String, byte[])"> 1633<!-- --> 1634</a> 1635<ul class="blockList"> 1636<li class="blockList"> 1637<h4>put</h4> 1638<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> put(<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, 1639 byte[] v)</pre> 1640<div class="block">Method for setting value of a field to specified binary value</div> 1641<dl><dt><span class="strong">Returns:</span></dt><dd>This node (to allow chaining)</dd></dl> 1642</li> 1643</ul> 1644<a name="equals(java.lang.Object)"> 1645<!-- --> 1646</a> 1647<ul class="blockList"> 1648<li class="blockList"> 1649<h4>equals</h4> 1650<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> 1651<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> 1652<div class="block">Equality for node objects is defined as full (deep) value 1653 equality. This means that it is possible to compare complete 1654 JSON trees for equality by comparing equality of root nodes. 1655<p> 1656 Note: marked as abstract to ensure all implementation 1657 classes define it properly and not rely on definition 1658 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> 1659<dl> 1660<dt><strong>Specified by:</strong></dt> 1661<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> 1662</dl> 1663</li> 1664</ul> 1665<a name="_childrenEqual(com.fasterxml.jackson.databind.node.ObjectNode)"> 1666<!-- --> 1667</a> 1668<ul class="blockList"> 1669<li class="blockList"> 1670<h4>_childrenEqual</h4> 1671<pre>protected boolean _childrenEqual(<a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> other)</pre> 1672<dl><dt><span class="strong">Since:</span></dt> 1673 <dd>2.3</dd></dl> 1674</li> 1675</ul> 1676<a name="hashCode()"> 1677<!-- --> 1678</a> 1679<ul class="blockList"> 1680<li class="blockList"> 1681<h4>hashCode</h4> 1682<pre>public int hashCode()</pre> 1683<dl> 1684<dt><strong>Specified by:</strong></dt> 1685<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> 1686</dl> 1687</li> 1688</ul> 1689<a name="toString()"> 1690<!-- --> 1691</a> 1692<ul class="blockList"> 1693<li class="blockList"> 1694<h4>toString</h4> 1695<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> 1696<div class="block"><strong>Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString()">JsonNode</a></code></strong></div> 1697<div class="block">Method that will produce developer-readable representation of the 1698 node; which may <b>or may not</b> be as valid JSON. 1699 If you want valid JSON output (or output formatted using one of 1700 other Jackson supported data formats) make sure to use 1701 <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 1702 instance, for example: 1703<pre> 1704 String json = objectMapper.writeValueAsString(rootNode); 1705</pre> 1706<p> 1707 Note: method defined as abstract to ensure all implementation 1708 classes explicitly implement method, instead of relying 1709 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> 1710<dl> 1711<dt><strong>Specified by:</strong></dt> 1712<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> 1713</dl> 1714</li> 1715</ul> 1716<a name="_put(java.lang.String, com.fasterxml.jackson.databind.JsonNode)"> 1717<!-- --> 1718</a> 1719<ul class="blockListLast"> 1720<li class="blockList"> 1721<h4>_put</h4> 1722<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/node/ObjectNode.html" title="class in com.fasterxml.jackson.databind.node">ObjectNode</a> _put(<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, 1723 <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> value)</pre> 1724</li> 1725</ul> 1726</li> 1727</ul> 1728</li> 1729</ul> 1730</div> 1731</div> 1732<!-- ========= END OF CLASS DATA ========= --> 1733<!-- ======= START OF BOTTOM NAVBAR ====== --> 1734<div class="bottomNav"><a name="navbar_bottom"> 1735<!-- --> 1736</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 1737<!-- --> 1738</a> 1739<ul class="navList" title="Navigation"> 1740<li><a href="../../../../../overview-summary.html">Overview</a></li> 1741<li><a href="package-summary.html">Package</a></li> 1742<li class="navBarCell1Rev">Class</li> 1743<li><a href="class-use/ObjectNode.html">Use</a></li> 1744<li><a href="package-tree.html">Tree</a></li> 1745<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 1746<li><a href="../../../../../index-all.html">Index</a></li> 1747<li><a href="../../../../../help-doc.html">Help</a></li> 1748</ul> 1749</div> 1750<div class="subNav"> 1751<ul class="navList"> 1752<li><a href="../../../../../com/fasterxml/jackson/databind/node/NumericNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Prev Class</span></a></li> 1753<li><a href="../../../../../com/fasterxml/jackson/databind/node/POJONode.html" title="class in com.fasterxml.jackson.databind.node"><span class="strong">Next Class</span></a></li> 1754</ul> 1755<ul class="navList"> 1756<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/ObjectNode.html" target="_top">Frames</a></li> 1757<li><a href="ObjectNode.html" target="_top">No Frames</a></li> 1758</ul> 1759<ul class="navList" id="allclasses_navbar_bottom"> 1760<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 1761</ul> 1762<div> 1763<script type="text/javascript"><!-- 1764 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 1765 if(window==top) { 1766 allClassesLink.style.display = "block"; 1767 } 1768 else { 1769 allClassesLink.style.display = "none"; 1770 } 1771 //--> 1772</script> 1773</div> 1774<div> 1775<ul class="subNavList"> 1776<li>Summary: </li> 1777<li>Nested | </li> 1778<li><a href="#field_summary">Field</a> | </li> 1779<li><a href="#constructor_summary">Constr</a> | </li> 1780<li><a href="#method_summary">Method</a></li> 1781</ul> 1782<ul class="subNavList"> 1783<li>Detail: </li> 1784<li><a href="#field_detail">Field</a> | </li> 1785<li><a href="#constructor_detail">Constr</a> | </li> 1786<li><a href="#method_detail">Method</a></li> 1787</ul> 1788</div> 1789<a name="skip-navbar_bottom"> 1790<!-- --> 1791</a></div> 1792<!-- ======== END OF BOTTOM NAVBAR ======= --> 1793<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 1794</body> 1795</html> 1796