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