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>Serializers (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="Serializers (jackson-databind 2.11.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/Serializers.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/SerializerFactory.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/Serializers.Base.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/Serializers.html" target="_top">Frames</a></li> 58<li><a href="Serializers.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.class.summary">Nested</a> | </li> 79<li>Field | </li> 80<li>Constr | </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>Constr | </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="Interface Serializers" class="title">Interface Serializers</h2> 98</div> 99<div class="contentContainer"> 100<div class="description"> 101<ul class="blockList"> 102<li class="blockList"> 103<dl> 104<dt>All Known Implementing Classes:</dt> 105<dd><a href="../../../../../com/fasterxml/jackson/databind/ext/CoreXMLSerializers.html" title="class in com.fasterxml.jackson.databind.ext">CoreXMLSerializers</a>, <a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a>, <a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html" title="class in com.fasterxml.jackson.databind.module">SimpleSerializers</a></dd> 106</dl> 107<hr> 108<br> 109<pre>public interface <span class="typeNameLabel">Serializers</span></pre> 110<div class="block">Interface that defines API for simple extensions that can provide additional serializers 111 for various types. Access is by a single callback method; instance is to either return 112 a configured <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> for specified type, or null to indicate that it 113 does not support handling of the type. In latter case, further calls can be made 114 for other providers; in former case returned serializer is used for handling of 115 instances of specified type.</div> 116</li> 117</ul> 118</div> 119<div class="summary"> 120<ul class="blockList"> 121<li class="blockList"> 122<!-- ======== NESTED CLASS SUMMARY ======== --> 123<ul class="blockList"> 124<li class="blockList"><a name="nested.class.summary"> 125<!-- --> 126</a> 127<h3>Nested Class Summary</h3> 128<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> 129<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> 130<tr> 131<th class="colFirst" scope="col">Modifier and Type</th> 132<th class="colLast" scope="col">Interface and Description</th> 133</tr> 134<tr class="altColor"> 135<td class="colFirst"><code>static class </code></td> 136<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></span></code> 137<div class="block">Basic <a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser"><code>Serializers</code></a> implementation that implements all methods but provides 138 no serializers.</div> 139</td> 140</tr> 141</table> 142</li> 143</ul> 144<!-- ========== METHOD SUMMARY =========== --> 145<ul class="blockList"> 146<li class="blockList"><a name="method.summary"> 147<!-- --> 148</a> 149<h3>Method Summary</h3> 150<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 151<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></caption> 152<tr> 153<th class="colFirst" scope="col">Modifier and Type</th> 154<th class="colLast" scope="col">Method and Description</th> 155</tr> 156<tr id="i0" class="altColor"> 157<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 158<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findArraySerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.ArrayType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-">findArraySerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 159 <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</a> type, 160 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 161 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 162 <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>> elementValueSerializer)</code> 163<div class="block">Method called by serialization framework first time a serializer is needed for 164 specified array type.</div> 165</td> 166</tr> 167<tr id="i1" class="rowColor"> 168<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 169<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findCollectionLikeSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.CollectionLikeType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-">findCollectionLikeSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 170 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</a> type, 171 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 172 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 173 <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>> elementValueSerializer)</code> 174<div class="block">Method called by serialization framework first time a serializer is needed for 175 specified "Collection-like" type (type that acts like <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>, 176 but does not implement it).</div> 177</td> 178</tr> 179<tr id="i2" class="altColor"> 180<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 181<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findCollectionSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.CollectionType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-">findCollectionSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 182 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</a> type, 183 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 184 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 185 <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>> elementValueSerializer)</code> 186<div class="block">Method called by serialization framework first time a serializer is needed for 187 specified <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div> 188</td> 189</tr> 190<tr id="i3" class="rowColor"> 191<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 192<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findMapLikeSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.MapLikeType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-">findMapLikeSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 193 <a href="../../../../../com/fasterxml/jackson/databind/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</a> type, 194 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 195 <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>> keySerializer, 196 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 197 <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>> elementValueSerializer)</code> 198<div class="block">Method called by serialization framework first time a serializer is needed for 199 specified "Map-like" type (type that acts like <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>, 200 but does not implement it).</div> 201</td> 202</tr> 203<tr id="i4" class="altColor"> 204<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 205<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findMapSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.MapType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-">findMapSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 206 <a href="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</a> type, 207 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 208 <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>> keySerializer, 209 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 210 <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>> elementValueSerializer)</code> 211<div class="block">Method called by serialization framework first time a serializer is needed for 212 specified <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> type.</div> 213</td> 214</tr> 215<tr id="i5" class="rowColor"> 216<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 217<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findReferenceSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.ReferenceType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-">findReferenceSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 218 <a href="../../../../../com/fasterxml/jackson/databind/type/ReferenceType.html" title="class in com.fasterxml.jackson.databind.type">ReferenceType</a> type, 219 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 220 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> contentTypeSerializer, 221 <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>> contentValueSerializer)</code> 222<div class="block">Method called by serialization framework first time a serializer is needed for 223 given <a href="../../../../../com/fasterxml/jackson/databind/type/ReferenceType.html" title="class in com.fasterxml.jackson.databind.type"><code>ReferenceType</code></a></div> 224</td> 225</tr> 226<tr id="i6" class="altColor"> 227<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 228<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html#findSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanDescription-">findSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 229 <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/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</code> 231<div class="block">Method called by serialization framework first time a serializer is needed for 232 specified type, which is not of a container or reference type (for which 233 other methods are called).</div> 234</td> 235</tr> 236</table> 237</li> 238</ul> 239</li> 240</ul> 241</div> 242<div class="details"> 243<ul class="blockList"> 244<li class="blockList"> 245<!-- ============ METHOD DETAIL ========== --> 246<ul class="blockList"> 247<li class="blockList"><a name="method.detail"> 248<!-- --> 249</a> 250<h3>Method Detail</h3> 251<a name="findSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanDescription-"> 252<!-- --> 253</a> 254<ul class="blockList"> 255<li class="blockList"> 256<h4>findSerializer</h4> 257<pre><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> findSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 258 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 259 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</pre> 260<div class="block">Method called by serialization framework first time a serializer is needed for 261 specified type, which is not of a container or reference type (for which 262 other methods are called).</div> 263<dl> 264<dt><span class="paramLabel">Parameters:</span></dt> 265<dd><code>type</code> - Fully resolved type of instances to serialize</dd> 266<dd><code>config</code> - Serialization configuration in use</dd> 267<dd><code>beanDesc</code> - Additional information about type</dd> 268<dt><span class="returnLabel">Returns:</span></dt> 269<dd>Configured serializer to use for the type; or null if implementation 270 does not recognize or support type</dd> 271</dl> 272</li> 273</ul> 274<a name="findReferenceSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.ReferenceType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-"> 275<!-- --> 276</a> 277<ul class="blockList"> 278<li class="blockList"> 279<h4>findReferenceSerializer</h4> 280<pre><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> findReferenceSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 281 <a href="../../../../../com/fasterxml/jackson/databind/type/ReferenceType.html" title="class in com.fasterxml.jackson.databind.type">ReferenceType</a> type, 282 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 283 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> contentTypeSerializer, 284 <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>> contentValueSerializer)</pre> 285<div class="block">Method called by serialization framework first time a serializer is needed for 286 given <a href="../../../../../com/fasterxml/jackson/databind/type/ReferenceType.html" title="class in com.fasterxml.jackson.databind.type"><code>ReferenceType</code></a></div> 287<dl> 288<dt><span class="simpleTagLabel">Since:</span></dt> 289<dd>2.7</dd> 290</dl> 291</li> 292</ul> 293<a name="findArraySerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.ArrayType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-"> 294<!-- --> 295</a> 296<ul class="blockList"> 297<li class="blockList"> 298<h4>findArraySerializer</h4> 299<pre><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> findArraySerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 300 <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</a> type, 301 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 302 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 303 <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>> elementValueSerializer)</pre> 304<div class="block">Method called by serialization framework first time a serializer is needed for 305 specified array type. 306 Implementation should return a serializer instance if it supports 307 specified type; or null if it does not.</div> 308</li> 309</ul> 310<a name="findCollectionSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.CollectionType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-"> 311<!-- --> 312</a> 313<ul class="blockList"> 314<li class="blockList"> 315<h4>findCollectionSerializer</h4> 316<pre><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> findCollectionSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 317 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</a> type, 318 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 319 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 320 <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>> elementValueSerializer)</pre> 321<div class="block">Method called by serialization framework first time a serializer is needed for 322 specified <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type. 323 Implementation should return a serializer instance if it supports 324 specified type; or null if it does not.</div> 325</li> 326</ul> 327<a name="findCollectionLikeSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.CollectionLikeType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-"> 328<!-- --> 329</a> 330<ul class="blockList"> 331<li class="blockList"> 332<h4>findCollectionLikeSerializer</h4> 333<pre><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> findCollectionLikeSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 334 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</a> type, 335 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 336 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 337 <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>> elementValueSerializer)</pre> 338<div class="block">Method called by serialization framework first time a serializer is needed for 339 specified "Collection-like" type (type that acts like <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>, 340 but does not implement it). 341 Implementation should return a serializer instance if it supports 342 specified type; or null if it does not.</div> 343</li> 344</ul> 345<a name="findMapSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.MapType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-"> 346<!-- --> 347</a> 348<ul class="blockList"> 349<li class="blockList"> 350<h4>findMapSerializer</h4> 351<pre><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> findMapSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 352 <a href="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</a> type, 353 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 354 <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>> keySerializer, 355 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 356 <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>> elementValueSerializer)</pre> 357<div class="block">Method called by serialization framework first time a serializer is needed for 358 specified <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> type. 359 Implementation should return a serializer instance if it supports 360 specified type; or null if it does not.</div> 361</li> 362</ul> 363<a name="findMapLikeSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.MapLikeType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.jsontype.TypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-"> 364<!-- --> 365</a> 366<ul class="blockListLast"> 367<li class="blockList"> 368<h4>findMapLikeSerializer</h4> 369<pre><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> findMapLikeSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 370 <a href="../../../../../com/fasterxml/jackson/databind/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</a> type, 371 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 372 <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>> keySerializer, 373 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 374 <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>> elementValueSerializer)</pre> 375<div class="block">Method called by serialization framework first time a serializer is needed for 376 specified "Map-like" type (type that acts like <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a>, 377 but does not implement it). 378 Implementation should return a serializer instance if it supports 379 specified type; or null if it does not.</div> 380</li> 381</ul> 382</li> 383</ul> 384</li> 385</ul> 386</div> 387</div> 388<!-- ========= END OF CLASS DATA ========= --> 389<!-- ======= START OF BOTTOM NAVBAR ====== --> 390<div class="bottomNav"><a name="navbar.bottom"> 391<!-- --> 392</a> 393<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 394<a name="navbar.bottom.firstrow"> 395<!-- --> 396</a> 397<ul class="navList" title="Navigation"> 398<li><a href="../../../../../overview-summary.html">Overview</a></li> 399<li><a href="package-summary.html">Package</a></li> 400<li class="navBarCell1Rev">Class</li> 401<li><a href="class-use/Serializers.html">Use</a></li> 402<li><a href="package-tree.html">Tree</a></li> 403<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 404<li><a href="../../../../../index-all.html">Index</a></li> 405<li><a href="../../../../../help-doc.html">Help</a></li> 406</ul> 407</div> 408<div class="subNav"> 409<ul class="navList"> 410<li><a href="../../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev Class</span></a></li> 411<li><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Next Class</span></a></li> 412</ul> 413<ul class="navList"> 414<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/Serializers.html" target="_top">Frames</a></li> 415<li><a href="Serializers.html" target="_top">No Frames</a></li> 416</ul> 417<ul class="navList" id="allclasses_navbar_bottom"> 418<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 419</ul> 420<div> 421<script type="text/javascript"><!-- 422 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 423 if(window==top) { 424 allClassesLink.style.display = "block"; 425 } 426 else { 427 allClassesLink.style.display = "none"; 428 } 429 //--> 430</script> 431</div> 432<div> 433<ul class="subNavList"> 434<li>Summary: </li> 435<li><a href="#nested.class.summary">Nested</a> | </li> 436<li>Field | </li> 437<li>Constr | </li> 438<li><a href="#method.summary">Method</a></li> 439</ul> 440<ul class="subNavList"> 441<li>Detail: </li> 442<li>Field | </li> 443<li>Constr | </li> 444<li><a href="#method.detail">Method</a></li> 445</ul> 446</div> 447<a name="skip.navbar.bottom"> 448<!-- --> 449</a></div> 450<!-- ======== END OF BOTTOM NAVBAR ======= --> 451<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 452</body> 453</html> 454