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