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