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