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