1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (1.8.0_162) on Tue Mar 24 11:44:40 PDT 2020 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>BooleanNode (jackson-databind 2.11.0.rc1 API)</title>
8<meta name="date" content="2020-03-24">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10<script type="text/javascript" src="../../../../../script.js"></script>
11</head>
12<body>
13<script type="text/javascript"><!--
14    try {
15        if (location.href.indexOf('is-external=true') == -1) {
16            parent.document.title="BooleanNode (jackson-databind 2.11.0.rc1 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":9,"i10":10,"i11":9,"i12":10,"i13":10,"i14":10,"i15":9};
23var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
24var altColor = "altColor";
25var rowColor = "rowColor";
26var tableTab = "tableTab";
27var activeTableTab = "activeTableTab";
28</script>
29<noscript>
30<div>JavaScript is disabled on your browser.</div>
31</noscript>
32<!-- ========= START OF TOP NAVBAR ======= -->
33<div class="topNav"><a name="navbar.top">
34<!--   -->
35</a>
36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
37<a name="navbar.top.firstrow">
38<!--   -->
39</a>
40<ul class="navList" title="Navigation">
41<li><a href="../../../../../overview-summary.html">Overview</a></li>
42<li><a href="package-summary.html">Package</a></li>
43<li class="navBarCell1Rev">Class</li>
44<li><a href="class-use/BooleanNode.html">Use</a></li>
45<li><a href="package-tree.html">Tree</a></li>
46<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
47<li><a href="../../../../../index-all.html">Index</a></li>
48<li><a href="../../../../../help-doc.html">Help</a></li>
49</ul>
50</div>
51<div class="subNav">
52<ul class="navList">
53<li><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
54<li><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
55</ul>
56<ul class="navList">
57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/BooleanNode.html" target="_top">Frames</a></li>
58<li><a href="BooleanNode.html" target="_top">No&nbsp;Frames</a></li>
59</ul>
60<ul class="navList" id="allclasses_navbar_top">
61<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
62</ul>
63<div>
64<script type="text/javascript"><!--
65  allClassesLink = document.getElementById("allclasses_navbar_top");
66  if(window==top) {
67    allClassesLink.style.display = "block";
68  }
69  else {
70    allClassesLink.style.display = "none";
71  }
72  //-->
73</script>
74</div>
75<div>
76<ul class="subNavList">
77<li>Summary:&nbsp;</li>
78<li>Nested&nbsp;|&nbsp;</li>
79<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
80<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
81<li><a href="#method.summary">Method</a></li>
82</ul>
83<ul class="subNavList">
84<li>Detail:&nbsp;</li>
85<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
86<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
87<li><a href="#method.detail">Method</a></li>
88</ul>
89</div>
90<a name="skip.navbar.top">
91<!--   -->
92</a></div>
93<!-- ========= END OF TOP NAVBAR ========= -->
94<!-- ======== START OF CLASS DATA ======== -->
95<div class="header">
96<div class="subTitle">com.fasterxml.jackson.databind.node</div>
97<h2 title="Class BooleanNode" class="title">Class BooleanNode</h2>
98</div>
99<div class="contentContainer">
100<ul class="inheritance">
101<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
102<li>
103<ul class="inheritance">
104<li><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonSerializable.Base</a></li>
105<li>
106<ul class="inheritance">
107<li><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonNode</a></li>
108<li>
109<ul class="inheritance">
110<li><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.BaseJsonNode</a></li>
111<li>
112<ul class="inheritance">
113<li><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">com.fasterxml.jackson.databind.node.ValueNode</a></li>
114<li>
115<ul class="inheritance">
116<li>com.fasterxml.jackson.databind.node.BooleanNode</li>
117</ul>
118</li>
119</ul>
120</li>
121</ul>
122</li>
123</ul>
124</li>
125</ul>
126</li>
127</ul>
128<div class="description">
129<ul class="blockList">
130<li class="blockList">
131<dl>
132<dt>All Implemented Interfaces:</dt>
133<dd><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/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="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/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>
134</dl>
135<hr>
136<br>
137<pre>public class <span class="typeNameLabel">BooleanNode</span>
138extends <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></pre>
139<div class="block">This concrete value class is used to contain boolean (true / false)
140 values. Only two instances are ever created, to minimize memory
141 usage.</div>
142<dl>
143<dt><span class="seeLabel">See Also:</span></dt>
144<dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.node.BooleanNode">Serialized Form</a></dd>
145</dl>
146</li>
147</ul>
148</div>
149<div class="summary">
150<ul class="blockList">
151<li class="blockList">
152<!-- ======== NESTED CLASS SUMMARY ======== -->
153<ul class="blockList">
154<li class="blockList"><a name="nested.class.summary">
155<!--   -->
156</a>
157<h3>Nested Class Summary</h3>
158<ul class="blockList">
159<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable">
160<!--   -->
161</a>
162<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>
163<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></code></li>
164</ul>
165</li>
166</ul>
167<!-- =========== FIELD SUMMARY =========== -->
168<ul class="blockList">
169<li class="blockList"><a name="field.summary">
170<!--   -->
171</a>
172<h3>Field Summary</h3>
173<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
174<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
175<tr>
176<th class="colFirst" scope="col">Modifier and Type</th>
177<th class="colLast" scope="col">Field and Description</th>
178</tr>
179<tr class="altColor">
180<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</a></code></td>
181<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#FALSE">FALSE</a></span></code>&nbsp;</td>
182</tr>
183<tr class="rowColor">
184<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</a></code></td>
185<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#TRUE">TRUE</a></span></code>&nbsp;</td>
186</tr>
187</table>
188</li>
189</ul>
190<!-- ======== CONSTRUCTOR SUMMARY ======== -->
191<ul class="blockList">
192<li class="blockList"><a name="constructor.summary">
193<!--   -->
194</a>
195<h3>Constructor Summary</h3>
196<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
197<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
198<tr>
199<th class="colFirst" scope="col">Modifier</th>
200<th class="colLast" scope="col">Constructor and Description</th>
201</tr>
202<tr class="altColor">
203<td class="colFirst"><code>protected </code></td>
204<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#BooleanNode-boolean-">BooleanNode</a></span>(boolean&nbsp;v)</code>
205<div class="block">
206 NOTE: visibility raised to `protected` in 2.9.3 to allow custom subtypes.</div>
207</td>
208</tr>
209</table>
210</li>
211</ul>
212<!-- ========== METHOD SUMMARY =========== -->
213<ul class="blockList">
214<li class="blockList"><a name="method.summary">
215<!--   -->
216</a>
217<h3>Method Summary</h3>
218<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
219<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
220<tr>
221<th class="colFirst" scope="col">Modifier and Type</th>
222<th class="colLast" scope="col">Method and Description</th>
223</tr>
224<tr id="i0" class="altColor">
225<td class="colFirst"><code>boolean</code></td>
226<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#asBoolean--">asBoolean</a></span>()</code>
227<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.</div>
228</td>
229</tr>
230<tr id="i1" class="rowColor">
231<td class="colFirst"><code>boolean</code></td>
232<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#asBoolean-boolean-">asBoolean</a></span>(boolean&nbsp;defaultValue)</code>
233<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.</div>
234</td>
235</tr>
236<tr id="i2" class="altColor">
237<td class="colFirst"><code>double</code></td>
238<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#asDouble-double-">asDouble</a></span>(double&nbsp;defaultValue)</code>
239<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.</div>
240</td>
241</tr>
242<tr id="i3" class="rowColor">
243<td class="colFirst"><code>int</code></td>
244<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#asInt-int-">asInt</a></span>(int&nbsp;defaultValue)</code>
245<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.</div>
246</td>
247</tr>
248<tr id="i4" class="altColor">
249<td class="colFirst"><code>long</code></td>
250<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#asLong-long-">asLong</a></span>(long&nbsp;defaultValue)</code>
251<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.</div>
252</td>
253</tr>
254<tr id="i5" class="rowColor">
255<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
256<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#asText--">asText</a></span>()</code>
257<div class="block">Method that will return a valid String representation of
258 the container value, if the node is a value node
259 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--"><code>JsonNode.isValueNode()</code></a> returns true),
260 otherwise empty String.</div>
261</td>
262</tr>
263<tr id="i6" class="altColor">
264<td class="colFirst"><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td>
265<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#asToken--">asToken</a></span>()</code>
266<div class="block">Method that can be used for efficient type detection
267 when using stream abstraction for traversing nodes.</div>
268</td>
269</tr>
270<tr id="i7" class="rowColor">
271<td class="colFirst"><code>boolean</code></td>
272<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#booleanValue--">booleanValue</a></span>()</code>
273<div class="block">Method to use for accessing JSON boolean values (value
274 literals 'true' and 'false').</div>
275</td>
276</tr>
277<tr id="i8" class="altColor">
278<td class="colFirst"><code>boolean</code></td>
279<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#equals-java.lang.Object-">equals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</code>
280<div class="block">Equality for node objects is defined as full (deep) value
281 equality.</div>
282</td>
283</tr>
284<tr id="i9" class="rowColor">
285<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</a></code></td>
286<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#getFalse--">getFalse</a></span>()</code>&nbsp;</td>
287</tr>
288<tr id="i10" class="altColor">
289<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a></code></td>
290<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#getNodeType--">getNodeType</a></span>()</code>
291<div class="block">Return the type of this node</div>
292</td>
293</tr>
294<tr id="i11" class="rowColor">
295<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</a></code></td>
296<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#getTrue--">getTrue</a></span>()</code>&nbsp;</td>
297</tr>
298<tr id="i12" class="altColor">
299<td class="colFirst"><code>int</code></td>
300<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#hashCode--">hashCode</a></span>()</code>&nbsp;</td>
301</tr>
302<tr id="i13" class="rowColor">
303<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
304<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#readResolve--">readResolve</a></span>()</code>&nbsp;</td>
305</tr>
306<tr id="i14" class="altColor">
307<td class="colFirst"><code>void</code></td>
308<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;g,
309         <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>
310<div class="block">Method called to serialize node instances using given generator.</div>
311</td>
312</tr>
313<tr id="i15" class="rowColor">
314<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</a></code></td>
315<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html#valueOf-boolean-">valueOf</a></span>(boolean&nbsp;b)</code>&nbsp;</td>
316</tr>
317</table>
318<ul class="blockList">
319<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.ValueNode">
320<!--   -->
321</a>
322<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></h3>
323<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#Z:Z_at-com.fasterxml.jackson.core.JsonPointer-">_at</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy--">deepCopy</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findParent-java.lang.String-">findParent</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findParents-java.lang.String-java.util.List-">findParents</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValue-java.lang.String-">findValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValues-java.lang.String-java.util.List-">findValues</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#findValuesAsText-java.lang.String-java.util.List-">findValuesAsText</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#get-int-">get</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#get-java.lang.String-">get</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#has-int-">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#has-java.lang.String-">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#hasNonNull-int-">hasNonNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#hasNonNull-java.lang.String-">hasNonNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#isEmpty--">isEmpty</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path-int-">path</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#path-java.lang.String-">path</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializeWithType</a></code></li>
324</ul>
325<ul class="blockList">
326<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.BaseJsonNode">
327<!--   -->
328</a>
329<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.node.<a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></h3>
330<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findPath-java.lang.String-">findPath</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType--">numberType</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#required-int-">required</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#required-java.lang.String-">required</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#toPrettyString--">toPrettyString</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#toString--">toString</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse--">traverse</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse-com.fasterxml.jackson.core.ObjectCodec-">traverse</a></code></li>
331</ul>
332<ul class="blockList">
333<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonNode">
334<!--   -->
335</a>
336<h3>Methods inherited from class&nbsp;com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></h3>
337<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#Z:Z_reportRequiredViolation-java.lang.String-java.lang.Object...-">_reportRequiredViolation</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#Z:Z_this--">_this</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble--">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt--">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong--">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText-java.lang.String-">asText</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#at-com.fasterxml.jackson.core.JsonPointer-">at</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#at-java.lang.String-">at</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#bigIntegerValue--">bigIntegerValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#binaryValue--">binaryValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToInt--">canConvertToInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#canConvertToLong--">canConvertToLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#decimalValue--">decimalValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#doubleValue--">doubleValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#elements--">elements</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals-java.util.Comparator-com.fasterxml.jackson.databind.JsonNode-">equals</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fieldNames--">fieldNames</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#fields--">fields</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents-java.lang.String-">findParents</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues-java.lang.String-">findValues</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText-java.lang.String-">findValuesAsText</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#floatValue--">floatValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#intValue--">intValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isArray--">isArray</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigDecimal--">isBigDecimal</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBigInteger--">isBigInteger</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBinary--">isBinary</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isBoolean--">isBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isContainerNode--">isContainerNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isDouble--">isDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloat--">isFloat</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isFloatingPointNumber--">isFloatingPointNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isInt--">isInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isIntegralNumber--">isIntegralNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isLong--">isLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--">isMissingNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNull--">isNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNumber--">isNumber</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isObject--">isObject</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isPojo--">isPojo</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isShort--">isShort</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isTextual--">isTextual</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--">isValueNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#iterator--">iterator</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#longValue--">longValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#numberValue--">numberValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#require--">require</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#requiredAt-com.fasterxml.jackson.core.JsonPointer-">requiredAt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#requiredAt-java.lang.String-">requiredAt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#requireNonNull--">requireNonNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#shortValue--">shortValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#size--">size</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#textValue--">textValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#with-java.lang.String-">with</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#withArray-java.lang.String-">withArray</a></code></li>
338</ul>
339<ul class="blockList">
340<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable.Base">
341<!--   -->
342</a>
343<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>
344<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html#isEmpty-com.fasterxml.jackson.databind.SerializerProvider-">isEmpty</a></code></li>
345</ul>
346<ul class="blockList">
347<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
348<!--   -->
349</a>
350<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
351<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
352</ul>
353<ul class="blockList">
354<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable">
355<!--   -->
356</a>
357<h3>Methods inherited from interface&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3>
358<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach-java.util.function.Consumer-" title="class or interface in java.lang">forEach</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#spliterator--" title="class or interface in java.lang">spliterator</a></code></li>
359</ul>
360</li>
361</ul>
362</li>
363</ul>
364</div>
365<div class="details">
366<ul class="blockList">
367<li class="blockList">
368<!-- ============ FIELD DETAIL =========== -->
369<ul class="blockList">
370<li class="blockList"><a name="field.detail">
371<!--   -->
372</a>
373<h3>Field Detail</h3>
374<a name="TRUE">
375<!--   -->
376</a>
377<ul class="blockList">
378<li class="blockList">
379<h4>TRUE</h4>
380<pre>public static final&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</a> TRUE</pre>
381</li>
382</ul>
383<a name="FALSE">
384<!--   -->
385</a>
386<ul class="blockListLast">
387<li class="blockList">
388<h4>FALSE</h4>
389<pre>public static final&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</a> FALSE</pre>
390</li>
391</ul>
392</li>
393</ul>
394<!-- ========= CONSTRUCTOR DETAIL ======== -->
395<ul class="blockList">
396<li class="blockList"><a name="constructor.detail">
397<!--   -->
398</a>
399<h3>Constructor Detail</h3>
400<a name="BooleanNode-boolean-">
401<!--   -->
402</a>
403<ul class="blockListLast">
404<li class="blockList">
405<h4>BooleanNode</h4>
406<pre>protected&nbsp;BooleanNode(boolean&nbsp;v)</pre>
407<div class="block"><p>
408 NOTE: visibility raised to `protected` in 2.9.3 to allow custom subtypes.</div>
409</li>
410</ul>
411</li>
412</ul>
413<!-- ============ METHOD DETAIL ========== -->
414<ul class="blockList">
415<li class="blockList"><a name="method.detail">
416<!--   -->
417</a>
418<h3>Method Detail</h3>
419<a name="readResolve--">
420<!--   -->
421</a>
422<ul class="blockList">
423<li class="blockList">
424<h4>readResolve</h4>
425<pre>protected&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;readResolve()</pre>
426</li>
427</ul>
428<a name="getTrue--">
429<!--   -->
430</a>
431<ul class="blockList">
432<li class="blockList">
433<h4>getTrue</h4>
434<pre>public static&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</a>&nbsp;getTrue()</pre>
435</li>
436</ul>
437<a name="getFalse--">
438<!--   -->
439</a>
440<ul class="blockList">
441<li class="blockList">
442<h4>getFalse</h4>
443<pre>public static&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</a>&nbsp;getFalse()</pre>
444</li>
445</ul>
446<a name="valueOf-boolean-">
447<!--   -->
448</a>
449<ul class="blockList">
450<li class="blockList">
451<h4>valueOf</h4>
452<pre>public static&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/BooleanNode.html" title="class in com.fasterxml.jackson.databind.node">BooleanNode</a>&nbsp;valueOf(boolean&nbsp;b)</pre>
453</li>
454</ul>
455<a name="getNodeType--">
456<!--   -->
457</a>
458<ul class="blockList">
459<li class="blockList">
460<h4>getNodeType</h4>
461<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a>&nbsp;getNodeType()</pre>
462<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType--">JsonNode</a></code></span></div>
463<div class="block">Return the type of this node</div>
464<dl>
465<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
466<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType--">getNodeType</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
467<dt><span class="returnLabel">Returns:</span></dt>
468<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>
469</dl>
470</li>
471</ul>
472<a name="asToken--">
473<!--   -->
474</a>
475<ul class="blockList">
476<li class="blockList">
477<h4>asToken</h4>
478<pre>public&nbsp;<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a>&nbsp;asToken()</pre>
479<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken--">BaseJsonNode</a></code></span></div>
480<div class="block">Method that can be used for efficient type detection
481 when using stream abstraction for traversing nodes.
482 Will return the first <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent
483 stream event would produce (for most nodes there is just
484 one token but for structured/container types multiple)</div>
485<dl>
486<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
487<dd><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/TreeNode.html?is-external=true#asToken--" title="class or interface in com.fasterxml.jackson.core">asToken</a></code>&nbsp;in interface&nbsp;<code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd>
488<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
489<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#asToken--">asToken</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></code></dd>
490</dl>
491</li>
492</ul>
493<a name="booleanValue--">
494<!--   -->
495</a>
496<ul class="blockList">
497<li class="blockList">
498<h4>booleanValue</h4>
499<pre>public&nbsp;boolean&nbsp;booleanValue()</pre>
500<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#booleanValue--">JsonNode</a></code></span></div>
501<div class="block">Method to use for accessing JSON boolean values (value
502 literals 'true' and 'false').
503 For other types, always returns false.</div>
504<dl>
505<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
506<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#booleanValue--">booleanValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
507<dt><span class="returnLabel">Returns:</span></dt>
508<dd>Textual value this node contains, iff it is a textual
509   json node (comes from JSON String value entry)</dd>
510</dl>
511</li>
512</ul>
513<a name="asText--">
514<!--   -->
515</a>
516<ul class="blockList">
517<li class="blockList">
518<h4>asText</h4>
519<pre>public&nbsp;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;asText()</pre>
520<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--">JsonNode</a></code></span></div>
521<div class="block">Method that will return a valid String representation of
522 the container value, if the node is a value node
523 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--"><code>JsonNode.isValueNode()</code></a> returns true),
524 otherwise empty String.</div>
525<dl>
526<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
527<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--">asText</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
528</dl>
529</li>
530</ul>
531<a name="asBoolean--">
532<!--   -->
533</a>
534<ul class="blockList">
535<li class="blockList">
536<h4>asBoolean</h4>
537<pre>public&nbsp;boolean&nbsp;asBoolean()</pre>
538<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean--">JsonNode</a></code></span></div>
539<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.
540 JSON booleans map naturally; integer numbers other than 0 map to true, and
541 0 maps to false
542 and Strings 'true' and 'false' map to corresponding values.
543<p>
544 If representation cannot be converted to a boolean value (including structured types
545 like Objects and Arrays),
546 default value of <b>false</b> will be returned; no exceptions are thrown.</div>
547<dl>
548<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
549<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean--">asBoolean</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
550</dl>
551</li>
552</ul>
553<a name="asBoolean-boolean-">
554<!--   -->
555</a>
556<ul class="blockList">
557<li class="blockList">
558<h4>asBoolean</h4>
559<pre>public&nbsp;boolean&nbsp;asBoolean(boolean&nbsp;defaultValue)</pre>
560<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean-boolean-">JsonNode</a></code></span></div>
561<div class="block">Method that will try to convert value of this node to a Java <b>boolean</b>.
562 JSON booleans map naturally; integer numbers other than 0 map to true, and
563 0 maps to false
564 and Strings 'true' and 'false' map to corresponding values.
565<p>
566 If representation cannot be converted to a boolean value (including structured types
567 like Objects and Arrays),
568 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
569<dl>
570<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
571<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean-boolean-">asBoolean</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
572</dl>
573</li>
574</ul>
575<a name="asInt-int-">
576<!--   -->
577</a>
578<ul class="blockList">
579<li class="blockList">
580<h4>asInt</h4>
581<pre>public&nbsp;int&nbsp;asInt(int&nbsp;defaultValue)</pre>
582<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt-int-">JsonNode</a></code></span></div>
583<div class="block">Method that will try to convert value of this node to a Java <b>int</b>.
584 Numbers are coerced using default Java rules; booleans convert to 0 (false)
585 and 1 (true), and Strings are parsed using default Java language integer
586 parsing rules.
587<p>
588 If representation cannot be converted to an int (including structured types
589 like Objects and Arrays),
590 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
591<dl>
592<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
593<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt-int-">asInt</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
594</dl>
595</li>
596</ul>
597<a name="asLong-long-">
598<!--   -->
599</a>
600<ul class="blockList">
601<li class="blockList">
602<h4>asLong</h4>
603<pre>public&nbsp;long&nbsp;asLong(long&nbsp;defaultValue)</pre>
604<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong-long-">JsonNode</a></code></span></div>
605<div class="block">Method that will try to convert value of this node to a Java <b>long</b>.
606 Numbers are coerced using default Java rules; booleans convert to 0 (false)
607 and 1 (true), and Strings are parsed using default Java language integer
608 parsing rules.
609<p>
610 If representation cannot be converted to an long (including structured types
611 like Objects and Arrays),
612 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
613<dl>
614<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
615<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong-long-">asLong</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
616</dl>
617</li>
618</ul>
619<a name="asDouble-double-">
620<!--   -->
621</a>
622<ul class="blockList">
623<li class="blockList">
624<h4>asDouble</h4>
625<pre>public&nbsp;double&nbsp;asDouble(double&nbsp;defaultValue)</pre>
626<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble-double-">JsonNode</a></code></span></div>
627<div class="block">Method that will try to convert value of this node to a Java <b>double</b>.
628 Numbers are coerced using default Java rules; booleans convert to 0.0 (false)
629 and 1.0 (true), and Strings are parsed using default Java language integer
630 parsing rules.
631<p>
632 If representation cannot be converted to an int (including structured types
633 like Objects and Arrays),
634 specified <b>defaultValue</b> will be returned; no exceptions are thrown.</div>
635<dl>
636<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
637<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble-double-">asDouble</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
638</dl>
639</li>
640</ul>
641<a name="serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">
642<!--   -->
643</a>
644<ul class="blockList">
645<li class="blockList">
646<h4>serialize</h4>
647<pre>public final&nbsp;void&nbsp;serialize(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;g,
648                            <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
649                     throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
650<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">BaseJsonNode</a></code></span></div>
651<div class="block">Method called to serialize node instances using given generator.</div>
652<dl>
653<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
654<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd>
655<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
656<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd>
657<dt><span class="throwsLabel">Throws:</span></dt>
658<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
659</dl>
660</li>
661</ul>
662<a name="hashCode--">
663<!--   -->
664</a>
665<ul class="blockList">
666<li class="blockList">
667<h4>hashCode</h4>
668<pre>public&nbsp;int&nbsp;hashCode()</pre>
669<dl>
670<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
671<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#hashCode--">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd>
672</dl>
673</li>
674</ul>
675<a name="equals-java.lang.Object-">
676<!--   -->
677</a>
678<ul class="blockListLast">
679<li class="blockList">
680<h4>equals</h4>
681<pre>public&nbsp;boolean&nbsp;equals(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;o)</pre>
682<div class="block"><span class="descfrmTypeLabel">Description copied from class:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals-java.lang.Object-">JsonNode</a></code></span></div>
683<div class="block">Equality for node objects is defined as full (deep) value
684 equality. This means that it is possible to compare complete
685 JSON trees for equality by comparing equality of root nodes.
686<p>
687 Note: marked as abstract to ensure all implementation
688 classes define it properly and not rely on definition
689 from <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>.</div>
690<dl>
691<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
692<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals-java.lang.Object-">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd>
693</dl>
694</li>
695</ul>
696</li>
697</ul>
698</li>
699</ul>
700</div>
701</div>
702<!-- ========= END OF CLASS DATA ========= -->
703<!-- ======= START OF BOTTOM NAVBAR ====== -->
704<div class="bottomNav"><a name="navbar.bottom">
705<!--   -->
706</a>
707<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
708<a name="navbar.bottom.firstrow">
709<!--   -->
710</a>
711<ul class="navList" title="Navigation">
712<li><a href="../../../../../overview-summary.html">Overview</a></li>
713<li><a href="package-summary.html">Package</a></li>
714<li class="navBarCell1Rev">Class</li>
715<li><a href="class-use/BooleanNode.html">Use</a></li>
716<li><a href="package-tree.html">Tree</a></li>
717<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
718<li><a href="../../../../../index-all.html">Index</a></li>
719<li><a href="../../../../../help-doc.html">Help</a></li>
720</ul>
721</div>
722<div class="subNav">
723<ul class="navList">
724<li><a href="../../../../../com/fasterxml/jackson/databind/node/BinaryNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
725<li><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
726</ul>
727<ul class="navList">
728<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/BooleanNode.html" target="_top">Frames</a></li>
729<li><a href="BooleanNode.html" target="_top">No&nbsp;Frames</a></li>
730</ul>
731<ul class="navList" id="allclasses_navbar_bottom">
732<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
733</ul>
734<div>
735<script type="text/javascript"><!--
736  allClassesLink = document.getElementById("allclasses_navbar_bottom");
737  if(window==top) {
738    allClassesLink.style.display = "block";
739  }
740  else {
741    allClassesLink.style.display = "none";
742  }
743  //-->
744</script>
745</div>
746<div>
747<ul class="subNavList">
748<li>Summary:&nbsp;</li>
749<li>Nested&nbsp;|&nbsp;</li>
750<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
751<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
752<li><a href="#method.summary">Method</a></li>
753</ul>
754<ul class="subNavList">
755<li>Detail:&nbsp;</li>
756<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
757<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
758<li><a href="#method.detail">Method</a></li>
759</ul>
760</div>
761<a name="skip.navbar.bottom">
762<!--   -->
763</a></div>
764<!-- ======== END OF BOTTOM NAVBAR ======= -->
765<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
766</body>
767</html>
768