• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 (1.8.0_162) on Tue Jan 23 20:22:12 PST 2018 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>JsonNode (jackson-databind 2.9.0 API)</title>
8<meta name="date" content="2018-01-23">
9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
10<script type="text/javascript" src="../../../../script.js"></script>
11</head>
12<body>
13<script type="text/javascript"><!--
14    try {
15        if (location.href.indexOf('is-external=true') == -1) {
16            parent.document.title="JsonNode (jackson-databind 2.9.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":6,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":6,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":6,"i20":10,"i21":10,"i22":10,"i23":6,"i24":10,"i25":10,"i26":6,"i27":10,"i28":6,"i29":6,"i30":6,"i31":10,"i32":6,"i33":10,"i34":6,"i35":10,"i36":6,"i37":10,"i38":6,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":6,"i68":6,"i69":10,"i70":10,"i71":10,"i72":6,"i73":10,"i74":10};
23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]};
24var altColor = "altColor";
25var rowColor = "rowColor";
26var tableTab = "tableTab";
27var activeTableTab = "activeTableTab";
28</script>
29<noscript>
30<div>JavaScript is disabled on your browser.</div>
31</noscript>
32<!-- ========= START OF TOP NAVBAR ======= -->
33<div class="topNav"><a name="navbar.top">
34<!--   -->
35</a>
36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37<a name="navbar.top.firstrow">
38<!--   -->
39</a>
40<ul class="navList" title="Navigation">
41<li><a href="../../../../overview-summary.html">Overview</a></li>
42<li><a href="package-summary.html">Package</a></li>
43<li class="navBarCell1Rev">Class</li>
44<li><a href="class-use/JsonNode.html">Use</a></li>
45<li><a href="package-tree.html">Tree</a></li>
46<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
47<li><a href="../../../../index-all.html">Index</a></li>
48<li><a href="../../../../help-doc.html">Help</a></li>
49</ul>
50</div>
51<div class="subNav">
52<ul class="navList">
53<li><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../index.html?com/fasterxml/jackson/databind/JsonNode.html" target="_top">Frames</a></li>
58<li><a href="JsonNode.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62</ul>
63<div>
64<script type="text/javascript"><!--
65  allClassesLink = document.getElementById("allclasses_navbar_top");
66  if(window==top) {
67    allClassesLink.style.display = "block";
68  }
69  else {
70    allClassesLink.style.display = "none";
71  }
72  //-->
73</script>
74</div>
75<div>
76<ul class="subNavList">
77<li>Summary:&nbsp;</li>
78<li>Nested&nbsp;|&nbsp;</li>
79<li>Field&nbsp;|&nbsp;</li>
80<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li>Field&nbsp;|&nbsp;</li>
86<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
87<li><a href="#method.detail">Method</a></li>
88</ul>
89</div>
90<a name="skip.navbar.top">
91<!--   -->
92</a></div>
93<!-- ========= END OF TOP NAVBAR ========= -->
94<!-- ======== START OF CLASS DATA ======== -->
95<div class="header">
96<div class="subTitle">com.fasterxml.jackson.databind</div>
97<h2 title="Class JsonNode" class="title">Class JsonNode</h2>
98</div>
99<div class="contentContainer">
100<ul class="inheritance">
101<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
102<li>
103<ul class="inheritance">
104<li><a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonSerializable.Base</a></li>
105<li>
106<ul class="inheritance">
107<li>com.fasterxml.jackson.databind.JsonNode</li>
108</ul>
109</li>
110</ul>
111</li>
112</ul>
113<div class="description">
114<ul class="blockList">
115<li class="blockList">
116<dl>
117<dt>All Implemented Interfaces:</dt>
118<dd><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a>, <a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</dd>
119</dl>
120<dl>
121<dt>Direct Known Subclasses:</dt>
122<dd><a href="../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></dd>
123</dl>
124<hr>
125<br>
126<pre>public abstract class <span class="typeNameLabel">JsonNode</span>
127extends <a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a>
128implements <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/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/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</pre>
129<div class="block">Base class for all JSON nodes, which form the basis of JSON
130 Tree Model that Jackson implements.
131 One way to think of these nodes is to consider them
132 similar to DOM nodes in XML DOM trees.
133<p>
134 As a general design rule, most accessors ("getters") are included
135 in this base class, to allow for traversing structure without
136 type casts. Most mutators, however, need to be accessed through
137 specific sub-classes (such as <code>ObjectNode</code>
138 and <code>ArrayNode</code>).
139 This seems sensible because proper type
140 information is generally available when building or modifying
141 trees, but less often when reading a tree (newly built from
142 parsed JSON content).
143<p>
144 Actual concrete sub-classes can be found from package
145 <a href="../../../../com/fasterxml/jackson/databind/node/package-summary.html"><code>com.fasterxml.jackson.databind.node</code></a>.
146<p>
147 Note that it is possible to "read" from nodes, using
148 method <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#traverse-com.fasterxml.jackson.core.ObjectCodec-" title="class or interface in com.fasterxml.jackson.core"><code>TreeNode.traverse(ObjectCodec)</code></a>, which will result in
149 a <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> being constructed. This can be used for (relatively)
150 efficient conversations between different representations; and it is what
151 core databind uses for methods like <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html#treeToValue-com.fasterxml.jackson.core.TreeNode-java.lang.Class-"><code>ObjectMapper.treeToValue(TreeNode, Class)</code></a>
152 and <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html#treeAsTokens-com.fasterxml.jackson.core.TreeNode-"><code>ObjectMapper.treeAsTokens(TreeNode)</code></a></div>
153</li>
154</ul>
155</div>
156<div class="summary">
157<ul class="blockList">
158<li class="blockList">
159<!-- ======== NESTED CLASS SUMMARY ======== -->
160<ul class="blockList">
161<li class="blockList"><a name="nested.class.summary">
162<!--   -->
163</a>
164<h3>Nested Class Summary</h3>
165<ul class="blockList">
166<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable">
167<!--   -->
168</a>
169<h3>Nested classes/interfaces inherited from interface&nbsp;com.fasterxml.jackson.databind.<a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></h3>
170<code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></code></li>
171</ul>
172</li>
173</ul>
174<!-- ======== CONSTRUCTOR SUMMARY ======== -->
175<ul class="blockList">
176<li class="blockList"><a name="constructor.summary">
177<!--   -->
178</a>
179<h3>Constructor Summary</h3>
180<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
181<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
182<tr>
183<th class="colFirst" scope="col">Modifier</th>
184<th class="colLast" scope="col">Constructor and Description</th>
185</tr>
186<tr class="altColor">
187<td class="colFirst"><code>protected </code></td>
188<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#JsonNode--">JsonNode</a></span>()</code>&nbsp;</td>
189</tr>
190</table>
191</li>
192</ul>
193<!-- ========== METHOD SUMMARY =========== -->
194<ul class="blockList">
195<li class="blockList"><a name="method.summary">
196<!--   -->
197</a>
198<h3>Method Summary</h3>
199<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
200<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
201<tr>
202<th class="colFirst" scope="col">Modifier and Type</th>
203<th class="colLast" scope="col">Method and Description</th>
204</tr>
205<tr id="i0" class="altColor">
206<td class="colFirst"><code>protected abstract <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
207<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#Z:Z_at-com.fasterxml.jackson.core.JsonPointer-">_at</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonPointer.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonPointer</a>&nbsp;ptr)</code>&nbsp;</td>
208</tr>
209<tr id="i1" class="rowColor">
210<td class="colFirst"><code>boolean</code></td>
211<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean--">asBoolean</a></span>()</code>
212<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.</div>
213</td>
214</tr>
215<tr id="i2" class="altColor">
216<td class="colFirst"><code>boolean</code></td>
217<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean-boolean-">asBoolean</a></span>(boolean&nbsp;defaultValue)</code>
218<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.</div>
219</td>
220</tr>
221<tr id="i3" class="rowColor">
222<td class="colFirst"><code>double</code></td>
223<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble--">asDouble</a></span>()</code>
224<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.</div>
225</td>
226</tr>
227<tr id="i4" class="altColor">
228<td class="colFirst"><code>double</code></td>
229<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble-double-">asDouble</a></span>(double&nbsp;defaultValue)</code>
230<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.</div>
231</td>
232</tr>
233<tr id="i5" class="rowColor">
234<td class="colFirst"><code>int</code></td>
235<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt--">asInt</a></span>()</code>
236<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.</div>
237</td>
238</tr>
239<tr id="i6" class="altColor">
240<td class="colFirst"><code>int</code></td>
241<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt-int-">asInt</a></span>(int&nbsp;defaultValue)</code>
242<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.</div>
243</td>
244</tr>
245<tr id="i7" class="rowColor">
246<td class="colFirst"><code>long</code></td>
247<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong--">asLong</a></span>()</code>
248<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.</div>
249</td>
250</tr>
251<tr id="i8" class="altColor">
252<td class="colFirst"><code>long</code></td>
253<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong-long-">asLong</a></span>(long&nbsp;defaultValue)</code>
254<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.</div>
255</td>
256</tr>
257<tr id="i9" class="rowColor">
258<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
259<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--">asText</a></span>()</code>
260<div class="block">Method that will return a valid String representation of
261 the container value, if the node is a value node
262 (method <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--"><code>isValueNode()</code></a> returns true),
263 otherwise empty String.</div>
264</td>
265</tr>
266<tr id="i10" class="altColor">
267<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
268<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asText-java.lang.String-">asText</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultValue)</code>
269<div class="block">Method similar to <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--"><code>asText()</code></a>, except that it will return
270 <code>defaultValue</code> in cases where null value would be returned;
271 either for missing nodes (trying to access missing property, or element
272 at invalid item for array) or explicit nulls.</div>
273</td>
274</tr>
275<tr id="i11" class="rowColor">
276<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
277<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#at-com.fasterxml.jackson.core.JsonPointer-">at</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonPointer.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonPointer</a>&nbsp;ptr)</code>
278<div class="block">Method for locating node specified by given JSON pointer instances.</div>
279</td>
280</tr>
281<tr id="i12" class="altColor">
282<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
283<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#at-java.lang.String-">at</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;jsonPtrExpr)</code>
284<div class="block">Convenience method that is functionally equivalent to:</div>
285</td>
286</tr>
287<tr id="i13" class="rowColor">
288<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a></code></td>
289<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#bigIntegerValue--">bigIntegerValue</a></span>()</code>
290<div class="block">Returns integer value for this node (as <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>), <b>if and only if</b>
291 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true).</div>
292</td>
293</tr>
294<tr id="i14" class="altColor">
295<td class="colFirst"><code>byte[]</code></td>
296<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#binaryValue--">binaryValue</a></span>()</code>
297<div class="block">Method to use for accessing binary content of binary nodes (nodes
298 for which <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary--"><code>isBinary()</code></a> returns true); or for Text Nodes
299 (ones for which <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue--"><code>textValue()</code></a> returns non-null value),
300 to read decoded base64 data.</div>
301</td>
302</tr>
303<tr id="i15" class="rowColor">
304<td class="colFirst"><code>boolean</code></td>
305<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#booleanValue--">booleanValue</a></span>()</code>
306<div class="block">Method to use for accessing JSON boolean values (value
307 literals 'true' and 'false').</div>
308</td>
309</tr>
310<tr id="i16" class="altColor">
311<td class="colFirst"><code>boolean</code></td>
312<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt--">canConvertToInt</a></span>()</code>
313<div class="block">Method that can be used to check whether this node is a numeric
314 node (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> would return true) AND its value fits
315 within Java's 32-bit signed integer type, <code>int</code>.</div>
316</td>
317</tr>
318<tr id="i17" class="rowColor">
319<td class="colFirst"><code>boolean</code></td>
320<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong--">canConvertToLong</a></span>()</code>
321<div class="block">Method that can be used to check whether this node is a numeric
322 node (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> would return true) AND its value fits
323 within Java's 64-bit signed integer type, <code>long</code>.</div>
324</td>
325</tr>
326<tr id="i18" class="altColor">
327<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a></code></td>
328<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#decimalValue--">decimalValue</a></span>()</code>
329<div class="block">Returns floating point value for this node (as <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>), <b>if and only if</b>
330 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true).</div>
331</td>
332</tr>
333<tr id="i19" class="rowColor">
334<td class="colFirst"><code>abstract &lt;T extends <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;<br>T</code></td>
335<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#deepCopy--">deepCopy</a></span>()</code>
336<div class="block">Method that can be called to get a node that is guaranteed
337 not to allow changing of this node through mutators on
338 this node or any of its children.</div>
339</td>
340</tr>
341<tr id="i20" class="altColor">
342<td class="colFirst"><code>double</code></td>
343<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue--">doubleValue</a></span>()</code>
344<div class="block">Returns 64-bit floating point (double) value for this node, <b>if and only if</b>
345 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true).</div>
346</td>
347</tr>
348<tr id="i21" class="rowColor">
349<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</code></td>
350<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#elements--">elements</a></span>()</code>
351<div class="block">Method for accessing all value nodes of this Node, iff
352 this node is a JSON Array or Object node.</div>
353</td>
354</tr>
355<tr id="i22" class="altColor">
356<td class="colFirst"><code>boolean</code></td>
357<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#equals-java.util.Comparator-com.fasterxml.jackson.databind.JsonNode-">equals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;comparator,
358      <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;other)</code>
359<div class="block">Entry method for invoking customizable comparison, using passed-in
360 <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util"><code>Comparator</code></a> object.</div>
361</td>
362</tr>
363<tr id="i23" class="rowColor">
364<td class="colFirst"><code>abstract boolean</code></td>
365<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#equals-java.lang.Object-">equals</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>
366<div class="block">Equality for node objects is defined as full (deep) value
367 equality.</div>
368</td>
369</tr>
370<tr id="i24" class="altColor">
371<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
372<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#fieldNames--">fieldNames</a></span>()</code>&nbsp;</td>
373</tr>
374<tr id="i25" class="rowColor">
375<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&gt;</code></td>
376<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#fields--">fields</a></span>()</code>&nbsp;</td>
377</tr>
378<tr id="i26" class="altColor">
379<td class="colFirst"><code>abstract <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
380<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#findParent-java.lang.String-">findParent</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
381<div class="block">Method for finding a JSON Object that contains specified field,
382 within this node or its descendants.</div>
383</td>
384</tr>
385<tr id="i27" class="rowColor">
386<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</code></td>
387<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents-java.lang.String-">findParents</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
388<div class="block">Method for finding a JSON Object that contains specified field,
389 within this node or its descendants.</div>
390</td>
391</tr>
392<tr id="i28" class="altColor">
393<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</code></td>
394<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents-java.lang.String-java.util.List-">findParents</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
395           <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;foundSoFar)</code>&nbsp;</td>
396</tr>
397<tr id="i29" class="rowColor">
398<td class="colFirst"><code>abstract <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
399<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#findPath-java.lang.String-">findPath</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
400<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
401 "missing node" instead of null if no field is found.</div>
402</td>
403</tr>
404<tr id="i30" class="altColor">
405<td class="colFirst"><code>abstract <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
406<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue-java.lang.String-">findValue</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
407<div class="block">Method for finding a JSON Object field with specified name in this
408 node or its child nodes, and returning value it has.</div>
409</td>
410</tr>
411<tr id="i31" class="rowColor">
412<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</code></td>
413<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues-java.lang.String-">findValues</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
414<div class="block">Method for finding JSON Object fields with specified name, and returning
415 found ones as a List.</div>
416</td>
417</tr>
418<tr id="i32" class="altColor">
419<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</code></td>
420<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues-java.lang.String-java.util.List-">findValues</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
421          <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;foundSoFar)</code>&nbsp;</td>
422</tr>
423<tr id="i33" class="rowColor">
424<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
425<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText-java.lang.String-">findValuesAsText</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
426<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
427 values into Strings, calling <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--"><code>asText()</code></a>.</div>
428</td>
429</tr>
430<tr id="i34" class="altColor">
431<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;</code></td>
432<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText-java.lang.String-java.util.List-">findValuesAsText</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
433                <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;foundSoFar)</code>&nbsp;</td>
434</tr>
435<tr id="i35" class="rowColor">
436<td class="colFirst"><code>float</code></td>
437<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#floatValue--">floatValue</a></span>()</code>
438<div class="block">Returns 32-bit floating value for this node, <b>if and only if</b>
439 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true).</div>
440</td>
441</tr>
442<tr id="i36" class="altColor">
443<td class="colFirst"><code>abstract <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
444<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#get-int-">get</a></span>(int&nbsp;index)</code>
445<div class="block">Method for accessing value of the specified element of
446 an array node.</div>
447</td>
448</tr>
449<tr id="i37" class="rowColor">
450<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
451<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#get-java.lang.String-">get</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
452<div class="block">Method for accessing value of the specified field of
453 an object node.</div>
454</td>
455</tr>
456<tr id="i38" class="altColor">
457<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>
458<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType--">getNodeType</a></span>()</code>
459<div class="block">Return the type of this node</div>
460</td>
461</tr>
462<tr id="i39" class="rowColor">
463<td class="colFirst"><code>boolean</code></td>
464<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#has-int-">has</a></span>(int&nbsp;index)</code>
465<div class="block">Method that allows checking whether this node is JSON Array node
466 and contains a value for specified index
467 If this is the case
468 (including case of specified indexing having null as value), returns true;
469 otherwise returns false.</div>
470</td>
471</tr>
472<tr id="i40" class="altColor">
473<td class="colFirst"><code>boolean</code></td>
474<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#has-java.lang.String-">has</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
475<div class="block">Method that allows checking whether this node is JSON Object node
476 and contains value for specified property.</div>
477</td>
478</tr>
479<tr id="i41" class="rowColor">
480<td class="colFirst"><code>boolean</code></td>
481<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull-int-">hasNonNull</a></span>(int&nbsp;index)</code>
482<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
483 return <code>false</code> for explicitly added nulls.</div>
484</td>
485</tr>
486<tr id="i42" class="altColor">
487<td class="colFirst"><code>boolean</code></td>
488<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull-java.lang.String-">hasNonNull</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
489<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
490 return <code>false</code> for explicitly added nulls.</div>
491</td>
492</tr>
493<tr id="i43" class="rowColor">
494<td class="colFirst"><code>int</code></td>
495<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue--">intValue</a></span>()</code>
496<div class="block">Returns integer value for this node, <b>if and only if</b>
497 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true).</div>
498</td>
499</tr>
500<tr id="i44" class="altColor">
501<td class="colFirst"><code>boolean</code></td>
502<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isArray--">isArray</a></span>()</code>&nbsp;</td>
503</tr>
504<tr id="i45" class="rowColor">
505<td class="colFirst"><code>boolean</code></td>
506<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigDecimal--">isBigDecimal</a></span>()</code>&nbsp;</td>
507</tr>
508<tr id="i46" class="altColor">
509<td class="colFirst"><code>boolean</code></td>
510<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigInteger--">isBigInteger</a></span>()</code>&nbsp;</td>
511</tr>
512<tr id="i47" class="rowColor">
513<td class="colFirst"><code>boolean</code></td>
514<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary--">isBinary</a></span>()</code>
515<div class="block">Method that can be used to check if this node represents
516 binary data (Base64 encoded).</div>
517</td>
518</tr>
519<tr id="i48" class="altColor">
520<td class="colFirst"><code>boolean</code></td>
521<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isBoolean--">isBoolean</a></span>()</code>
522<div class="block">Method that can be used to check if this node was created from
523 JSON boolean value (literals "true" and "false").</div>
524</td>
525</tr>
526<tr id="i49" class="rowColor">
527<td class="colFirst"><code>boolean</code></td>
528<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode--">isContainerNode</a></span>()</code>&nbsp;</td>
529</tr>
530<tr id="i50" class="altColor">
531<td class="colFirst"><code>boolean</code></td>
532<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isDouble--">isDouble</a></span>()</code>&nbsp;</td>
533</tr>
534<tr id="i51" class="rowColor">
535<td class="colFirst"><code>boolean</code></td>
536<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloat--">isFloat</a></span>()</code>&nbsp;</td>
537</tr>
538<tr id="i52" class="altColor">
539<td class="colFirst"><code>boolean</code></td>
540<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloatingPointNumber--">isFloatingPointNumber</a></span>()</code>&nbsp;</td>
541</tr>
542<tr id="i53" class="rowColor">
543<td class="colFirst"><code>boolean</code></td>
544<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt--">isInt</a></span>()</code>
545<div class="block">Method that can be used to check whether contained value
546 is a number represented as Java <code>int</code>.</div>
547</td>
548</tr>
549<tr id="i54" class="altColor">
550<td class="colFirst"><code>boolean</code></td>
551<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isIntegralNumber--">isIntegralNumber</a></span>()</code>&nbsp;</td>
552</tr>
553<tr id="i55" class="rowColor">
554<td class="colFirst"><code>boolean</code></td>
555<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isLong--">isLong</a></span>()</code>
556<div class="block">Method that can be used to check whether contained value
557 is a number represented as Java <code>long</code>.</div>
558</td>
559</tr>
560<tr id="i56" class="altColor">
561<td class="colFirst"><code>boolean</code></td>
562<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--">isMissingNode</a></span>()</code>&nbsp;</td>
563</tr>
564<tr id="i57" class="rowColor">
565<td class="colFirst"><code>boolean</code></td>
566<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNull--">isNull</a></span>()</code>
567<div class="block">Method that can be used to check if this node was created from
568 JSON literal null value.</div>
569</td>
570</tr>
571<tr id="i58" class="altColor">
572<td class="colFirst"><code>boolean</code></td>
573<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--">isNumber</a></span>()</code>&nbsp;</td>
574</tr>
575<tr id="i59" class="rowColor">
576<td class="colFirst"><code>boolean</code></td>
577<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isObject--">isObject</a></span>()</code>&nbsp;</td>
578</tr>
579<tr id="i60" class="altColor">
580<td class="colFirst"><code>boolean</code></td>
581<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isPojo--">isPojo</a></span>()</code>
582<div class="block">Method that can be used to check if the node is a wrapper
583 for a POJO ("Plain Old Java Object" aka "bean".</div>
584</td>
585</tr>
586<tr id="i61" class="rowColor">
587<td class="colFirst"><code>boolean</code></td>
588<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isShort--">isShort</a></span>()</code>
589<div class="block">Method that can be used to check whether contained value
590 is a number represented as Java <code>short</code>.</div>
591</td>
592</tr>
593<tr id="i62" class="altColor">
594<td class="colFirst"><code>boolean</code></td>
595<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual--">isTextual</a></span>()</code>
596<div class="block">Method that checks whether this node represents basic JSON String
597 value.</div>
598</td>
599</tr>
600<tr id="i63" class="rowColor">
601<td class="colFirst"><code>boolean</code></td>
602<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--">isValueNode</a></span>()</code>&nbsp;</td>
603</tr>
604<tr id="i64" class="altColor">
605<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</code></td>
606<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#iterator--">iterator</a></span>()</code>
607<div class="block">Same as calling <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#elements--"><code>elements()</code></a>; implemented so that
608 convenience "for-each" loop can be used for looping over elements
609 of JSON Array constructs.</div>
610</td>
611</tr>
612<tr id="i65" class="rowColor">
613<td class="colFirst"><code>long</code></td>
614<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue--">longValue</a></span>()</code>
615<div class="block">Returns 64-bit long value for this node, <b>if and only if</b>
616 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true).</div>
617</td>
618</tr>
619<tr id="i66" class="altColor">
620<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a></code></td>
621<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue--">numberValue</a></span>()</code>
622<div class="block">Returns numeric value for this node, <b>if and only if</b>
623 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true); otherwise
624 returns null</div>
625</td>
626</tr>
627<tr id="i67" class="rowColor">
628<td class="colFirst"><code>abstract <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
629<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#path-int-">path</a></span>(int&nbsp;index)</code>
630<div class="block">This method is similar to <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#get-int-"><code>get(int)</code></a>, except
631 that instead of returning null if no such element exists (due
632 to index being out of range, or this node not being an array),
633 a "missing node" (node that returns true for
634 <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>isMissingNode()</code></a>) will be returned.</div>
635</td>
636</tr>
637<tr id="i68" class="altColor">
638<td class="colFirst"><code>abstract <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
639<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#path-java.lang.String-">path</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</code>
640<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
641 that instead of returning null if no such value exists (due
642 to this node not being an object, or object not having value
643 for the specified field),
644 a "missing node" (node that returns true for
645 <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>isMissingNode()</code></a>) will be returned.</div>
646</td>
647</tr>
648<tr id="i69" class="rowColor">
649<td class="colFirst"><code>short</code></td>
650<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#shortValue--">shortValue</a></span>()</code>
651<div class="block">Returns 16-bit short value for this node, <b>if and only if</b>
652 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true).</div>
653</td>
654</tr>
655<tr id="i70" class="altColor">
656<td class="colFirst"><code>int</code></td>
657<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#size--">size</a></span>()</code>&nbsp;</td>
658</tr>
659<tr id="i71" class="rowColor">
660<td class="colFirst"><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
661<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue--">textValue</a></span>()</code>
662<div class="block">Method to use for accessing String values.</div>
663</td>
664</tr>
665<tr id="i72" class="altColor">
666<td class="colFirst"><code>abstract <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
667<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#toString--">toString</a></span>()</code>
668<div class="block">Method that will produce developer-readable representation of the
669 node; which may <b>or may not</b> be as valid JSON.</div>
670</td>
671</tr>
672<tr id="i73" class="rowColor">
673<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
674<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#with-java.lang.String-">with</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;propertyName)</code>
675<div class="block">Method that can be called on Object nodes, to access a property
676 that has Object value; or if no such property exists, to create,
677 add and return such Object node.</div>
678</td>
679</tr>
680<tr id="i74" class="altColor">
681<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td>
682<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray-java.lang.String-">withArray</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;propertyName)</code>
683<div class="block">Method that can be called on Object nodes, to access a property
684 that has <code>Array</code> value; or if no such property exists, to create,
685 add and return such Array node.</div>
686</td>
687</tr>
688</table>
689<ul class="blockList">
690<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable.Base">
691<!--   -->
692</a>
693<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></h3>
694<code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html#isEmpty-com.fasterxml.jackson.databind.SerializerProvider-">isEmpty</a></code></li>
695</ul>
696<ul class="blockList">
697<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
698<!--   -->
699</a>
700<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
701<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
702</ul>
703<ul class="blockList">
704<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.core.TreeNode">
705<!--   -->
706</a>
707<h3>Methods inherited from interface&nbsp;com.fasterxml.jackson.core.<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></h3>
708<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/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.9/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.9/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.9/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>
709</ul>
710<ul class="blockList">
711<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
712<!--   -->
713</a>
714<h3>Methods inherited from interface&nbsp;java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3>
715<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true#spliterator--" title="class or interface in java.lang">spliterator</a></code></li>
716</ul>
717<ul class="blockList">
718<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable">
719<!--   -->
720</a>
721<h3>Methods inherited from interface&nbsp;com.fasterxml.jackson.databind.<a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></h3>
722<code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a>, <a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializeWithType</a></code></li>
723</ul>
724</li>
725</ul>
726</li>
727</ul>
728</div>
729<div class="details">
730<ul class="blockList">
731<li class="blockList">
732<!-- ========= CONSTRUCTOR DETAIL ======== -->
733<ul class="blockList">
734<li class="blockList"><a name="constructor.detail">
735<!--   -->
736</a>
737<h3>Constructor Detail</h3>
738<a name="JsonNode--">
739<!--   -->
740</a>
741<ul class="blockListLast">
742<li class="blockList">
743<h4>JsonNode</h4>
744<pre>protected&nbsp;JsonNode()</pre>
745</li>
746</ul>
747</li>
748</ul>
749<!-- ============ METHOD DETAIL ========== -->
750<ul class="blockList">
751<li class="blockList"><a name="method.detail">
752<!--   -->
753</a>
754<h3>Method Detail</h3>
755<a name="deepCopy--">
756<!--   -->
757</a>
758<ul class="blockList">
759<li class="blockList">
760<h4>deepCopy</h4>
761<pre>public abstract&nbsp;&lt;T extends <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;T&nbsp;deepCopy()</pre>
762<div class="block">Method that can be called to get a node that is guaranteed
763 not to allow changing of this node through mutators on
764 this node or any of its children.
765 This means it can either make a copy of this node (and all
766 mutable children and grand children nodes), or node itself
767 if it is immutable.
768<p>
769 Note: return type is guaranteed to have same type as the
770 node method is called on; which is why method is declared
771 with local generic type.</div>
772<dl>
773<dt><span class="returnLabel">Returns:</span></dt>
774<dd>Node that is either a copy of this node (and all non-leaf
775    children); or, for immutable leaf nodes, node itself.</dd>
776<dt><span class="simpleTagLabel">Since:</span></dt>
777<dd>2.0</dd>
778</dl>
779</li>
780</ul>
781<a name="size--">
782<!--   -->
783</a>
784<ul class="blockList">
785<li class="blockList">
786<h4>size</h4>
787<pre>public&nbsp;int&nbsp;size()</pre>
788<dl>
789<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
790<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#size--" title="class or interface in com.fasterxml.jackson.core">size</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
791</dl>
792</li>
793</ul>
794<a name="isValueNode--">
795<!--   -->
796</a>
797<ul class="blockList">
798<li class="blockList">
799<h4>isValueNode</h4>
800<pre>public final&nbsp;boolean&nbsp;isValueNode()</pre>
801<dl>
802<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
803<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#isValueNode--" title="class or interface in com.fasterxml.jackson.core">isValueNode</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
804</dl>
805</li>
806</ul>
807<a name="isContainerNode--">
808<!--   -->
809</a>
810<ul class="blockList">
811<li class="blockList">
812<h4>isContainerNode</h4>
813<pre>public final&nbsp;boolean&nbsp;isContainerNode()</pre>
814<dl>
815<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
816<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#isContainerNode--" title="class or interface in com.fasterxml.jackson.core">isContainerNode</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
817</dl>
818</li>
819</ul>
820<a name="isMissingNode--">
821<!--   -->
822</a>
823<ul class="blockList">
824<li class="blockList">
825<h4>isMissingNode</h4>
826<pre>public&nbsp;boolean&nbsp;isMissingNode()</pre>
827<dl>
828<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
829<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#isMissingNode--" title="class or interface in com.fasterxml.jackson.core">isMissingNode</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
830</dl>
831</li>
832</ul>
833<a name="isArray--">
834<!--   -->
835</a>
836<ul class="blockList">
837<li class="blockList">
838<h4>isArray</h4>
839<pre>public&nbsp;boolean&nbsp;isArray()</pre>
840<dl>
841<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
842<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#isArray--" title="class or interface in com.fasterxml.jackson.core">isArray</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
843</dl>
844</li>
845</ul>
846<a name="isObject--">
847<!--   -->
848</a>
849<ul class="blockList">
850<li class="blockList">
851<h4>isObject</h4>
852<pre>public&nbsp;boolean&nbsp;isObject()</pre>
853<dl>
854<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
855<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#isObject--" title="class or interface in com.fasterxml.jackson.core">isObject</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
856</dl>
857</li>
858</ul>
859<a name="get-int-">
860<!--   -->
861</a>
862<ul class="blockList">
863<li class="blockList">
864<h4>get</h4>
865<pre>public abstract&nbsp;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;get(int&nbsp;index)</pre>
866<div class="block">Method for accessing value of the specified element of
867 an array node. For other nodes, null is always returned.
868<p>
869 For array nodes, index specifies
870 exact location within array and allows for efficient iteration
871 over child elements (underlying storage is guaranteed to
872 be efficiently indexable, i.e. has random-access to elements).
873 If index is less than 0, or equal-or-greater than
874 <code>node.size()</code>, null is returned; no exception is
875 thrown for any index.
876<p>
877 NOTE: if the element value has been explicitly set as <code>null</code>
878 (which is different from removal!),
879 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,
880 not null.</div>
881<dl>
882<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
883<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#get-int-" title="class or interface in com.fasterxml.jackson.core">get</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
884<dt><span class="returnLabel">Returns:</span></dt>
885<dd>Node that represent value of the specified element,
886   if this node is an array and has specified element.
887   Null otherwise.</dd>
888</dl>
889</li>
890</ul>
891<a name="get-java.lang.String-">
892<!--   -->
893</a>
894<ul class="blockList">
895<li class="blockList">
896<h4>get</h4>
897<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;get(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
898<div class="block">Method for accessing value of the specified field of
899 an object node. If this node is not an object (or it
900 does not have a value for specified field name), or
901 if there is no field with such name, null is returned.
902<p>
903 NOTE: if the property value has been explicitly set as <code>null</code>
904 (which is different from removal!),
905 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,
906 not null.</div>
907<dl>
908<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
909<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/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>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
910<dt><span class="returnLabel">Returns:</span></dt>
911<dd>Node that represent value of the specified field,
912   if this node is an object and has value for the specified
913   field. Null otherwise.</dd>
914</dl>
915</li>
916</ul>
917<a name="path-java.lang.String-">
918<!--   -->
919</a>
920<ul class="blockList">
921<li class="blockList">
922<h4>path</h4>
923<pre>public abstract&nbsp;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;path(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
924<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
925 that instead of returning null if no such value exists (due
926 to this node not being an object, or object not having value
927 for the specified field),
928 a "missing node" (node that returns true for
929 <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>isMissingNode()</code></a>) will be returned. This allows for
930 convenient and safe chained access via path calls.</div>
931<dl>
932<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
933<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/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>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
934</dl>
935</li>
936</ul>
937<a name="path-int-">
938<!--   -->
939</a>
940<ul class="blockList">
941<li class="blockList">
942<h4>path</h4>
943<pre>public abstract&nbsp;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;path(int&nbsp;index)</pre>
944<div class="block">This method is similar to <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#get-int-"><code>get(int)</code></a>, except
945 that instead of returning null if no such element exists (due
946 to index being out of range, or this node not being an array),
947 a "missing node" (node that returns true for
948 <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>isMissingNode()</code></a>) will be returned. This allows for
949 convenient and safe chained access via path calls.</div>
950<dl>
951<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
952<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#path-int-" title="class or interface in com.fasterxml.jackson.core">path</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
953</dl>
954</li>
955</ul>
956<a name="fieldNames--">
957<!--   -->
958</a>
959<ul class="blockList">
960<li class="blockList">
961<h4>fieldNames</h4>
962<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;fieldNames()</pre>
963<dl>
964<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
965<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#fieldNames--" title="class or interface in com.fasterxml.jackson.core">fieldNames</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
966</dl>
967</li>
968</ul>
969<a name="at-com.fasterxml.jackson.core.JsonPointer-">
970<!--   -->
971</a>
972<ul class="blockList">
973<li class="blockList">
974<h4>at</h4>
975<pre>public final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;at(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonPointer.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonPointer</a>&nbsp;ptr)</pre>
976<div class="block">Method for locating node specified by given JSON pointer instances.
977 Method will never return null; if no matching node exists,
978   will return a node for which <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>isMissingNode()</code></a> returns true.</div>
979<dl>
980<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
981<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#at-com.fasterxml.jackson.core.JsonPointer-" title="class or interface in com.fasterxml.jackson.core">at</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
982<dt><span class="returnLabel">Returns:</span></dt>
983<dd>Node that matches given JSON Pointer: if no match exists,
984   will return a node for which <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>isMissingNode()</code></a> returns true.</dd>
985<dt><span class="simpleTagLabel">Since:</span></dt>
986<dd>2.3</dd>
987</dl>
988</li>
989</ul>
990<a name="at-java.lang.String-">
991<!--   -->
992</a>
993<ul class="blockList">
994<li class="blockList">
995<h4>at</h4>
996<pre>public final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;at(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;jsonPtrExpr)</pre>
997<div class="block">Convenience method that is functionally equivalent to:
998<pre>
999   return at(JsonPointer.valueOf(jsonPointerExpression));
1000</pre>
1001<p>
1002 Note that if the same expression is used often, it is preferable to construct
1003 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonPointer.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonPointer</code></a> instance once and reuse it: this method will not perform
1004 any caching of compiled expressions.</div>
1005<dl>
1006<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
1007<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#at-java.lang.String-" title="class or interface in com.fasterxml.jackson.core">at</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
1008<dt><span class="paramLabel">Parameters:</span></dt>
1009<dd><code>jsonPtrExpr</code> - Expression to compile as a <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonPointer.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonPointer</code></a>
1010   instance</dd>
1011<dt><span class="returnLabel">Returns:</span></dt>
1012<dd>Node that matches given JSON Pointer: if no match exists,
1013   will return a node for which <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#isMissingNode--" title="class or interface in com.fasterxml.jackson.core"><code>TreeNode.isMissingNode()</code></a> returns true.</dd>
1014<dt><span class="simpleTagLabel">Since:</span></dt>
1015<dd>2.3</dd>
1016</dl>
1017</li>
1018</ul>
1019<a name="Z:Z_at-com.fasterxml.jackson.core.JsonPointer-">
1020<!--   -->
1021</a>
1022<ul class="blockList">
1023<li class="blockList">
1024<h4>_at</h4>
1025<pre>protected abstract&nbsp;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;_at(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonPointer.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonPointer</a>&nbsp;ptr)</pre>
1026</li>
1027</ul>
1028<a name="getNodeType--">
1029<!--   -->
1030</a>
1031<ul class="blockList">
1032<li class="blockList">
1033<h4>getNodeType</h4>
1034<pre>public abstract&nbsp;<a href="../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a>&nbsp;getNodeType()</pre>
1035<div class="block">Return the type of this node</div>
1036<dl>
1037<dt><span class="returnLabel">Returns:</span></dt>
1038<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>
1039<dt><span class="simpleTagLabel">Since:</span></dt>
1040<dd>2.2</dd>
1041</dl>
1042</li>
1043</ul>
1044<a name="isPojo--">
1045<!--   -->
1046</a>
1047<ul class="blockList">
1048<li class="blockList">
1049<h4>isPojo</h4>
1050<pre>public final&nbsp;boolean&nbsp;isPojo()</pre>
1051<div class="block">Method that can be used to check if the node is a wrapper
1052 for a POJO ("Plain Old Java Object" aka "bean".
1053 Returns true only for
1054 instances of <code>POJONode</code>.</div>
1055<dl>
1056<dt><span class="returnLabel">Returns:</span></dt>
1057<dd>True if this node wraps a POJO</dd>
1058</dl>
1059</li>
1060</ul>
1061<a name="isNumber--">
1062<!--   -->
1063</a>
1064<ul class="blockList">
1065<li class="blockList">
1066<h4>isNumber</h4>
1067<pre>public final&nbsp;boolean&nbsp;isNumber()</pre>
1068<dl>
1069<dt><span class="returnLabel">Returns:</span></dt>
1070<dd>True if this node represents a numeric JSON value</dd>
1071</dl>
1072</li>
1073</ul>
1074<a name="isIntegralNumber--">
1075<!--   -->
1076</a>
1077<ul class="blockList">
1078<li class="blockList">
1079<h4>isIntegralNumber</h4>
1080<pre>public&nbsp;boolean&nbsp;isIntegralNumber()</pre>
1081<dl>
1082<dt><span class="returnLabel">Returns:</span></dt>
1083<dd>True if this node represents an integral (integer)
1084   numeric JSON value</dd>
1085</dl>
1086</li>
1087</ul>
1088<a name="isFloatingPointNumber--">
1089<!--   -->
1090</a>
1091<ul class="blockList">
1092<li class="blockList">
1093<h4>isFloatingPointNumber</h4>
1094<pre>public&nbsp;boolean&nbsp;isFloatingPointNumber()</pre>
1095<dl>
1096<dt><span class="returnLabel">Returns:</span></dt>
1097<dd>True if this node represents a non-integral
1098   numeric JSON value</dd>
1099</dl>
1100</li>
1101</ul>
1102<a name="isShort--">
1103<!--   -->
1104</a>
1105<ul class="blockList">
1106<li class="blockList">
1107<h4>isShort</h4>
1108<pre>public&nbsp;boolean&nbsp;isShort()</pre>
1109<div class="block">Method that can be used to check whether contained value
1110 is a number represented as Java <code>short</code>.
1111 Note, however, that even if this method returns false, it
1112 is possible that conversion would be possible from other numeric
1113 types -- to check if this is possible, use
1114 <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt--"><code>canConvertToInt()</code></a> instead.</div>
1115<dl>
1116<dt><span class="returnLabel">Returns:</span></dt>
1117<dd>True if the value contained by this node is stored as Java short</dd>
1118</dl>
1119</li>
1120</ul>
1121<a name="isInt--">
1122<!--   -->
1123</a>
1124<ul class="blockList">
1125<li class="blockList">
1126<h4>isInt</h4>
1127<pre>public&nbsp;boolean&nbsp;isInt()</pre>
1128<div class="block">Method that can be used to check whether contained value
1129 is a number represented as Java <code>int</code>.
1130 Note, however, that even if this method returns false, it
1131 is possible that conversion would be possible from other numeric
1132 types -- to check if this is possible, use
1133 <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt--"><code>canConvertToInt()</code></a> instead.</div>
1134<dl>
1135<dt><span class="returnLabel">Returns:</span></dt>
1136<dd>True if the value contained by this node is stored as Java int</dd>
1137</dl>
1138</li>
1139</ul>
1140<a name="isLong--">
1141<!--   -->
1142</a>
1143<ul class="blockList">
1144<li class="blockList">
1145<h4>isLong</h4>
1146<pre>public&nbsp;boolean&nbsp;isLong()</pre>
1147<div class="block">Method that can be used to check whether contained value
1148 is a number represented as Java <code>long</code>.
1149 Note, however, that even if this method returns false, it
1150 is possible that conversion would be possible from other numeric
1151 types -- to check if this is possible, use
1152 <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt--"><code>canConvertToInt()</code></a> instead.</div>
1153<dl>
1154<dt><span class="returnLabel">Returns:</span></dt>
1155<dd>True if the value contained by this node is stored as Java <code>long</code></dd>
1156</dl>
1157</li>
1158</ul>
1159<a name="isFloat--">
1160<!--   -->
1161</a>
1162<ul class="blockList">
1163<li class="blockList">
1164<h4>isFloat</h4>
1165<pre>public&nbsp;boolean&nbsp;isFloat()</pre>
1166<dl>
1167<dt><span class="simpleTagLabel">Since:</span></dt>
1168<dd>2.2</dd>
1169</dl>
1170</li>
1171</ul>
1172<a name="isDouble--">
1173<!--   -->
1174</a>
1175<ul class="blockList">
1176<li class="blockList">
1177<h4>isDouble</h4>
1178<pre>public&nbsp;boolean&nbsp;isDouble()</pre>
1179</li>
1180</ul>
1181<a name="isBigDecimal--">
1182<!--   -->
1183</a>
1184<ul class="blockList">
1185<li class="blockList">
1186<h4>isBigDecimal</h4>
1187<pre>public&nbsp;boolean&nbsp;isBigDecimal()</pre>
1188</li>
1189</ul>
1190<a name="isBigInteger--">
1191<!--   -->
1192</a>
1193<ul class="blockList">
1194<li class="blockList">
1195<h4>isBigInteger</h4>
1196<pre>public&nbsp;boolean&nbsp;isBigInteger()</pre>
1197</li>
1198</ul>
1199<a name="isTextual--">
1200<!--   -->
1201</a>
1202<ul class="blockList">
1203<li class="blockList">
1204<h4>isTextual</h4>
1205<pre>public final&nbsp;boolean&nbsp;isTextual()</pre>
1206<div class="block">Method that checks whether this node represents basic JSON String
1207 value.</div>
1208</li>
1209</ul>
1210<a name="isBoolean--">
1211<!--   -->
1212</a>
1213<ul class="blockList">
1214<li class="blockList">
1215<h4>isBoolean</h4>
1216<pre>public final&nbsp;boolean&nbsp;isBoolean()</pre>
1217<div class="block">Method that can be used to check if this node was created from
1218 JSON boolean value (literals "true" and "false").</div>
1219</li>
1220</ul>
1221<a name="isNull--">
1222<!--   -->
1223</a>
1224<ul class="blockList">
1225<li class="blockList">
1226<h4>isNull</h4>
1227<pre>public final&nbsp;boolean&nbsp;isNull()</pre>
1228<div class="block">Method that can be used to check if this node was created from
1229 JSON literal null value.</div>
1230</li>
1231</ul>
1232<a name="isBinary--">
1233<!--   -->
1234</a>
1235<ul class="blockList">
1236<li class="blockList">
1237<h4>isBinary</h4>
1238<pre>public final&nbsp;boolean&nbsp;isBinary()</pre>
1239<div class="block">Method that can be used to check if this node represents
1240 binary data (Base64 encoded). Although this will be externally
1241 written as JSON String value, <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual--"><code>isTextual()</code></a> will
1242 return false if this method returns true.</div>
1243<dl>
1244<dt><span class="returnLabel">Returns:</span></dt>
1245<dd>True if this node represents base64 encoded binary data</dd>
1246</dl>
1247</li>
1248</ul>
1249<a name="canConvertToInt--">
1250<!--   -->
1251</a>
1252<ul class="blockList">
1253<li class="blockList">
1254<h4>canConvertToInt</h4>
1255<pre>public&nbsp;boolean&nbsp;canConvertToInt()</pre>
1256<div class="block">Method that can be used to check whether this node is a numeric
1257 node (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> would return true) AND its value fits
1258 within Java's 32-bit signed integer type, <code>int</code>.
1259 Note that floating-point numbers are convertible if the integral
1260 part fits without overflow (as per standard Java coercion rules)
1261<p>
1262 NOTE: this method does not consider possible value type conversion
1263 from JSON String into Number; so even if this method returns false,
1264 it is possible that <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt--"><code>asInt()</code></a> could still succeed
1265 if node is a JSON String representing integral number, or boolean.</div>
1266<dl>
1267<dt><span class="simpleTagLabel">Since:</span></dt>
1268<dd>2.0</dd>
1269</dl>
1270</li>
1271</ul>
1272<a name="canConvertToLong--">
1273<!--   -->
1274</a>
1275<ul class="blockList">
1276<li class="blockList">
1277<h4>canConvertToLong</h4>
1278<pre>public&nbsp;boolean&nbsp;canConvertToLong()</pre>
1279<div class="block">Method that can be used to check whether this node is a numeric
1280 node (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> would return true) AND its value fits
1281 within Java's 64-bit signed integer type, <code>long</code>.
1282 Note that floating-point numbers are convertible if the integral
1283 part fits without overflow (as per standard Java coercion rules)
1284<p>
1285 NOTE: this method does not consider possible value type conversion
1286 from JSON String into Number; so even if this method returns false,
1287 it is possible that <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong--"><code>asLong()</code></a> could still succeed
1288 if node is a JSON String representing integral number, or boolean.</div>
1289<dl>
1290<dt><span class="simpleTagLabel">Since:</span></dt>
1291<dd>2.0</dd>
1292</dl>
1293</li>
1294</ul>
1295<a name="textValue--">
1296<!--   -->
1297</a>
1298<ul class="blockList">
1299<li class="blockList">
1300<h4>textValue</h4>
1301<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;textValue()</pre>
1302<div class="block">Method to use for accessing String values.
1303 Does <b>NOT</b> do any conversions for non-String value nodes;
1304 for non-String values (ones for which <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual--"><code>isTextual()</code></a> returns
1305 false) null will be returned.
1306 For String values, null is never returned (but empty Strings may be)</div>
1307<dl>
1308<dt><span class="returnLabel">Returns:</span></dt>
1309<dd>Textual value this node contains, iff it is a textual
1310   JSON node (comes from JSON String value entry)</dd>
1311</dl>
1312</li>
1313</ul>
1314<a name="binaryValue--">
1315<!--   -->
1316</a>
1317<ul class="blockList">
1318<li class="blockList">
1319<h4>binaryValue</h4>
1320<pre>public&nbsp;byte[]&nbsp;binaryValue()
1321                   throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
1322<div class="block">Method to use for accessing binary content of binary nodes (nodes
1323 for which <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary--"><code>isBinary()</code></a> returns true); or for Text Nodes
1324 (ones for which <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue--"><code>textValue()</code></a> returns non-null value),
1325 to read decoded base64 data.
1326 For other types of nodes, returns null.</div>
1327<dl>
1328<dt><span class="returnLabel">Returns:</span></dt>
1329<dd>Binary data this node contains, iff it is a binary
1330   node; null otherwise</dd>
1331<dt><span class="throwsLabel">Throws:</span></dt>
1332<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
1333</dl>
1334</li>
1335</ul>
1336<a name="booleanValue--">
1337<!--   -->
1338</a>
1339<ul class="blockList">
1340<li class="blockList">
1341<h4>booleanValue</h4>
1342<pre>public&nbsp;boolean&nbsp;booleanValue()</pre>
1343<div class="block">Method to use for accessing JSON boolean values (value
1344 literals 'true' and 'false').
1345 For other types, always returns false.</div>
1346<dl>
1347<dt><span class="returnLabel">Returns:</span></dt>
1348<dd>Textual value this node contains, iff it is a textual
1349   json node (comes from JSON String value entry)</dd>
1350</dl>
1351</li>
1352</ul>
1353<a name="numberValue--">
1354<!--   -->
1355</a>
1356<ul class="blockList">
1357<li class="blockList">
1358<h4>numberValue</h4>
1359<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</a>&nbsp;numberValue()</pre>
1360<div class="block">Returns numeric value for this node, <b>if and only if</b>
1361 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true); otherwise
1362 returns null</div>
1363<dl>
1364<dt><span class="returnLabel">Returns:</span></dt>
1365<dd>Number value this node contains, if any (null for non-number
1366   nodes).</dd>
1367</dl>
1368</li>
1369</ul>
1370<a name="shortValue--">
1371<!--   -->
1372</a>
1373<ul class="blockList">
1374<li class="blockList">
1375<h4>shortValue</h4>
1376<pre>public&nbsp;short&nbsp;shortValue()</pre>
1377<div class="block">Returns 16-bit short value for this node, <b>if and only if</b>
1378 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true). For other
1379 types returns 0.
1380 For floating-point numbers, value is truncated using default
1381 Java coercion, similar to how cast from double to short operates.</div>
1382<dl>
1383<dt><span class="returnLabel">Returns:</span></dt>
1384<dd>Short value this node contains, if any; 0 for non-number
1385   nodes.</dd>
1386</dl>
1387</li>
1388</ul>
1389<a name="intValue--">
1390<!--   -->
1391</a>
1392<ul class="blockList">
1393<li class="blockList">
1394<h4>intValue</h4>
1395<pre>public&nbsp;int&nbsp;intValue()</pre>
1396<div class="block">Returns integer value for this node, <b>if and only if</b>
1397 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true). For other
1398 types returns 0.
1399 For floating-point numbers, value is truncated using default
1400 Java coercion, similar to how cast from double to int operates.</div>
1401<dl>
1402<dt><span class="returnLabel">Returns:</span></dt>
1403<dd>Integer value this node contains, if any; 0 for non-number
1404   nodes.</dd>
1405</dl>
1406</li>
1407</ul>
1408<a name="longValue--">
1409<!--   -->
1410</a>
1411<ul class="blockList">
1412<li class="blockList">
1413<h4>longValue</h4>
1414<pre>public&nbsp;long&nbsp;longValue()</pre>
1415<div class="block">Returns 64-bit long value for this node, <b>if and only if</b>
1416 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true). For other
1417 types returns 0.
1418 For floating-point numbers, value is truncated using default
1419 Java coercion, similar to how cast from double to long operates.</div>
1420<dl>
1421<dt><span class="returnLabel">Returns:</span></dt>
1422<dd>Long value this node contains, if any; 0 for non-number
1423   nodes.</dd>
1424</dl>
1425</li>
1426</ul>
1427<a name="floatValue--">
1428<!--   -->
1429</a>
1430<ul class="blockList">
1431<li class="blockList">
1432<h4>floatValue</h4>
1433<pre>public&nbsp;float&nbsp;floatValue()</pre>
1434<div class="block">Returns 32-bit floating value for this node, <b>if and only if</b>
1435 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true). For other
1436 types returns 0.0.
1437 For integer values, conversion is done using coercion; this means
1438 that an overflow is possible for `long` values</div>
1439<dl>
1440<dt><span class="returnLabel">Returns:</span></dt>
1441<dd>32-bit float value this node contains, if any; 0.0 for non-number nodes.</dd>
1442<dt><span class="simpleTagLabel">Since:</span></dt>
1443<dd>2.2</dd>
1444</dl>
1445</li>
1446</ul>
1447<a name="doubleValue--">
1448<!--   -->
1449</a>
1450<ul class="blockList">
1451<li class="blockList">
1452<h4>doubleValue</h4>
1453<pre>public&nbsp;double&nbsp;doubleValue()</pre>
1454<div class="block">Returns 64-bit floating point (double) value for this node, <b>if and only if</b>
1455 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true). For other
1456 types returns 0.0.
1457 For integer values, conversion is done using coercion; this may result
1458 in overflows with <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a> values.</div>
1459<dl>
1460<dt><span class="returnLabel">Returns:</span></dt>
1461<dd>64-bit double value this node contains, if any; 0.0 for non-number nodes.</dd>
1462<dt><span class="simpleTagLabel">Since:</span></dt>
1463<dd>2.2</dd>
1464</dl>
1465</li>
1466</ul>
1467<a name="decimalValue--">
1468<!--   -->
1469</a>
1470<ul class="blockList">
1471<li class="blockList">
1472<h4>decimalValue</h4>
1473<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math">BigDecimal</a>&nbsp;decimalValue()</pre>
1474<div class="block">Returns floating point value for this node (as <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>), <b>if and only if</b>
1475 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true). For other
1476 types returns <code>BigDecimal.ZERO</code>.</div>
1477<dl>
1478<dt><span class="returnLabel">Returns:</span></dt>
1479<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a> value this node contains, if numeric node; <code>BigDecimal.ZERO</code> for non-number nodes.</dd>
1480</dl>
1481</li>
1482</ul>
1483<a name="bigIntegerValue--">
1484<!--   -->
1485</a>
1486<ul class="blockList">
1487<li class="blockList">
1488<h4>bigIntegerValue</h4>
1489<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math">BigInteger</a>&nbsp;bigIntegerValue()</pre>
1490<div class="block">Returns integer value for this node (as <a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>), <b>if and only if</b>
1491 this node is numeric (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--"><code>isNumber()</code></a> returns true). For other
1492 types returns <code>BigInteger.ZERO</code>.</div>
1493<dl>
1494<dt><span class="returnLabel">Returns:</span></dt>
1495<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a> value this node contains, if numeric node; <code>BigInteger.ZERO</code> for non-number nodes.</dd>
1496</dl>
1497</li>
1498</ul>
1499<a name="asText--">
1500<!--   -->
1501</a>
1502<ul class="blockList">
1503<li class="blockList">
1504<h4>asText</h4>
1505<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;asText()</pre>
1506<div class="block">Method that will return a valid String representation of
1507 the container value, if the node is a value node
1508 (method <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--"><code>isValueNode()</code></a> returns true),
1509 otherwise empty String.</div>
1510</li>
1511</ul>
1512<a name="asText-java.lang.String-">
1513<!--   -->
1514</a>
1515<ul class="blockList">
1516<li class="blockList">
1517<h4>asText</h4>
1518<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;asText(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;defaultValue)</pre>
1519<div class="block">Method similar to <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--"><code>asText()</code></a>, except that it will return
1520 <code>defaultValue</code> in cases where null value would be returned;
1521 either for missing nodes (trying to access missing property, or element
1522 at invalid item for array) or explicit nulls.</div>
1523<dl>
1524<dt><span class="simpleTagLabel">Since:</span></dt>
1525<dd>2.4</dd>
1526</dl>
1527</li>
1528</ul>
1529<a name="asInt--">
1530<!--   -->
1531</a>
1532<ul class="blockList">
1533<li class="blockList">
1534<h4>asInt</h4>
1535<pre>public&nbsp;int&nbsp;asInt()</pre>
1536<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.
1537 Numbers are coerced using default Java rules; booleans convert to 0 (false)
1538 and 1 (true), and Strings are parsed using default Java language integer
1539 parsing rules.
1540<p>
1541 If representation cannot be converted to an int (including structured types
1542 like Objects and Arrays),
1543 default value of <b>0</b> will be returned; no exceptions are thrown.</div>
1544</li>
1545</ul>
1546<a name="asInt-int-">
1547<!--   -->
1548</a>
1549<ul class="blockList">
1550<li class="blockList">
1551<h4>asInt</h4>
1552<pre>public&nbsp;int&nbsp;asInt(int&nbsp;defaultValue)</pre>
1553<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.
1554 Numbers are coerced using default Java rules; booleans convert to 0 (false)
1555 and 1 (true), and Strings are parsed using default Java language integer
1556 parsing rules.
1557<p>
1558 If representation cannot be converted to an int (including structured types
1559 like Objects and Arrays),
1560 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
1561</li>
1562</ul>
1563<a name="asLong--">
1564<!--   -->
1565</a>
1566<ul class="blockList">
1567<li class="blockList">
1568<h4>asLong</h4>
1569<pre>public&nbsp;long&nbsp;asLong()</pre>
1570<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.
1571 Numbers are coerced using default Java rules; booleans convert to 0 (false)
1572 and 1 (true), and Strings are parsed using default Java language integer
1573 parsing rules.
1574<p>
1575 If representation cannot be converted to an long (including structured types
1576 like Objects and Arrays),
1577 default value of <b>0</b> will be returned; no exceptions are thrown.</div>
1578</li>
1579</ul>
1580<a name="asLong-long-">
1581<!--   -->
1582</a>
1583<ul class="blockList">
1584<li class="blockList">
1585<h4>asLong</h4>
1586<pre>public&nbsp;long&nbsp;asLong(long&nbsp;defaultValue)</pre>
1587<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.
1588 Numbers are coerced using default Java rules; booleans convert to 0 (false)
1589 and 1 (true), and Strings are parsed using default Java language integer
1590 parsing rules.
1591<p>
1592 If representation cannot be converted to an long (including structured types
1593 like Objects and Arrays),
1594 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
1595</li>
1596</ul>
1597<a name="asDouble--">
1598<!--   -->
1599</a>
1600<ul class="blockList">
1601<li class="blockList">
1602<h4>asDouble</h4>
1603<pre>public&nbsp;double&nbsp;asDouble()</pre>
1604<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.
1605 Numbers are coerced using default Java rules; booleans convert to 0.0 (false)
1606 and 1.0 (true), and Strings are parsed using default Java language integer
1607 parsing rules.
1608<p>
1609 If representation cannot be converted to an int (including structured types
1610 like Objects and Arrays),
1611 default value of <b>0.0</b> will be returned; no exceptions are thrown.</div>
1612</li>
1613</ul>
1614<a name="asDouble-double-">
1615<!--   -->
1616</a>
1617<ul class="blockList">
1618<li class="blockList">
1619<h4>asDouble</h4>
1620<pre>public&nbsp;double&nbsp;asDouble(double&nbsp;defaultValue)</pre>
1621<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.
1622 Numbers are coerced using default Java rules; booleans convert to 0.0 (false)
1623 and 1.0 (true), and Strings are parsed using default Java language integer
1624 parsing rules.
1625<p>
1626 If representation cannot be converted to an int (including structured types
1627 like Objects and Arrays),
1628 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
1629</li>
1630</ul>
1631<a name="asBoolean--">
1632<!--   -->
1633</a>
1634<ul class="blockList">
1635<li class="blockList">
1636<h4>asBoolean</h4>
1637<pre>public&nbsp;boolean&nbsp;asBoolean()</pre>
1638<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.
1639 JSON booleans map naturally; integer numbers other than 0 map to true, and
1640 0 maps to false
1641 and Strings 'true' and 'false' map to corresponding values.
1642<p>
1643 If representation cannot be converted to a boolean value (including structured types
1644 like Objects and Arrays),
1645 default value of <b>false</b> will be returned; no exceptions are thrown.</div>
1646</li>
1647</ul>
1648<a name="asBoolean-boolean-">
1649<!--   -->
1650</a>
1651<ul class="blockList">
1652<li class="blockList">
1653<h4>asBoolean</h4>
1654<pre>public&nbsp;boolean&nbsp;asBoolean(boolean&nbsp;defaultValue)</pre>
1655<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.
1656 JSON booleans map naturally; integer numbers other than 0 map to true, and
1657 0 maps to false
1658 and Strings 'true' and 'false' map to corresponding values.
1659<p>
1660 If representation cannot be converted to a boolean value (including structured types
1661 like Objects and Arrays),
1662 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
1663</li>
1664</ul>
1665<a name="has-java.lang.String-">
1666<!--   -->
1667</a>
1668<ul class="blockList">
1669<li class="blockList">
1670<h4>has</h4>
1671<pre>public&nbsp;boolean&nbsp;has(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
1672<div class="block">Method that allows checking whether this node is JSON Object node
1673 and contains value for specified property. If this is the case
1674 (including properties with explicit null values), returns true;
1675 otherwise returns false.
1676<p>
1677 This method is equivalent to:
1678<pre>
1679   node.get(fieldName) != null
1680</pre>
1681 (since return value of get() is node, not value node contains)
1682<p>
1683 NOTE: when explicit <code>null</code> values are added, this
1684 method will return <code>true</code> for such properties.</div>
1685<dl>
1686<dt><span class="paramLabel">Parameters:</span></dt>
1687<dd><code>fieldName</code> - Name of element to check</dd>
1688<dt><span class="returnLabel">Returns:</span></dt>
1689<dd>True if this node is a JSON Object node, and has a property
1690   entry with specified name (with any value, including null value)</dd>
1691</dl>
1692</li>
1693</ul>
1694<a name="has-int-">
1695<!--   -->
1696</a>
1697<ul class="blockList">
1698<li class="blockList">
1699<h4>has</h4>
1700<pre>public&nbsp;boolean&nbsp;has(int&nbsp;index)</pre>
1701<div class="block">Method that allows checking whether this node is JSON Array node
1702 and contains a value for specified index
1703 If this is the case
1704 (including case of specified indexing having null as value), returns true;
1705 otherwise returns false.
1706<p>
1707 Note: array element indexes are 0-based.
1708<p>
1709 This method is equivalent to:
1710<pre>
1711   node.get(index) != null
1712</pre>
1713<p>
1714 NOTE: this method will return <code>true</code> for explicitly added
1715 null values.</div>
1716<dl>
1717<dt><span class="paramLabel">Parameters:</span></dt>
1718<dd><code>index</code> - Index to check</dd>
1719<dt><span class="returnLabel">Returns:</span></dt>
1720<dd>True if this node is a JSON Object node, and has a property
1721   entry with specified name (with any value, including null value)</dd>
1722</dl>
1723</li>
1724</ul>
1725<a name="hasNonNull-java.lang.String-">
1726<!--   -->
1727</a>
1728<ul class="blockList">
1729<li class="blockList">
1730<h4>hasNonNull</h4>
1731<pre>public&nbsp;boolean&nbsp;hasNonNull(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
1732<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
1733 return <code>false</code> for explicitly added nulls.
1734<p>
1735 This method is functionally equivalent to:
1736<pre>
1737   node.get(fieldName) != null &lt;&lt; !node.get(fieldName).isNull()
1738</pre></div>
1739<dl>
1740<dt><span class="simpleTagLabel">Since:</span></dt>
1741<dd>2.1</dd>
1742</dl>
1743</li>
1744</ul>
1745<a name="hasNonNull-int-">
1746<!--   -->
1747</a>
1748<ul class="blockList">
1749<li class="blockList">
1750<h4>hasNonNull</h4>
1751<pre>public&nbsp;boolean&nbsp;hasNonNull(int&nbsp;index)</pre>
1752<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
1753 return <code>false</code> for explicitly added nulls.
1754<p>
1755 This method is equivalent to:
1756<pre>
1757   node.get(index) != null &lt;&lt; !node.get(index).isNull()
1758</pre></div>
1759<dl>
1760<dt><span class="simpleTagLabel">Since:</span></dt>
1761<dd>2.1</dd>
1762</dl>
1763</li>
1764</ul>
1765<a name="iterator--">
1766<!--   -->
1767</a>
1768<ul class="blockList">
1769<li class="blockList">
1770<h4>iterator</h4>
1771<pre>public final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;iterator()</pre>
1772<div class="block">Same as calling <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#elements--"><code>elements()</code></a>; implemented so that
1773 convenience "for-each" loop can be used for looping over elements
1774 of JSON Array constructs.</div>
1775<dl>
1776<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
1777<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true#iterator--" title="class or interface in java.lang">iterator</a></code>&nbsp;in interface&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;</code></dd>
1778</dl>
1779</li>
1780</ul>
1781<a name="elements--">
1782<!--   -->
1783</a>
1784<ul class="blockList">
1785<li class="blockList">
1786<h4>elements</h4>
1787<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;elements()</pre>
1788<div class="block">Method for accessing all value nodes of this Node, iff
1789 this node is a JSON Array or Object node. In case of Object node,
1790 field names (keys) are not included, only values.
1791 For other types of nodes, returns empty iterator.</div>
1792</li>
1793</ul>
1794<a name="fields--">
1795<!--   -->
1796</a>
1797<ul class="blockList">
1798<li class="blockList">
1799<h4>fields</h4>
1800<pre>public&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util">Iterator</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util">Map.Entry</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>,<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&gt;&nbsp;fields()</pre>
1801<dl>
1802<dt><span class="returnLabel">Returns:</span></dt>
1803<dd>Iterator that can be used to traverse all key/value pairs for
1804   object nodes; empty iterator (no contents) for other types</dd>
1805</dl>
1806</li>
1807</ul>
1808<a name="findValue-java.lang.String-">
1809<!--   -->
1810</a>
1811<ul class="blockList">
1812<li class="blockList">
1813<h4>findValue</h4>
1814<pre>public abstract&nbsp;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;findValue(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
1815<div class="block">Method for finding a JSON Object field with specified name in this
1816 node or its child nodes, and returning value it has.
1817 If no matching field is found in this node or its descendants, returns null.</div>
1818<dl>
1819<dt><span class="paramLabel">Parameters:</span></dt>
1820<dd><code>fieldName</code> - Name of field to look for</dd>
1821<dt><span class="returnLabel">Returns:</span></dt>
1822<dd>Value of first matching node found, if any; null if none</dd>
1823</dl>
1824</li>
1825</ul>
1826<a name="findValues-java.lang.String-">
1827<!--   -->
1828</a>
1829<ul class="blockList">
1830<li class="blockList">
1831<h4>findValues</h4>
1832<pre>public final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;findValues(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
1833<div class="block">Method for finding JSON Object fields with specified name, and returning
1834 found ones as a List. Note that sub-tree search ends if a field is found,
1835 so possible children of result nodes are <b>not</b> included.
1836 If no matching fields are found in this node or its descendants, returns
1837 an empty List.</div>
1838<dl>
1839<dt><span class="paramLabel">Parameters:</span></dt>
1840<dd><code>fieldName</code> - Name of field to look for</dd>
1841</dl>
1842</li>
1843</ul>
1844<a name="findValuesAsText-java.lang.String-">
1845<!--   -->
1846</a>
1847<ul class="blockList">
1848<li class="blockList">
1849<h4>findValuesAsText</h4>
1850<pre>public final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;findValuesAsText(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
1851<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
1852 values into Strings, calling <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--"><code>asText()</code></a>.</div>
1853</li>
1854</ul>
1855<a name="findPath-java.lang.String-">
1856<!--   -->
1857</a>
1858<ul class="blockList">
1859<li class="blockList">
1860<h4>findPath</h4>
1861<pre>public abstract&nbsp;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;findPath(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
1862<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
1863 "missing node" instead of null if no field is found. Missing node
1864 is a specific kind of node for which <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>isMissingNode()</code></a>
1865 returns true; and all value access methods return empty or
1866 missing value.</div>
1867<dl>
1868<dt><span class="paramLabel">Parameters:</span></dt>
1869<dd><code>fieldName</code> - Name of field to look for</dd>
1870<dt><span class="returnLabel">Returns:</span></dt>
1871<dd>Value of first matching node found; or if not found, a
1872    "missing node" (non-null instance that has no value)</dd>
1873</dl>
1874</li>
1875</ul>
1876<a name="findParent-java.lang.String-">
1877<!--   -->
1878</a>
1879<ul class="blockList">
1880<li class="blockList">
1881<h4>findParent</h4>
1882<pre>public abstract&nbsp;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;findParent(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
1883<div class="block">Method for finding a JSON Object that contains specified field,
1884 within this node or its descendants.
1885 If no matching field is found in this node or its descendants, returns null.</div>
1886<dl>
1887<dt><span class="paramLabel">Parameters:</span></dt>
1888<dd><code>fieldName</code> - Name of field to look for</dd>
1889<dt><span class="returnLabel">Returns:</span></dt>
1890<dd>Value of first matching node found, if any; null if none</dd>
1891</dl>
1892</li>
1893</ul>
1894<a name="findParents-java.lang.String-">
1895<!--   -->
1896</a>
1897<ul class="blockList">
1898<li class="blockList">
1899<h4>findParents</h4>
1900<pre>public final&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;findParents(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName)</pre>
1901<div class="block">Method for finding a JSON Object that contains specified field,
1902 within this node or its descendants.
1903 If no matching field is found in this node or its descendants, returns null.</div>
1904<dl>
1905<dt><span class="paramLabel">Parameters:</span></dt>
1906<dd><code>fieldName</code> - Name of field to look for</dd>
1907<dt><span class="returnLabel">Returns:</span></dt>
1908<dd>Value of first matching node found, if any; null if none</dd>
1909</dl>
1910</li>
1911</ul>
1912<a name="findValues-java.lang.String-java.util.List-">
1913<!--   -->
1914</a>
1915<ul class="blockList">
1916<li class="blockList">
1917<h4>findValues</h4>
1918<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;findValues(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
1919                                          <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;foundSoFar)</pre>
1920</li>
1921</ul>
1922<a name="findValuesAsText-java.lang.String-java.util.List-">
1923<!--   -->
1924</a>
1925<ul class="blockList">
1926<li class="blockList">
1927<h4>findValuesAsText</h4>
1928<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;findValuesAsText(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
1929                                              <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&gt;&nbsp;foundSoFar)</pre>
1930</li>
1931</ul>
1932<a name="findParents-java.lang.String-java.util.List-">
1933<!--   -->
1934</a>
1935<ul class="blockList">
1936<li class="blockList">
1937<h4>findParents</h4>
1938<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;findParents(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;fieldName,
1939                                           <a href="http://docs.oracle.com/javase/7/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;foundSoFar)</pre>
1940</li>
1941</ul>
1942<a name="with-java.lang.String-">
1943<!--   -->
1944</a>
1945<ul class="blockList">
1946<li class="blockList">
1947<h4>with</h4>
1948<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;with(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;propertyName)</pre>
1949<div class="block">Method that can be called on Object nodes, to access a property
1950 that has Object value; or if no such property exists, to create,
1951 add and return such Object node.
1952 If the node method is called on is not Object node,
1953 or if property exists and has value that is not Object node,
1954 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a> is thrown</div>
1955</li>
1956</ul>
1957<a name="withArray-java.lang.String-">
1958<!--   -->
1959</a>
1960<ul class="blockList">
1961<li class="blockList">
1962<h4>withArray</h4>
1963<pre>public&nbsp;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;withArray(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;propertyName)</pre>
1964<div class="block">Method that can be called on Object nodes, to access a property
1965 that has <code>Array</code> value; or if no such property exists, to create,
1966 add and return such Array node.
1967 If the node method is called on is not Object node,
1968 or if property exists and has value that is not Array node,
1969 <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang"><code>UnsupportedOperationException</code></a> is thrown</div>
1970</li>
1971</ul>
1972<a name="equals-java.util.Comparator-com.fasterxml.jackson.databind.JsonNode-">
1973<!--   -->
1974</a>
1975<ul class="blockList">
1976<li class="blockList">
1977<h4>equals</h4>
1978<pre>public&nbsp;boolean&nbsp;equals(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&gt;&nbsp;comparator,
1979                      <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>&nbsp;other)</pre>
1980<div class="block">Entry method for invoking customizable comparison, using passed-in
1981 <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util"><code>Comparator</code></a> object. Nodes will handle traversal of structured
1982 types (arrays, objects), but defer to comparator for scalar value
1983 comparisons. If a "natural" <a href="http://docs.oracle.com/javase/7/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util"><code>Comparator</code></a> is passed -- one that
1984 simply calls <code>equals()</code> on one of arguments, passing the other
1985 -- implementation is the same as directly calling <code>equals()</code>
1986 on node.
1987<p>
1988 Default implementation simply delegates to passed in <code>comparator</code>,
1989 with <code>this</code> as the first argument, and <code>other</code> as
1990 the second argument.</div>
1991<dl>
1992<dt><span class="paramLabel">Parameters:</span></dt>
1993<dd><code>comparator</code> - Object called to compare two scalar <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a>
1994   instances, and return either 0 (are equals) or non-zero (not equal)</dd>
1995<dt><span class="simpleTagLabel">Since:</span></dt>
1996<dd>2.6</dd>
1997</dl>
1998</li>
1999</ul>
2000<a name="toString--">
2001<!--   -->
2002</a>
2003<ul class="blockList">
2004<li class="blockList">
2005<h4>toString</h4>
2006<pre>public abstract&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString()</pre>
2007<div class="block">Method that will produce developer-readable representation of the
2008 node; which may <b>or may not</b> be as valid JSON.
2009 If you want valid JSON output (or output formatted using one of
2010 other Jackson supported data formats) make sure to use
2011 <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> or <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> to serialize an
2012 instance, for example:
2013<pre>
2014   String json = objectMapper.writeValueAsString(rootNode);
2015</pre>
2016<p>
2017 Note: method defined as abstract to ensure all implementation
2018 classes explicitly implement method, instead of relying
2019 on <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang"><code>Object.toString()</code></a> definition.</div>
2020<dl>
2021<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
2022<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
2023</dl>
2024</li>
2025</ul>
2026<a name="equals-java.lang.Object-">
2027<!--   -->
2028</a>
2029<ul class="blockListLast">
2030<li class="blockList">
2031<h4>equals</h4>
2032<pre>public abstract&nbsp;boolean&nbsp;equals(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
2033<div class="block">Equality for node objects is defined as full (deep) value
2034 equality. This means that it is possible to compare complete
2035 JSON trees for equality by comparing equality of root nodes.
2036<p>
2037 Note: marked as abstract to ensure all implementation
2038 classes define it properly and not rely on definition
2039 from <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div>
2040<dl>
2041<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
2042<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd>
2043</dl>
2044</li>
2045</ul>
2046</li>
2047</ul>
2048</li>
2049</ul>
2050</div>
2051</div>
2052<!-- ========= END OF CLASS DATA ========= -->
2053<!-- ======= START OF BOTTOM NAVBAR ====== -->
2054<div class="bottomNav"><a name="navbar.bottom">
2055<!--   -->
2056</a>
2057<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
2058<a name="navbar.bottom.firstrow">
2059<!--   -->
2060</a>
2061<ul class="navList" title="Navigation">
2062<li><a href="../../../../overview-summary.html">Overview</a></li>
2063<li><a href="package-summary.html">Package</a></li>
2064<li class="navBarCell1Rev">Class</li>
2065<li><a href="class-use/JsonNode.html">Use</a></li>
2066<li><a href="package-tree.html">Tree</a></li>
2067<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
2068<li><a href="../../../../index-all.html">Index</a></li>
2069<li><a href="../../../../help-doc.html">Help</a></li>
2070</ul>
2071</div>
2072<div class="subNav">
2073<ul class="navList">
2074<li><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
2075<li><a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
2076</ul>
2077<ul class="navList">
2078<li><a href="../../../../index.html?com/fasterxml/jackson/databind/JsonNode.html" target="_top">Frames</a></li>
2079<li><a href="JsonNode.html" target="_top">No&nbsp;Frames</a></li>
2080</ul>
2081<ul class="navList" id="allclasses_navbar_bottom">
2082<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
2083</ul>
2084<div>
2085<script type="text/javascript"><!--
2086  allClassesLink = document.getElementById("allclasses_navbar_bottom");
2087  if(window==top) {
2088    allClassesLink.style.display = "block";
2089  }
2090  else {
2091    allClassesLink.style.display = "none";
2092  }
2093  //-->
2094</script>
2095</div>
2096<div>
2097<ul class="subNavList">
2098<li>Summary:&nbsp;</li>
2099<li>Nested&nbsp;|&nbsp;</li>
2100<li>Field&nbsp;|&nbsp;</li>
2101<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
2102<li><a href="#method.summary">Method</a></li>
2103</ul>
2104<ul class="subNavList">
2105<li>Detail:&nbsp;</li>
2106<li>Field&nbsp;|&nbsp;</li>
2107<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
2108<li><a href="#method.detail">Method</a></li>
2109</ul>
2110</div>
2111<a name="skip.navbar.bottom">
2112<!--   -->
2113</a></div>
2114<!-- ======== END OF BOTTOM NAVBAR ======= -->
2115<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
2116</body>
2117</html>
2118