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 Jan 23 20:22:15 PST 2018 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>BaseJsonNode (jackson-databind 2.9.0 API)</title> 8<meta name="date" content="2018-01-23"> 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="BaseJsonNode (jackson-databind 2.9.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":6,"i1":10,"i2":6,"i3":10,"i4":6,"i5":6,"i6":10,"i7":10}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/BaseJsonNode.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/ArrayNode.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/BigIntegerNode.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/BaseJsonNode.html" target="_top">Frames</a></li> 58<li><a href="BaseJsonNode.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 BaseJsonNode" class="title">Class BaseJsonNode</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<li><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 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>com.fasterxml.jackson.databind.node.BaseJsonNode</li> 111</ul> 112</li> 113</ul> 114</li> 115</ul> 116</li> 117</ul> 118<div class="description"> 119<ul class="blockList"> 120<li class="blockList"> 121<dl> 122<dt>All Implemented Interfaces:</dt> 123<dd><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a>></dd> 124</dl> 125<dl> 126<dt>Direct Known Subclasses:</dt> 127<dd><a href="../../../../../com/fasterxml/jackson/databind/node/ContainerNode.html" title="class in com.fasterxml.jackson.databind.node">ContainerNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/node/ValueNode.html" title="class in com.fasterxml.jackson.databind.node">ValueNode</a></dd> 128</dl> 129<hr> 130<br> 131<pre>public abstract class <span class="typeNameLabel">BaseJsonNode</span> 132extends <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> 133implements <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></pre> 134<div class="block">Abstract base class common to all standard <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a> 135 implementations. 136 The main addition here is that we declare that sub-classes must 137 implement <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind"><code>JsonSerializable</code></a>. 138 This simplifies object mapping aspects a bit, as no external serializers are needed.</div> 139</li> 140</ul> 141</div> 142<div class="summary"> 143<ul class="blockList"> 144<li class="blockList"> 145<!-- ======== NESTED CLASS SUMMARY ======== --> 146<ul class="blockList"> 147<li class="blockList"><a name="nested.class.summary"> 148<!-- --> 149</a> 150<h3>Nested Class Summary</h3> 151<ul class="blockList"> 152<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable"> 153<!-- --> 154</a> 155<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> 156<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></code></li> 157</ul> 158</li> 159</ul> 160<!-- ======== CONSTRUCTOR SUMMARY ======== --> 161<ul class="blockList"> 162<li class="blockList"><a name="constructor.summary"> 163<!-- --> 164</a> 165<h3>Constructor Summary</h3> 166<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 167<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 168<tr> 169<th class="colFirst" scope="col">Modifier</th> 170<th class="colLast" scope="col">Constructor and Description</th> 171</tr> 172<tr class="altColor"> 173<td class="colFirst"><code>protected </code></td> 174<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#BaseJsonNode--">BaseJsonNode</a></span>()</code> </td> 175</tr> 176</table> 177</li> 178</ul> 179<!-- ========== METHOD SUMMARY =========== --> 180<ul class="blockList"> 181<li class="blockList"><a name="method.summary"> 182<!-- --> 183</a> 184<h3>Method Summary</h3> 185<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 186<caption><span id="t0" class="activeTableTab"><span>All Methods</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="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract 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> 187<tr> 188<th class="colFirst" scope="col">Modifier and Type</th> 189<th class="colLast" scope="col">Method and Description</th> 190</tr> 191<tr id="i0" class="altColor"> 192<td class="colFirst"><code>abstract <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a></code></td> 193<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#asToken--">asToken</a></span>()</code> 194<div class="block">Method that can be used for efficient type detection 195 when using stream abstraction for traversing nodes.</div> 196</td> 197</tr> 198<tr id="i1" class="rowColor"> 199<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></td> 200<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#findPath-java.lang.String-">findPath</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</code> 201<div class="block">Method similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue-java.lang.String-"><code>JsonNode.findValue(java.lang.String)</code></a>, but that will return a 202 "missing node" instead of null if no field is found.</div> 203</td> 204</tr> 205<tr id="i2" class="altColor"> 206<td class="colFirst"><code>abstract int</code></td> 207<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#hashCode--">hashCode</a></span>()</code> </td> 208</tr> 209<tr id="i3" class="rowColor"> 210<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</a></code></td> 211<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#numberType--">numberType</a></span>()</code> 212<div class="block">Returns code that identifies type of underlying numeric 213 value, if (and only if) node is a number node.</div> 214</td> 215</tr> 216<tr id="i4" class="altColor"> 217<td class="colFirst"><code>abstract void</code></td> 218<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jgen, 219 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> 220<div class="block">Method called to serialize node instances using given generator.</div> 221</td> 222</tr> 223<tr id="i5" class="rowColor"> 224<td class="colFirst"><code>abstract void</code></td> 225<td class="colLast"><code><span class="memberNameLink"><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-">serializeWithType</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jgen, 226 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 227 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer)</code> 228<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, 229 since they may be mixed with other types.</div> 230</td> 231</tr> 232<tr id="i6" class="altColor"> 233<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a></code></td> 234<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse--">traverse</a></span>()</code> </td> 235</tr> 236<tr id="i7" class="rowColor"> 237<td class="colFirst"><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a></code></td> 238<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/node/BaseJsonNode.html#traverse-com.fasterxml.jackson.core.ObjectCodec-">traverse</a></span>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/ObjectCodec.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">ObjectCodec</a> codec)</code> </td> 239</tr> 240</table> 241<ul class="blockList"> 242<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonNode"> 243<!-- --> 244</a> 245<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> 246<code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#Z:Z_at-com.fasterxml.jackson.core.JsonPointer-">_at</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#asText--">asText</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#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#deepCopy--">deepCopy</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#equals-java.lang.Object-">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#findParent-java.lang.String-">findParent</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents-java.lang.String-">findParents</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findParents-java.lang.String-java.util.List-">findParents</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue-java.lang.String-">findValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues-java.lang.String-">findValues</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValues-java.lang.String-java.util.List-">findValues</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText-java.lang.String-">findValuesAsText</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValuesAsText-java.lang.String-java.util.List-">findValuesAsText</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#floatValue--">floatValue</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get-int-">get</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#get-java.lang.String-">get</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#getNodeType--">getNodeType</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has-int-">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#has-java.lang.String-">has</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull-int-">hasNonNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#hasNonNull-java.lang.String-">hasNonNull</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#path-int-">path</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#path-java.lang.String-">path</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#toString--">toString</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> 247</ul> 248<ul class="blockList"> 249<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializable.Base"> 250<!-- --> 251</a> 252<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> 253<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html#isEmpty-com.fasterxml.jackson.databind.SerializerProvider-">isEmpty</a></code></li> 254</ul> 255<ul class="blockList"> 256<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 257<!-- --> 258</a> 259<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 260<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 261</ul> 262<ul class="blockList"> 263<li class="blockList"><a name="methods.inherited.from.class.java.lang.Iterable"> 264<!-- --> 265</a> 266<h3>Methods inherited from interface java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang">Iterable</a></h3> 267<code><a href="http://docs.oracle.com/javase/7/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="http://docs.oracle.com/javase/7/docs/api/java/lang/Iterable.html?is-external=true#spliterator--" title="class or interface in java.lang">spliterator</a></code></li> 268</ul> 269</li> 270</ul> 271</li> 272</ul> 273</div> 274<div class="details"> 275<ul class="blockList"> 276<li class="blockList"> 277<!-- ========= CONSTRUCTOR DETAIL ======== --> 278<ul class="blockList"> 279<li class="blockList"><a name="constructor.detail"> 280<!-- --> 281</a> 282<h3>Constructor Detail</h3> 283<a name="BaseJsonNode--"> 284<!-- --> 285</a> 286<ul class="blockListLast"> 287<li class="blockList"> 288<h4>BaseJsonNode</h4> 289<pre>protected BaseJsonNode()</pre> 290</li> 291</ul> 292</li> 293</ul> 294<!-- ============ METHOD DETAIL ========== --> 295<ul class="blockList"> 296<li class="blockList"><a name="method.detail"> 297<!-- --> 298</a> 299<h3>Method Detail</h3> 300<a name="findPath-java.lang.String-"> 301<!-- --> 302</a> 303<ul class="blockList"> 304<li class="blockList"> 305<h4>findPath</h4> 306<pre>public final <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a> findPath(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName)</pre> 307<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findPath-java.lang.String-">JsonNode</a></code></span></div> 308<div class="block">Method similar to <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findValue-java.lang.String-"><code>JsonNode.findValue(java.lang.String)</code></a>, but that will return a 309 "missing node" instead of null if no field is found. Missing node 310 is a specific kind of node for which <a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#isMissingNode--"><code>JsonNode.isMissingNode()</code></a> 311 returns true; and all value access methods return empty or 312 missing value.</div> 313<dl> 314<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 315<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html#findPath-java.lang.String-">findPath</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></code></dd> 316<dt><span class="paramLabel">Parameters:</span></dt> 317<dd><code>fieldName</code> - Name of field to look for</dd> 318<dt><span class="returnLabel">Returns:</span></dt> 319<dd>Value of first matching node found; or if not found, a 320 "missing node" (non-null instance that has no value)</dd> 321</dl> 322</li> 323</ul> 324<a name="hashCode--"> 325<!-- --> 326</a> 327<ul class="blockList"> 328<li class="blockList"> 329<h4>hashCode</h4> 330<pre>public abstract int hashCode()</pre> 331<dl> 332<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 333<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a></code> in class <code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> 334</dl> 335</li> 336</ul> 337<a name="traverse--"> 338<!-- --> 339</a> 340<ul class="blockList"> 341<li class="blockList"> 342<h4>traverse</h4> 343<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> traverse()</pre> 344<dl> 345<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 346<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#traverse--" title="class or interface in com.fasterxml.jackson.core">traverse</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 347</dl> 348</li> 349</ul> 350<a name="traverse-com.fasterxml.jackson.core.ObjectCodec-"> 351<!-- --> 352</a> 353<ul class="blockList"> 354<li class="blockList"> 355<h4>traverse</h4> 356<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser</a> traverse(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/ObjectCodec.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">ObjectCodec</a> codec)</pre> 357<dl> 358<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 359<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#traverse-com.fasterxml.jackson.core.ObjectCodec-" title="class or interface in com.fasterxml.jackson.core">traverse</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 360</dl> 361</li> 362</ul> 363<a name="asToken--"> 364<!-- --> 365</a> 366<ul class="blockList"> 367<li class="blockList"> 368<h4>asToken</h4> 369<pre>public abstract <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonToken</a> asToken()</pre> 370<div class="block">Method that can be used for efficient type detection 371 when using stream abstraction for traversing nodes. 372 Will return the first <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonToken.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonToken</code></a> that equivalent 373 stream event would produce (for most nodes there is just 374 one token but for structured/container types multiple)</div> 375<dl> 376<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 377<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/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.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 378</dl> 379</li> 380</ul> 381<a name="numberType--"> 382<!-- --> 383</a> 384<ul class="blockList"> 385<li class="blockList"> 386<h4>numberType</h4> 387<pre>public <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonParser.NumberType.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.NumberType</a> numberType()</pre> 388<div class="block">Returns code that identifies type of underlying numeric 389 value, if (and only if) node is a number node.</div> 390<dl> 391<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 392<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true#numberType--" title="class or interface in com.fasterxml.jackson.core">numberType</a></code> in interface <code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">TreeNode</a></code></dd> 393</dl> 394</li> 395</ul> 396<a name="serialize-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"> 397<!-- --> 398</a> 399<ul class="blockList"> 400<li class="blockList"> 401<h4>serialize</h4> 402<pre>public abstract void serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jgen, 403 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 404 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, 405 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre> 406<div class="block">Method called to serialize node instances using given generator.</div> 407<dl> 408<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 409<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> 410<dt><span class="throwsLabel">Throws:</span></dt> 411<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 412<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd> 413</dl> 414</li> 415</ul> 416<a name="serializeWithType-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-"> 417<!-- --> 418</a> 419<ul class="blockListLast"> 420<li class="blockList"> 421<h4>serializeWithType</h4> 422<pre>public abstract void serializeWithType(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> jgen, 423 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider, 424 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> typeSer) 425 throws <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, 426 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre> 427<div class="block">Type information is needed, even if JsonNode instances are "plain" JSON, 428 since they may be mixed with other types.</div> 429<dl> 430<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 431<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> 432<dt><span class="throwsLabel">Throws:</span></dt> 433<dd><code><a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 434<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.9/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd> 435</dl> 436</li> 437</ul> 438</li> 439</ul> 440</li> 441</ul> 442</div> 443</div> 444<!-- ========= END OF CLASS DATA ========= --> 445<!-- ======= START OF BOTTOM NAVBAR ====== --> 446<div class="bottomNav"><a name="navbar.bottom"> 447<!-- --> 448</a> 449<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 450<a name="navbar.bottom.firstrow"> 451<!-- --> 452</a> 453<ul class="navList" title="Navigation"> 454<li><a href="../../../../../overview-summary.html">Overview</a></li> 455<li><a href="package-summary.html">Package</a></li> 456<li class="navBarCell1Rev">Class</li> 457<li><a href="class-use/BaseJsonNode.html">Use</a></li> 458<li><a href="package-tree.html">Tree</a></li> 459<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 460<li><a href="../../../../../index-all.html">Index</a></li> 461<li><a href="../../../../../help-doc.html">Help</a></li> 462</ul> 463</div> 464<div class="subNav"> 465<ul class="navList"> 466<li><a href="../../../../../com/fasterxml/jackson/databind/node/ArrayNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Prev Class</span></a></li> 467<li><a href="../../../../../com/fasterxml/jackson/databind/node/BigIntegerNode.html" title="class in com.fasterxml.jackson.databind.node"><span class="typeNameLink">Next Class</span></a></li> 468</ul> 469<ul class="navList"> 470<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/node/BaseJsonNode.html" target="_top">Frames</a></li> 471<li><a href="BaseJsonNode.html" target="_top">No Frames</a></li> 472</ul> 473<ul class="navList" id="allclasses_navbar_bottom"> 474<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 475</ul> 476<div> 477<script type="text/javascript"><!-- 478 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 479 if(window==top) { 480 allClassesLink.style.display = "block"; 481 } 482 else { 483 allClassesLink.style.display = "none"; 484 } 485 //--> 486</script> 487</div> 488<div> 489<ul class="subNavList"> 490<li>Summary: </li> 491<li>Nested | </li> 492<li>Field | </li> 493<li><a href="#constructor.summary">Constr</a> | </li> 494<li><a href="#method.summary">Method</a></li> 495</ul> 496<ul class="subNavList"> 497<li>Detail: </li> 498<li>Field | </li> 499<li><a href="#constructor.detail">Constr</a> | </li> 500<li><a href="#method.detail">Method</a></li> 501</ul> 502</div> 503<a name="skip.navbar.bottom"> 504<!-- --> 505</a></div> 506<!-- ======== END OF BOTTOM NAVBAR ======= --> 507<p class="legalCopy"><small>Copyright © 2008–2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 508</body> 509</html> 510