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