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:41 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>MissingNode (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="MissingNode (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":9,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10}; 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/MissingNode.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/LongNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/MissingNode.html" target="_top">Frames</a></li> 58<li><a href="MissingNode.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../../allclasses-noframe.html">All 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: </li> 78<li>Nested | </li> 79<li>Field | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li>Field | </li> 86<li><a href="#constructor.detail">Constr</a> | </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 MissingNode" class="title">Class MissingNode</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.MissingNode</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><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>></dd> 134</dl> 135<hr> 136<br> 137<pre>public final class <span class="typeNameLabel">MissingNode</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 singleton node class is generated to denote "missing nodes" 140 along paths that do not exist. For example, if a path via 141 element of an array is requested for an element outside range 142 of elements in the array; or for a non-array value, result 143 will be reference to this node. 144<p> 145 In most respects this placeholder node will act as <a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><code>NullNode</code></a>; 146 for example, for purposes of value conversions, value is considered 147 to be null and represented as value zero when used for numeric 148 conversions.</div> 149<dl> 150<dt><span class="seeLabel">See Also:</span></dt> 151<dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.node.MissingNode">Serialized Form</a></dd> 152</dl> 153</li> 154</ul> 155</div> 156<div class="summary"> 157<ul class="blockList"> 158<li class="blockList"> 159<!-- ======== NESTED CLASS SUMMARY ======== --> 160<ul class="blockList"> 161<li class="blockList"><a name="nested.class.summary"> 162<!-- --> 163</a> 164<h3>Nested Class Summary</h3> 165<ul class="blockList"> 166<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable"> 167<!-- --> 168</a> 169<h3>Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></h3> 170<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></code></li> 171</ul> 172</li> 173</ul> 174<!-- ======== CONSTRUCTOR SUMMARY ======== --> 175<ul class="blockList"> 176<li class="blockList"><a name="constructor.summary"> 177<!-- --> 178</a> 179<h3>Constructor Summary</h3> 180<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 181<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 182<tr> 183<th class="colFirst" scope="col">Modifier</th> 184<th class="colLast" scope="col">Constructor and Description</th> 185</tr> 186<tr class="altColor"> 187<td class="colFirst"><code>protected </code></td> 188<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#MissingNode--">MissingNode</a></span>()</code> 189<div class="block"> 190 NOTE: visibility raised to `protected` in 2.9.3 to allow custom subtypes 191 (which may not be greatest idea ever to have but was requested)</div> 192</td> 193</tr> 194</table> 195</li> 196</ul> 197<!-- ========== METHOD SUMMARY =========== --> 198<ul class="blockList"> 199<li class="blockList"><a name="method.summary"> 200<!-- --> 201</a> 202<h3>Method Summary</h3> 203<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 204<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 205<tr> 206<th class="colFirst" scope="col">Modifier and Type</th> 207<th class="colLast" scope="col">Method and Description</th> 208</tr> 209<tr id="i0" class="altColor"> 210<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> 211<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#asText--">asText</a></span>()</code> 212<div class="block">Method that will return a valid String representation of 213 the container value, if the node is a value node 214 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--"><code>JsonNode.isValueNode()</code></a> returns true), 215 otherwise empty String.</div> 216</td> 217</tr> 218<tr id="i1" class="rowColor"> 219<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> 220<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#asText-java.lang.String-">asText</a></span>(<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> defaultValue)</code> 221<div class="block">Method similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--"><code>JsonNode.asText()</code></a>, except that it will return 222 <code>defaultValue</code> in cases where null value would be returned; 223 either for missing nodes (trying to access missing property, or element 224 at invalid item for array) or explicit nulls.</div> 225</td> 226</tr> 227<tr id="i2" class="altColor"> 228<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> 229<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#asToken--">asToken</a></span>()</code> 230<div class="block">Method that can be used for efficient type detection 231 when using stream abstraction for traversing nodes.</div> 232</td> 233</tr> 234<tr id="i3" class="rowColor"> 235<td class="colFirst"><code><T extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>><br>T</code></td> 236<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#deepCopy--">deepCopy</a></span>()</code> 237<div class="block">All current value nodes are immutable, so we can just return 238 them as is.</div> 239</td> 240</tr> 241<tr id="i4" class="altColor"> 242<td class="colFirst"><code>boolean</code></td> 243<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.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> o)</code> 244<div class="block">Equality for node objects is defined as full (deep) value 245 equality.</div> 246</td> 247</tr> 248<tr id="i5" class="rowColor"> 249<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html" title="class in com.fasterxml.jackson.databind.node">MissingNode</a></code></td> 250<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#getInstance--">getInstance</a></span>()</code> </td> 251</tr> 252<tr id="i6" class="altColor"> 253<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> 254<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#getNodeType--">getNodeType</a></span>()</code> 255<div class="block">Return the type of this node</div> 256</td> 257</tr> 258<tr id="i7" class="rowColor"> 259<td class="colFirst"><code>int</code></td> 260<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#hashCode--">hashCode</a></span>()</code> </td> 261</tr> 262<tr id="i8" class="altColor"> 263<td class="colFirst"><code>boolean</code></td> 264<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#isMissingNode--">isMissingNode</a></span>()</code> </td> 265</tr> 266<tr id="i9" class="rowColor"> 267<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> 268<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#readResolve--">readResolve</a></span>()</code> </td> 269</tr> 270<tr id="i10" class="altColor"> 271<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 272<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#require--">require</a></span>()</code> 273<div class="block">Method that may be called to verify that <code>this</code> node is NOT so-called 274 "missing node": that is, one for which <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>JsonNode.isMissingNode()</code></a> returns <code>true</code>.</div> 275</td> 276</tr> 277<tr id="i11" class="rowColor"> 278<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 279<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#requireNonNull--">requireNonNull</a></span>()</code> 280<div class="block">Method that may be called to verify that <code>this</code> node is neither so-called 281 "missing node" (that is, one for which <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>JsonNode.isMissingNode()</code></a> returns <code>true</code>) 282 nor "null node" (one for which <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNull--"><code>JsonNode.isNull()</code></a> returns <code>true</code>).</div> 283</td> 284</tr> 285<tr id="i12" class="altColor"> 286<td class="colFirst"><code>void</code></td> 287<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.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> g, 288 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> 289<div class="block">Method called to serialize node instances using given generator.</div> 290</td> 291</tr> 292<tr id="i13" class="rowColor"> 293<td class="colFirst"><code>void</code></td> 294<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializeWithType</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> g, 295 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 296 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer)</code> 297<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, 298 since they may be mixed with other types.</div> 299</td> 300</tr> 301<tr id="i14" class="altColor"> 302<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> 303<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#toPrettyString--">toPrettyString</a></span>()</code> 304<div class="block">Alternative to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString--"><code>JsonNode.toString()</code></a> that will serialize this node using 305 Jackson default pretty-printer.</div> 306</td> 307</tr> 308<tr id="i15" class="rowColor"> 309<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> 310<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html#toString--">toString</a></span>()</code> 311<div class="block">Method that will produce (as of Jackson 2.10) valid JSON using 312 default settings of databind, as String.</div> 313</td> 314</tr> 315</table> 316<ul class="blockList"> 317<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.ValueNode"> 318<!-- --> 319</a> 320<h3>Methods inherited from class 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> 321<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#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></code></li> 322</ul> 323<ul class="blockList"> 324<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.node.BaseJsonNode"> 325<!-- --> 326</a> 327<h3>Methods inherited from class 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> 328<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#traverse--">traverse</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse-com.fasterxml.jackson.core.ObjectCodec-">traverse</a></code></li> 329</ul> 330<ul class="blockList"> 331<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonNode"> 332<!-- --> 333</a> 334<h3>Methods inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></h3> 335<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#asBoolean--">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asBoolean-boolean-">asBoolean</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble--">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asDouble-double-">asDouble</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt--">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asInt-int-">asInt</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong--">asLong</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asLong-long-">asLong</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#booleanValue--">booleanValue</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#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#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#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> 336</ul> 337<ul class="blockList"> 338<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable.Base"> 339<!-- --> 340</a> 341<h3>Methods inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></h3> 342<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html#isEmpty-com.fasterxml.jackson.databind.SerializerProvider-">isEmpty</a></code></li> 343</ul> 344<ul class="blockList"> 345<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 346<!-- --> 347</a> 348<h3>Methods inherited from class 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> 349<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> 350</ul> 351<ul class="blockList"> 352<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable"> 353<!-- --> 354</a> 355<h3>Methods inherited from interface 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> 356<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> 357</ul> 358</li> 359</ul> 360</li> 361</ul> 362</div> 363<div class="details"> 364<ul class="blockList"> 365<li class="blockList"> 366<!-- ========= CONSTRUCTOR DETAIL ======== --> 367<ul class="blockList"> 368<li class="blockList"><a name="constructor.detail"> 369<!-- --> 370</a> 371<h3>Constructor Detail</h3> 372<a name="MissingNode--"> 373<!-- --> 374</a> 375<ul class="blockListLast"> 376<li class="blockList"> 377<h4>MissingNode</h4> 378<pre>protected MissingNode()</pre> 379<div class="block"><p> 380 NOTE: visibility raised to `protected` in 2.9.3 to allow custom subtypes 381 (which may not be greatest idea ever to have but was requested)</div> 382</li> 383</ul> 384</li> 385</ul> 386<!-- ============ METHOD DETAIL ========== --> 387<ul class="blockList"> 388<li class="blockList"><a name="method.detail"> 389<!-- --> 390</a> 391<h3>Method Detail</h3> 392<a name="readResolve--"> 393<!-- --> 394</a> 395<ul class="blockList"> 396<li class="blockList"> 397<h4>readResolve</h4> 398<pre>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> readResolve()</pre> 399</li> 400</ul> 401<a name="isMissingNode--"> 402<!-- --> 403</a> 404<ul class="blockList"> 405<li class="blockList"> 406<h4>isMissingNode</h4> 407<pre>public boolean isMissingNode()</pre> 408<dl> 409<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 410<dd><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/TreeNode.html?is-external=true#isMissingNode--" title="class or interface in com.fasterxml.jackson.core">isMissingNode</a></code> in interface <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> 411<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 412<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--">isMissingNode</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 413</dl> 414</li> 415</ul> 416<a name="deepCopy--"> 417<!-- --> 418</a> 419<ul class="blockList"> 420<li class="blockList"> 421<h4>deepCopy</h4> 422<pre>public <T extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>> T deepCopy()</pre> 423<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy--">ValueNode</a></code></span></div> 424<div class="block">All current value nodes are immutable, so we can just return 425 them as is.</div> 426<dl> 427<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 428<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#deepCopy--">deepCopy</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></code></dd> 429<dt><span class="returnLabel">Returns:</span></dt> 430<dd>Node that is either a copy of this node (and all non-leaf 431 children); or, for immutable leaf nodes, node itself.</dd> 432</dl> 433</li> 434</ul> 435<a name="getInstance--"> 436<!-- --> 437</a> 438<ul class="blockList"> 439<li class="blockList"> 440<h4>getInstance</h4> 441<pre>public static <a href="../../../../../com/fasterxml/jackson/databind/node/MissingNode.html" title="class in com.fasterxml.jackson.databind.node">MissingNode</a> getInstance()</pre> 442</li> 443</ul> 444<a name="getNodeType--"> 445<!-- --> 446</a> 447<ul class="blockList"> 448<li class="blockList"> 449<h4>getNodeType</h4> 450<pre>public <a href="../../../../../com/fasterxml/jackson/databind/node/JsonNodeType.html" title="enum in com.fasterxml.jackson.databind.node">JsonNodeType</a> getNodeType()</pre> 451<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType--">JsonNode</a></code></span></div> 452<div class="block">Return the type of this node</div> 453<dl> 454<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 455<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType--">getNodeType</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 456<dt><span class="returnLabel">Returns:</span></dt> 457<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> 458</dl> 459</li> 460</ul> 461<a name="asToken--"> 462<!-- --> 463</a> 464<ul class="blockList"> 465<li class="blockList"> 466<h4>asToken</h4> 467<pre>public <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> asToken()</pre> 468<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken--">BaseJsonNode</a></code></span></div> 469<div class="block">Method that can be used for efficient type detection 470 when using stream abstraction for traversing nodes. 471 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 472 stream event would produce (for most nodes there is just 473 one token but for structured/container types multiple)</div> 474<dl> 475<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 476<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> in interface <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> 477<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 478<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html#asToken--">asToken</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></code></dd> 479</dl> 480</li> 481</ul> 482<a name="asText--"> 483<!-- --> 484</a> 485<ul class="blockList"> 486<li class="blockList"> 487<h4>asText</h4> 488<pre>public <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> asText()</pre> 489<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--">JsonNode</a></code></span></div> 490<div class="block">Method that will return a valid String representation of 491 the container value, if the node is a value node 492 (method <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isValueNode--"><code>JsonNode.isValueNode()</code></a> returns true), 493 otherwise empty String.</div> 494<dl> 495<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 496<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--">asText</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 497</dl> 498</li> 499</ul> 500<a name="asText-java.lang.String-"> 501<!-- --> 502</a> 503<ul class="blockList"> 504<li class="blockList"> 505<h4>asText</h4> 506<pre>public <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> asText(<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> defaultValue)</pre> 507<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText-java.lang.String-">JsonNode</a></code></span></div> 508<div class="block">Method similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText--"><code>JsonNode.asText()</code></a>, except that it will return 509 <code>defaultValue</code> in cases where null value would be returned; 510 either for missing nodes (trying to access missing property, or element 511 at invalid item for array) or explicit nulls.</div> 512<dl> 513<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 514<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#asText-java.lang.String-">asText</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 515</dl> 516</li> 517</ul> 518<a name="serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"> 519<!-- --> 520</a> 521<ul class="blockList"> 522<li class="blockList"> 523<h4>serialize</h4> 524<pre>public final void 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> g, 525 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 526 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>, 527 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre> 528<div class="block"><span class="descfrmTypeLabel">Description copied from class: <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> 529<div class="block">Method called to serialize node instances using given generator.</div> 530<dl> 531<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 532<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd> 533<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 534<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> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd> 535<dt><span class="throwsLabel">Throws:</span></dt> 536<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> 537<dd><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd> 538</dl> 539</li> 540</ul> 541<a name="serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-"> 542<!-- --> 543</a> 544<ul class="blockList"> 545<li class="blockList"> 546<h4>serializeWithType</h4> 547<pre>public void serializeWithType(<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> g, 548 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 549 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) 550 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>, 551 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre> 552<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">BaseJsonNode</a></code></span></div> 553<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, 554 since they may be mixed with other types.</div> 555<dl> 556<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 557<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializeWithType</a></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd> 558<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 559<dd><code><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> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></code></dd> 560<dt><span class="throwsLabel">Throws:</span></dt> 561<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> 562<dd><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd> 563</dl> 564</li> 565</ul> 566<a name="require--"> 567<!-- --> 568</a> 569<ul class="blockList"> 570<li class="blockList"> 571<h4>require</h4> 572<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> require()</pre> 573<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#require--">JsonNode</a></code></span></div> 574<div class="block">Method that may be called to verify that <code>this</code> node is NOT so-called 575 "missing node": that is, one for which <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>JsonNode.isMissingNode()</code></a> returns <code>true</code>. 576 If not missing node, <code>this</code> is returned to allow chaining; otherwise 577 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> is thrown.</div> 578<dl> 579<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 580<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#require--">require</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 581<dt><span class="returnLabel">Returns:</span></dt> 582<dd><code>this</code> node to allow chaining</dd> 583</dl> 584</li> 585</ul> 586<a name="requireNonNull--"> 587<!-- --> 588</a> 589<ul class="blockList"> 590<li class="blockList"> 591<h4>requireNonNull</h4> 592<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> requireNonNull()</pre> 593<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#requireNonNull--">JsonNode</a></code></span></div> 594<div class="block">Method that may be called to verify that <code>this</code> node is neither so-called 595 "missing node" (that is, one for which <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>JsonNode.isMissingNode()</code></a> returns <code>true</code>) 596 nor "null node" (one for which <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isNull--"><code>JsonNode.isNull()</code></a> returns <code>true</code>). 597 If non-null non-missing node, <code>this</code> is returned to allow chaining; otherwise 598 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><code>IllegalArgumentException</code></a> is thrown.</div> 599<dl> 600<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 601<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#requireNonNull--">requireNonNull</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 602<dt><span class="returnLabel">Returns:</span></dt> 603<dd><code>this</code> node to allow chaining</dd> 604</dl> 605</li> 606</ul> 607<a name="hashCode--"> 608<!-- --> 609</a> 610<ul class="blockList"> 611<li class="blockList"> 612<h4>hashCode</h4> 613<pre>public int hashCode()</pre> 614<dl> 615<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 616<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#hashCode--">hashCode</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd> 617</dl> 618</li> 619</ul> 620<a name="toString--"> 621<!-- --> 622</a> 623<ul class="blockList"> 624<li class="blockList"> 625<h4>toString</h4> 626<pre>public <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> toString()</pre> 627<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString--">JsonNode</a></code></span></div> 628<div class="block">Method that will produce (as of Jackson 2.10) valid JSON using 629 default settings of databind, as String. 630 If you want other kinds of JSON output (or output formatted using one of 631 other Jackson-supported data formats) make sure to use 632 <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 633 instance, for example: 634<pre> 635 String json = objectMapper.writeValueAsString(rootNode); 636</pre> 637<p> 638 Note: method defined as abstract to ensure all implementation 639 classes explicitly implement method, instead of relying 640 on <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang"><code>Object.toString()</code></a> definition.</div> 641<dl> 642<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 643<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#toString--">toString</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd> 644</dl> 645</li> 646</ul> 647<a name="toPrettyString--"> 648<!-- --> 649</a> 650<ul class="blockList"> 651<li class="blockList"> 652<h4>toPrettyString</h4> 653<pre>public <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> toPrettyString()</pre> 654<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toPrettyString--">JsonNode</a></code></span></div> 655<div class="block">Alternative to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#toString--"><code>JsonNode.toString()</code></a> that will serialize this node using 656 Jackson default pretty-printer.</div> 657<dl> 658<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 659<dd><code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#toPrettyString--">toPrettyString</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html" title="class in com.fasterxml.jackson.databind.node">BaseJsonNode</a></code></dd> 660</dl> 661</li> 662</ul> 663<a name="equals-java.lang.Object-"> 664<!-- --> 665</a> 666<ul class="blockListLast"> 667<li class="blockList"> 668<h4>equals</h4> 669<pre>public boolean 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> o)</pre> 670<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals-java.lang.Object-">JsonNode</a></code></span></div> 671<div class="block">Equality for node objects is defined as full (deep) value 672 equality. This means that it is possible to compare complete 673 JSON trees for equality by comparing equality of root nodes. 674<p> 675 Note: marked as abstract to ensure all implementation 676 classes define it properly and not rely on definition 677 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> 678<dl> 679<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 680<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#equals-java.lang.Object-">equals</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 681</dl> 682</li> 683</ul> 684</li> 685</ul> 686</li> 687</ul> 688</div> 689</div> 690<!-- ========= END OF CLASS DATA ========= --> 691<!-- ======= START OF BOTTOM NAVBAR ====== --> 692<div class="bottomNav"><a name="navbar.bottom"> 693<!-- --> 694</a> 695<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 696<a name="navbar.bottom.firstrow"> 697<!-- --> 698</a> 699<ul class="navList" title="Navigation"> 700<li><a href="../../../../../overview-summary.html">Overview</a></li> 701<li><a href="package-summary.html">Package</a></li> 702<li class="navBarCell1Rev">Class</li> 703<li><a href="class-use/MissingNode.html">Use</a></li> 704<li><a href="package-tree.html">Tree</a></li> 705<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 706<li><a href="../../../../../index-all.html">Index</a></li> 707<li><a href="../../../../../help-doc.html">Help</a></li> 708</ul> 709</div> 710<div class="subNav"> 711<ul class="navList"> 712<li><a href="../../../../../com/fasterxml/jackson/databind/node/LongNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Prev Class</span></a></li> 713<li><a href="../../../../../com/fasterxml/jackson/databind/node/NullNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Next Class</span></a></li> 714</ul> 715<ul class="navList"> 716<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/MissingNode.html" target="_top">Frames</a></li> 717<li><a href="MissingNode.html" target="_top">No Frames</a></li> 718</ul> 719<ul class="navList" id="allclasses_navbar_bottom"> 720<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 721</ul> 722<div> 723<script type="text/javascript"><!-- 724 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 725 if(window==top) { 726 allClassesLink.style.display = "block"; 727 } 728 else { 729 allClassesLink.style.display = "none"; 730 } 731 //--> 732</script> 733</div> 734<div> 735<ul class="subNavList"> 736<li>Summary: </li> 737<li>Nested | </li> 738<li>Field | </li> 739<li><a href="#constructor.summary">Constr</a> | </li> 740<li><a href="#method.summary">Method</a></li> 741</ul> 742<ul class="subNavList"> 743<li>Detail: </li> 744<li>Field | </li> 745<li><a href="#constructor.detail">Constr</a> | </li> 746<li><a href="#method.detail">Method</a></li> 747</ul> 748</div> 749<a name="skip.navbar.bottom"> 750<!-- --> 751</a></div> 752<!-- ======== END OF BOTTOM NAVBAR ======= --> 753<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 754</body> 755</html> 756