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 Sat Apr 25 17:14:52 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>BeanSerializer (jackson-databind 2.11.0 API)</title> 8<meta name="date" content="2020-04-25"> 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="BeanSerializer (jackson-databind 2.11.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":41,"i2":9,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10}; 23var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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/BeanSerializer.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/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/BeanSerializer.html" target="_top">Frames</a></li> 58<li><a href="BeanSerializer.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><a href="#nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializer">Nested</a> | </li> 79<li><a href="#fields.inherited.from.class.com.fasterxml.jackson.databind.ser.std.BeanSerializerBase">Field</a> | </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.ser</div> 97<h2 title="Class BeanSerializer" class="title">Class BeanSerializer</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/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.JsonSerializer</a><T></li> 105<li> 106<ul class="inheritance"> 107<li><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">com.fasterxml.jackson.databind.ser.std.StdSerializer</a><<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>></li> 108<li> 109<ul class="inheritance"> 110<li><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">com.fasterxml.jackson.databind.ser.std.BeanSerializerBase</a></li> 111<li> 112<ul class="inheritance"> 113<li>com.fasterxml.jackson.databind.ser.BeanSerializer</li> 114</ul> 115</li> 116</ul> 117</li> 118</ul> 119</li> 120</ul> 121</li> 122</ul> 123<div class="description"> 124<ul class="blockList"> 125<li class="blockList"> 126<dl> 127<dt>All Implemented Interfaces:</dt> 128<dd><a href="../../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitable.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitable</a>, <a href="../../../../../com/fasterxml/jackson/databind/jsonschema/SchemaAware.html" title="interface in com.fasterxml.jackson.databind.jsonschema">SchemaAware</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser">ContextualSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser">ResolvableSerializer</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></dd> 129</dl> 130<hr> 131<br> 132<pre>public class <span class="typeNameLabel">BeanSerializer</span> 133extends <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></pre> 134<div class="block">Serializer class that can serialize Java objects that map 135 to JSON Object output. Internally handling is mostly dealt with 136 by a sequence of <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanPropertyWriter</code></a>s that will handle 137 access value to serialize and call appropriate serializers to 138 write out JSON. 139<p> 140 Implementation note: we will post-process resulting serializer, 141 to figure out actual serializers for final types. This must be 142 done from <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#resolve-com.fasterxml.jackson.databind.SerializerProvider-"><code>BeanSerializerBase.resolve(com.fasterxml.jackson.databind.SerializerProvider)</code></a> method, and NOT from constructor; 143 otherwise we could end up with an infinite loop.</div> 144<dl> 145<dt><span class="seeLabel">See Also:</span></dt> 146<dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.ser.BeanSerializer">Serialized Form</a></dd> 147</dl> 148</li> 149</ul> 150</div> 151<div class="summary"> 152<ul class="blockList"> 153<li class="blockList"> 154<!-- ======== NESTED CLASS SUMMARY ======== --> 155<ul class="blockList"> 156<li class="blockList"><a name="nested.class.summary"> 157<!-- --> 158</a> 159<h3>Nested Class Summary</h3> 160<ul class="blockList"> 161<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializer"> 162<!-- --> 163</a> 164<h3>Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a></h3> 165<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.None.html" title="class in com.fasterxml.jackson.databind">JsonSerializer.None</a></code></li> 166</ul> 167</li> 168</ul> 169<!-- =========== FIELD SUMMARY =========== --> 170<ul class="blockList"> 171<li class="blockList"><a name="field.summary"> 172<!-- --> 173</a> 174<h3>Field Summary</h3> 175<ul class="blockList"> 176<li class="blockList"><a name="fields.inherited.from.class.com.fasterxml.jackson.databind.ser.std.BeanSerializerBase"> 177<!-- --> 178</a> 179<h3>Fields inherited from class com.fasterxml.jackson.databind.ser.std.<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></h3> 180<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#Z:Z_anyGetterWriter">_anyGetterWriter</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#Z:Z_beanType">_beanType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#Z:Z_filteredProps">_filteredProps</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#Z:Z_objectIdWriter">_objectIdWriter</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#Z:Z_propertyFilterId">_propertyFilterId</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#Z:Z_props">_props</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#Z:Z_serializationShape">_serializationShape</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#Z:Z_typeId">_typeId</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#NAME_FOR_OBJECT_REF">NAME_FOR_OBJECT_REF</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#NO_PROPS">NO_PROPS</a></code></li> 181</ul> 182<ul class="blockList"> 183<li class="blockList"><a name="fields.inherited.from.class.com.fasterxml.jackson.databind.ser.std.StdSerializer"> 184<!-- --> 185</a> 186<h3>Fields inherited from class com.fasterxml.jackson.databind.ser.std.<a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdSerializer</a></h3> 187<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#Z:Z_handledType">_handledType</a></code></li> 188</ul> 189</li> 190</ul> 191<!-- ======== CONSTRUCTOR SUMMARY ======== --> 192<ul class="blockList"> 193<li class="blockList"><a name="constructor.summary"> 194<!-- --> 195</a> 196<h3>Constructor Summary</h3> 197<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 198<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 199<tr> 200<th class="colFirst" scope="col">Modifier</th> 201<th class="colLast" scope="col">Constructor and Description</th> 202</tr> 203<tr class="altColor"> 204<td class="colFirst"><code>protected </code></td> 205<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#BeanSerializer-com.fasterxml.jackson.databind.ser.std.BeanSerializerBase-">BeanSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a> src)</code> 206<div class="block">Alternate copy constructor that can be used to construct 207 standard <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializer</code></a> passing an instance of 208 "compatible enough" source serializer.</div> 209</td> 210</tr> 211<tr class="rowColor"> 212<td class="colFirst"><code>protected </code></td> 213<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#BeanSerializer-com.fasterxml.jackson.databind.ser.std.BeanSerializerBase-com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter-">BeanSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a> src, 214 <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a> objectIdWriter)</code> </td> 215</tr> 216<tr class="altColor"> 217<td class="colFirst"><code>protected </code></td> 218<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#BeanSerializer-com.fasterxml.jackson.databind.ser.std.BeanSerializerBase-com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter-java.lang.Object-">BeanSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a> src, 219 <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a> objectIdWriter, 220 <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> filterId)</code> </td> 221</tr> 222<tr class="rowColor"> 223<td class="colFirst"><code>protected </code></td> 224<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#BeanSerializer-com.fasterxml.jackson.databind.ser.std.BeanSerializerBase-java.util.Set-">BeanSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a> src, 225 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<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>> toIgnore)</code> </td> 226</tr> 227<tr class="altColor"> 228<td class="colFirst"><code> </code></td> 229<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#BeanSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.ser.BeanSerializerBuilder-com.fasterxml.jackson.databind.ser.BeanPropertyWriter:A-com.fasterxml.jackson.databind.ser.BeanPropertyWriter:A-">BeanSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 230 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</a> builder, 231 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[] properties, 232 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[] filteredProperties)</code> </td> 233</tr> 234</table> 235</li> 236</ul> 237<!-- ========== METHOD SUMMARY =========== --> 238<ul class="blockList"> 239<li class="blockList"><a name="method.summary"> 240<!-- --> 241</a> 242<h3>Method Summary</h3> 243<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 244<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><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> 245<tr> 246<th class="colFirst" scope="col">Modifier and Type</th> 247<th class="colLast" scope="col">Method and Description</th> 248</tr> 249<tr id="i0" class="altColor"> 250<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></td> 251<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#asArraySerializer--">asArraySerializer</a></span>()</code> 252<div class="block">Implementation has to check whether as-array serialization 253 is possible reliably; if (and only if) so, will construct 254 a <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/BeanAsArraySerializer.html" title="class in com.fasterxml.jackson.databind.ser.impl"><code>BeanAsArraySerializer</code></a>, otherwise will return this 255 serializer as is.</div> 256</td> 257</tr> 258<tr id="i1" class="rowColor"> 259<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializer</a></code></td> 260<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#createDummy-com.fasterxml.jackson.databind.JavaType-">createDummy</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> forType)</code> 261<div class="block"><span class="deprecatedLabel">Deprecated.</span> 262<div class="block"><span class="deprecationComment">Since 2.10</span></div> 263</div> 264</td> 265</tr> 266<tr id="i2" class="altColor"> 267<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializer</a></code></td> 268<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#createDummy-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.ser.BeanSerializerBuilder-">createDummy</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> forType, 269 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</a> builder)</code> 270<div class="block">Method for constructing dummy bean serializer; one that 271 never outputs any properties</div> 272</td> 273</tr> 274<tr id="i3" class="rowColor"> 275<td class="colFirst"><code>void</code></td> 276<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#serialize-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</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> bean, 277 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.11/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 278 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider)</code> 279<div class="block">Main serialization method that will delegate actual output to 280 configured 281 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanPropertyWriter</code></a> instances.</div> 282</td> 283</tr> 284<tr id="i4" class="altColor"> 285<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> 286<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#toString--">toString</a></span>()</code> </td> 287</tr> 288<tr id="i5" class="rowColor"> 289<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<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> 290<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#unwrappingSerializer-com.fasterxml.jackson.databind.util.NameTransformer-">unwrappingSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/util/NameTransformer.html" title="class in com.fasterxml.jackson.databind.util">NameTransformer</a> unwrapper)</code> 291<div class="block">Method that will return serializer instance that produces 292 "unwrapped" serialization, if applicable for type being 293 serialized (which is the case for some serializers 294 that produce JSON Objects as output).</div> 295</td> 296</tr> 297<tr id="i6" class="altColor"> 298<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></td> 299<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#withFilterId-java.lang.Object-">withFilterId</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> filterId)</code> 300<div class="block">Mutant factory used for creating a new instance with different 301 filter id (used with <code>JsonFilter</code> annotation)</div> 302</td> 303</tr> 304<tr id="i7" class="rowColor"> 305<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></td> 306<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#withIgnorals-java.util.Set-">withIgnorals</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<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>> toIgnore)</code> 307<div class="block">Mutant factory used for creating a new instance with additional 308 set of properties to ignore (from properties this instance otherwise has)</div> 309</td> 310</tr> 311<tr id="i8" class="altColor"> 312<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></td> 313<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html#withObjectIdWriter-com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter-">withObjectIdWriter</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a> objectIdWriter)</code> 314<div class="block">Mutant factory used for creating a new instance with different 315 <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl"><code>ObjectIdWriter</code></a>.</div> 316</td> 317</tr> 318</table> 319<ul class="blockList"> 320<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.ser.std.BeanSerializerBase"> 321<!-- --> 322</a> 323<h3>Methods inherited from class com.fasterxml.jackson.databind.ser.std.<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></h3> 324<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#Z:Z_customTypeId-java.lang.Object-">_customTypeId</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#Z:Z_serializeObjectId-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.ser.impl.WritableObjectId-">_serializeObjectId</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#Z:Z_serializeWithObjectId-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-boolean-">_serializeWithObjectId</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#Z:Z_serializeWithObjectId-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">_serializeWithObjectId</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#Z:Z_typeIdDef-com.fasterxml.jackson.databind.jsontype.TypeSerializer-java.lang.Object-com.fasterxml.jackson.core.JsonToken-">_typeIdDef</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#acceptJsonFormatVisitor-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-">acceptJsonFormatVisitor</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#createContextual-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.BeanProperty-">createContextual</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#findConvertingSerializer-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.ser.BeanPropertyWriter-">findConvertingSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#getSchema-com.fasterxml.jackson.databind.SerializerProvider-java.lang.reflect.Type-">getSchema</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#properties--">properties</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#resolve-com.fasterxml.jackson.databind.SerializerProvider-">resolve</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#serializeFields-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serializeFields</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#serializeFieldsFiltered-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serializeFieldsFiltered</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#serializeWithType-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.jsontype.TypeSerializer-">serializeWithType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#usesObjectId--">usesObjectId</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#withIgnorals-java.lang.String:A-">withIgnorals</a></code></li> 325</ul> 326<ul class="blockList"> 327<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.ser.std.StdSerializer"> 328<!-- --> 329</a> 330<h3>Methods inherited from class com.fasterxml.jackson.databind.ser.std.<a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std">StdSerializer</a></h3> 331<code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#Z:Z_neitherNull-java.lang.Object-java.lang.Object-">_neitherNull</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#Z:Z_nonEmpty-java.util.Collection-">_nonEmpty</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#createSchemaNode-java.lang.String-">createSchemaNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#createSchemaNode-java.lang.String-boolean-">createSchemaNode</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findAnnotatedContentSerializer-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.BeanProperty-">findAnnotatedContentSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findContextualConvertingSerializer-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.BeanProperty-com.fasterxml.jackson.databind.JsonSerializer-">findContextualConvertingSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findConvertingContentSerializer-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.BeanProperty-com.fasterxml.jackson.databind.JsonSerializer-">findConvertingContentSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findFormatFeature-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.BeanProperty-java.lang.Class-com.fasterxml.jackson.annotation.JsonFormat.Feature-">findFormatFeature</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findFormatOverrides-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.BeanProperty-java.lang.Class-">findFormatOverrides</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findIncludeOverrides-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.BeanProperty-java.lang.Class-">findIncludeOverrides</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#findPropertyFilter-com.fasterxml.jackson.databind.SerializerProvider-java.lang.Object-java.lang.Object-">findPropertyFilter</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#getSchema-com.fasterxml.jackson.databind.SerializerProvider-java.lang.reflect.Type-boolean-">getSchema</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#handledType--">handledType</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#isDefaultSerializer-com.fasterxml.jackson.databind.JsonSerializer-">isDefaultSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitArrayFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatTypes-">visitArrayFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitArrayFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.JavaType-">visitArrayFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitFloatFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.core.JsonParser.NumberType-">visitFloatFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitIntFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.core.JsonParser.NumberType-">visitIntFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitIntFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.core.JsonParser.NumberType-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat-">visitIntFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitStringFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-">visitStringFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#visitStringFormat-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonValueFormat-">visitStringFormat</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#wrapAndThrow-com.fasterxml.jackson.databind.SerializerProvider-java.lang.Throwable-java.lang.Object-int-">wrapAndThrow</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/std/StdSerializer.html#wrapAndThrow-com.fasterxml.jackson.databind.SerializerProvider-java.lang.Throwable-java.lang.Object-java.lang.String-">wrapAndThrow</a></code></li> 332</ul> 333<ul class="blockList"> 334<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializer"> 335<!-- --> 336</a> 337<h3>Methods inherited from class com.fasterxml.jackson.databind.<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a></h3> 338<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#getDelegatee--">getDelegatee</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#isEmpty-com.fasterxml.jackson.databind.SerializerProvider-T-">isEmpty</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#isEmpty-T-">isEmpty</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#isUnwrappingSerializer--">isUnwrappingSerializer</a>, <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#replaceDelegatee-com.fasterxml.jackson.databind.JsonSerializer-">replaceDelegatee</a></code></li> 339</ul> 340<ul class="blockList"> 341<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 342<!-- --> 343</a> 344<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> 345<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#equals-java.lang.Object-" title="class or interface in java.lang">equals</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#hashCode--" title="class or interface in java.lang">hashCode</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> 346</ul> 347<ul class="blockList"> 348<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.jsonschema.SchemaAware"> 349<!-- --> 350</a> 351<h3>Methods inherited from interface com.fasterxml.jackson.databind.jsonschema.<a href="../../../../../com/fasterxml/jackson/databind/jsonschema/SchemaAware.html" title="interface in com.fasterxml.jackson.databind.jsonschema">SchemaAware</a></h3> 352<code><a href="../../../../../com/fasterxml/jackson/databind/jsonschema/SchemaAware.html#getSchema-com.fasterxml.jackson.databind.SerializerProvider-java.lang.reflect.Type-boolean-">getSchema</a></code></li> 353</ul> 354</li> 355</ul> 356</li> 357</ul> 358</div> 359<div class="details"> 360<ul class="blockList"> 361<li class="blockList"> 362<!-- ========= CONSTRUCTOR DETAIL ======== --> 363<ul class="blockList"> 364<li class="blockList"><a name="constructor.detail"> 365<!-- --> 366</a> 367<h3>Constructor Detail</h3> 368<a name="BeanSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.ser.BeanSerializerBuilder-com.fasterxml.jackson.databind.ser.BeanPropertyWriter:A-com.fasterxml.jackson.databind.ser.BeanPropertyWriter:A-"> 369<!-- --> 370</a> 371<ul class="blockList"> 372<li class="blockList"> 373<h4>BeanSerializer</h4> 374<pre>public BeanSerializer(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 375 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</a> builder, 376 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[] properties, 377 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>[] filteredProperties)</pre> 378<dl> 379<dt><span class="paramLabel">Parameters:</span></dt> 380<dd><code>builder</code> - Builder object that contains collected information 381 that may be needed for serializer</dd> 382<dd><code>properties</code> - Property writers used for actual serialization</dd> 383</dl> 384</li> 385</ul> 386<a name="BeanSerializer-com.fasterxml.jackson.databind.ser.std.BeanSerializerBase-"> 387<!-- --> 388</a> 389<ul class="blockList"> 390<li class="blockList"> 391<h4>BeanSerializer</h4> 392<pre>protected BeanSerializer(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a> src)</pre> 393<div class="block">Alternate copy constructor that can be used to construct 394 standard <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializer</code></a> passing an instance of 395 "compatible enough" source serializer.</div> 396</li> 397</ul> 398<a name="BeanSerializer-com.fasterxml.jackson.databind.ser.std.BeanSerializerBase-com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter-"> 399<!-- --> 400</a> 401<ul class="blockList"> 402<li class="blockList"> 403<h4>BeanSerializer</h4> 404<pre>protected BeanSerializer(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a> src, 405 <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a> objectIdWriter)</pre> 406</li> 407</ul> 408<a name="BeanSerializer-com.fasterxml.jackson.databind.ser.std.BeanSerializerBase-com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter-java.lang.Object-"> 409<!-- --> 410</a> 411<ul class="blockList"> 412<li class="blockList"> 413<h4>BeanSerializer</h4> 414<pre>protected BeanSerializer(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a> src, 415 <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a> objectIdWriter, 416 <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> filterId)</pre> 417</li> 418</ul> 419<a name="BeanSerializer-com.fasterxml.jackson.databind.ser.std.BeanSerializerBase-java.util.Set-"> 420<!-- --> 421</a> 422<ul class="blockListLast"> 423<li class="blockList"> 424<h4>BeanSerializer</h4> 425<pre>protected BeanSerializer(<a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a> src, 426 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<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>> toIgnore)</pre> 427</li> 428</ul> 429</li> 430</ul> 431<!-- ============ METHOD DETAIL ========== --> 432<ul class="blockList"> 433<li class="blockList"><a name="method.detail"> 434<!-- --> 435</a> 436<h3>Method Detail</h3> 437<a name="createDummy-com.fasterxml.jackson.databind.JavaType-"> 438<!-- --> 439</a> 440<ul class="blockList"> 441<li class="blockList"> 442<h4>createDummy</h4> 443<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 444public static <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializer</a> createDummy(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> forType)</pre> 445<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since 2.10</span></div> 446</li> 447</ul> 448<a name="createDummy-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.ser.BeanSerializerBuilder-"> 449<!-- --> 450</a> 451<ul class="blockList"> 452<li class="blockList"> 453<h4>createDummy</h4> 454<pre>public static <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializer</a> createDummy(<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> forType, 455 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</a> builder)</pre> 456<div class="block">Method for constructing dummy bean serializer; one that 457 never outputs any properties</div> 458<dl> 459<dt><span class="simpleTagLabel">Since:</span></dt> 460<dd>2.10</dd> 461</dl> 462</li> 463</ul> 464<a name="unwrappingSerializer-com.fasterxml.jackson.databind.util.NameTransformer-"> 465<!-- --> 466</a> 467<ul class="blockList"> 468<li class="blockList"> 469<h4>unwrappingSerializer</h4> 470<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<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>> unwrappingSerializer(<a href="../../../../../com/fasterxml/jackson/databind/util/NameTransformer.html" title="class in com.fasterxml.jackson.databind.util">NameTransformer</a> unwrapper)</pre> 471<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#unwrappingSerializer-com.fasterxml.jackson.databind.util.NameTransformer-">JsonSerializer</a></code></span></div> 472<div class="block">Method that will return serializer instance that produces 473 "unwrapped" serialization, if applicable for type being 474 serialized (which is the case for some serializers 475 that produce JSON Objects as output). 476 If no unwrapped serializer can be constructed, will simply 477 return serializer as-is. 478<p> 479 Default implementation just returns serializer as-is, 480 indicating that no unwrapped variant exists</div> 481<dl> 482<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 483<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#unwrappingSerializer-com.fasterxml.jackson.databind.util.NameTransformer-">unwrappingSerializer</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<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></dd> 484<dt><span class="paramLabel">Parameters:</span></dt> 485<dd><code>unwrapper</code> - Name transformation to use to convert between names 486 of unwrapper properties</dd> 487</dl> 488</li> 489</ul> 490<a name="withObjectIdWriter-com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter-"> 491<!-- --> 492</a> 493<ul class="blockList"> 494<li class="blockList"> 495<h4>withObjectIdWriter</h4> 496<pre>public <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a> withObjectIdWriter(<a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl">ObjectIdWriter</a> objectIdWriter)</pre> 497<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#withObjectIdWriter-com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter-">BeanSerializerBase</a></code></span></div> 498<div class="block">Mutant factory used for creating a new instance with different 499 <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/ObjectIdWriter.html" title="class in com.fasterxml.jackson.databind.ser.impl"><code>ObjectIdWriter</code></a>.</div> 500<dl> 501<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 502<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#withObjectIdWriter-com.fasterxml.jackson.databind.ser.impl.ObjectIdWriter-">withObjectIdWriter</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></dd> 503</dl> 504</li> 505</ul> 506<a name="withFilterId-java.lang.Object-"> 507<!-- --> 508</a> 509<ul class="blockList"> 510<li class="blockList"> 511<h4>withFilterId</h4> 512<pre>public <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a> withFilterId(<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> filterId)</pre> 513<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#withFilterId-java.lang.Object-">BeanSerializerBase</a></code></span></div> 514<div class="block">Mutant factory used for creating a new instance with different 515 filter id (used with <code>JsonFilter</code> annotation)</div> 516<dl> 517<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 518<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#withFilterId-java.lang.Object-">withFilterId</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></dd> 519</dl> 520</li> 521</ul> 522<a name="withIgnorals-java.util.Set-"> 523<!-- --> 524</a> 525<ul class="blockList"> 526<li class="blockList"> 527<h4>withIgnorals</h4> 528<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a> withIgnorals(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a><<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>> toIgnore)</pre> 529<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#withIgnorals-java.util.Set-">BeanSerializerBase</a></code></span></div> 530<div class="block">Mutant factory used for creating a new instance with additional 531 set of properties to ignore (from properties this instance otherwise has)</div> 532<dl> 533<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 534<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#withIgnorals-java.util.Set-">withIgnorals</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></dd> 535</dl> 536</li> 537</ul> 538<a name="asArraySerializer--"> 539<!-- --> 540</a> 541<ul class="blockList"> 542<li class="blockList"> 543<h4>asArraySerializer</h4> 544<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a> asArraySerializer()</pre> 545<div class="block">Implementation has to check whether as-array serialization 546 is possible reliably; if (and only if) so, will construct 547 a <a href="../../../../../com/fasterxml/jackson/databind/ser/impl/BeanAsArraySerializer.html" title="class in com.fasterxml.jackson.databind.ser.impl"><code>BeanAsArraySerializer</code></a>, otherwise will return this 548 serializer as is.</div> 549<dl> 550<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 551<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#asArraySerializer--">asArraySerializer</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></dd> 552</dl> 553</li> 554</ul> 555<a name="serialize-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-"> 556<!-- --> 557</a> 558<ul class="blockList"> 559<li class="blockList"> 560<h4>serialize</h4> 561<pre>public final void serialize(<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> bean, 562 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.11/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 563 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> provider) 564 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 565<div class="block">Main serialization method that will delegate actual output to 566 configured 567 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanPropertyWriter</code></a> instances.</div> 568<dl> 569<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 570<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html#serialize-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-com.fasterxml.jackson.databind.SerializerProvider-">serialize</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/std/BeanSerializerBase.html" title="class in com.fasterxml.jackson.databind.ser.std">BeanSerializerBase</a></code></dd> 571<dt><span class="paramLabel">Parameters:</span></dt> 572<dd><code>bean</code> - Value to serialize; can <b>not</b> be null.</dd> 573<dd><code>gen</code> - Generator used to output resulting Json content</dd> 574<dd><code>provider</code> - Provider that can be used to get serializers for 575 serializing Objects value contains, if any.</dd> 576<dt><span class="throwsLabel">Throws:</span></dt> 577<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> 578</dl> 579</li> 580</ul> 581<a name="toString--"> 582<!-- --> 583</a> 584<ul class="blockListLast"> 585<li class="blockList"> 586<h4>toString</h4> 587<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> 588<dl> 589<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 590<dd><code><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">toString</a></code> in class <code><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></dd> 591</dl> 592</li> 593</ul> 594</li> 595</ul> 596</li> 597</ul> 598</div> 599</div> 600<!-- ========= END OF CLASS DATA ========= --> 601<!-- ======= START OF BOTTOM NAVBAR ====== --> 602<div class="bottomNav"><a name="navbar.bottom"> 603<!-- --> 604</a> 605<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 606<a name="navbar.bottom.firstrow"> 607<!-- --> 608</a> 609<ul class="navList" title="Navigation"> 610<li><a href="../../../../../overview-summary.html">Overview</a></li> 611<li><a href="package-summary.html">Package</a></li> 612<li class="navBarCell1Rev">Class</li> 613<li><a href="class-use/BeanSerializer.html">Use</a></li> 614<li><a href="package-tree.html">Tree</a></li> 615<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 616<li><a href="../../../../../index-all.html">Index</a></li> 617<li><a href="../../../../../help-doc.html">Help</a></li> 618</ul> 619</div> 620<div class="subNav"> 621<ul class="navList"> 622<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev Class</span></a></li> 623<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Next Class</span></a></li> 624</ul> 625<ul class="navList"> 626<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/BeanSerializer.html" target="_top">Frames</a></li> 627<li><a href="BeanSerializer.html" target="_top">No Frames</a></li> 628</ul> 629<ul class="navList" id="allclasses_navbar_bottom"> 630<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 631</ul> 632<div> 633<script type="text/javascript"><!-- 634 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 635 if(window==top) { 636 allClassesLink.style.display = "block"; 637 } 638 else { 639 allClassesLink.style.display = "none"; 640 } 641 //--> 642</script> 643</div> 644<div> 645<ul class="subNavList"> 646<li>Summary: </li> 647<li><a href="#nested.classes.inherited.from.class.com.fasterxml.jackson.databind.JsonSerializer">Nested</a> | </li> 648<li><a href="#fields.inherited.from.class.com.fasterxml.jackson.databind.ser.std.BeanSerializerBase">Field</a> | </li> 649<li><a href="#constructor.summary">Constr</a> | </li> 650<li><a href="#method.summary">Method</a></li> 651</ul> 652<ul class="subNavList"> 653<li>Detail: </li> 654<li>Field | </li> 655<li><a href="#constructor.detail">Constr</a> | </li> 656<li><a href="#method.detail">Method</a></li> 657</ul> 658</div> 659<a name="skip.navbar.bottom"> 660<!-- --> 661</a></div> 662<!-- ======== END OF BOTTOM NAVBAR ======= --> 663<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 664</body> 665</html> 666