1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (1.8.0_162) on Tue Mar 24 11:44:39 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>SimpleSerializers (jackson-databind 2.11.0.rc1 API)</title> 8<meta name="date" content="2020-03-24"> 9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="SimpleSerializers (jackson-databind 2.11.0.rc1 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../../overview-summary.html">Overview</a></li> 42<li><a href="package-summary.html">Package</a></li> 43<li class="navBarCell1Rev">Class</li> 44<li><a href="class-use/SimpleSerializers.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/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleValueInstantiators.html" title="class in com.fasterxml.jackson.databind.module"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/module/SimpleSerializers.html" target="_top">Frames</a></li> 58<li><a href="SimpleSerializers.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 62</ul> 63<div> 64<script type="text/javascript"><!-- 65 allClassesLink = document.getElementById("allclasses_navbar_top"); 66 if(window==top) { 67 allClassesLink.style.display = "block"; 68 } 69 else { 70 allClassesLink.style.display = "none"; 71 } 72 //--> 73</script> 74</div> 75<div> 76<ul class="subNavList"> 77<li>Summary: </li> 78<li>Nested | </li> 79<li><a href="#field.summary">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><a href="#field.detail">Field</a> | </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.module</div> 97<h2 title="Class SimpleSerializers" class="title">Class SimpleSerializers</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/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">com.fasterxml.jackson.databind.ser.Serializers.Base</a></li> 105<li> 106<ul class="inheritance"> 107<li>com.fasterxml.jackson.databind.module.SimpleSerializers</li> 108</ul> 109</li> 110</ul> 111</li> 112</ul> 113<div class="description"> 114<ul class="blockList"> 115<li class="blockList"> 116<dl> 117<dt>All Implemented Interfaces:</dt> 118<dd><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</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> 119</dl> 120<hr> 121<br> 122<pre>public class <span class="typeNameLabel">SimpleSerializers</span> 123extends <a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a> 124implements <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></pre> 125<div class="block">Simple implementation <a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser"><code>Serializers</code></a> which allows registration of 126 serializers based on raw (type erased class). 127 It can work well for basic bean and scalar type serializers, but is not 128 a good fit for handling generic types (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>s and <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>s). 129<p> 130 Type registrations are assumed to be general; meaning that registration of serializer 131 for a super type will also be used for handling subtypes, unless an exact match 132 is found first. As an example, handler for <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/CharSequence.html?is-external=true" title="class or interface in java.lang"><code>CharSequence</code></a> would also be used 133 serializing <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang"><code>StringBuilder</code></a> instances, unless a direct mapping was found.</div> 134<dl> 135<dt><span class="seeLabel">See Also:</span></dt> 136<dd><a href="../../../../../serialized-form.html#com.fasterxml.jackson.databind.module.SimpleSerializers">Serialized Form</a></dd> 137</dl> 138</li> 139</ul> 140</div> 141<div class="summary"> 142<ul class="blockList"> 143<li class="blockList"> 144<!-- ======== NESTED CLASS SUMMARY ======== --> 145<ul class="blockList"> 146<li class="blockList"><a name="nested.class.summary"> 147<!-- --> 148</a> 149<h3>Nested Class Summary</h3> 150<ul class="blockList"> 151<li class="blockList"><a name="nested.classes.inherited.from.class.com.fasterxml.jackson.databind.ser.Serializers"> 152<!-- --> 153</a> 154<h3>Nested classes/interfaces inherited from interface com.fasterxml.jackson.databind.ser.<a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></h3> 155<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></li> 156</ul> 157</li> 158</ul> 159<!-- =========== FIELD SUMMARY =========== --> 160<ul class="blockList"> 161<li class="blockList"><a name="field.summary"> 162<!-- --> 163</a> 164<h3>Field Summary</h3> 165<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 166<caption><span>Fields</span><span class="tabEnd"> </span></caption> 167<tr> 168<th class="colFirst" scope="col">Modifier and Type</th> 169<th class="colLast" scope="col">Field and Description</th> 170</tr> 171<tr class="altColor"> 172<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a><<a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>,<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>></code></td> 173<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#Z:Z_classMappings">_classMappings</a></span></code> 174<div class="block">Class-based mappings that are used both for exact and 175 sub-class matches.</div> 176</td> 177</tr> 178<tr class="rowColor"> 179<td class="colFirst"><code>protected boolean</code></td> 180<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#Z:Z_hasEnumSerializer">_hasEnumSerializer</a></span></code> 181<div class="block">Flag to help find "generic" enum serializer, if one has been registered.</div> 182</td> 183</tr> 184<tr class="altColor"> 185<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a><<a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>,<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>></code></td> 186<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#Z:Z_interfaceMappings">_interfaceMappings</a></span></code> 187<div class="block">Interface-based matches.</div> 188</td> 189</tr> 190</table> 191</li> 192</ul> 193<!-- ======== CONSTRUCTOR SUMMARY ======== --> 194<ul class="blockList"> 195<li class="blockList"><a name="constructor.summary"> 196<!-- --> 197</a> 198<h3>Constructor Summary</h3> 199<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 200<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 201<tr> 202<th class="colOne" scope="col">Constructor and Description</th> 203</tr> 204<tr class="altColor"> 205<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#SimpleSerializers--">SimpleSerializers</a></span>()</code> </td> 206</tr> 207<tr class="rowColor"> 208<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#SimpleSerializers-java.util.List-">SimpleSerializers</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> sers)</code> </td> 209</tr> 210</table> 211</li> 212</ul> 213<!-- ========== METHOD SUMMARY =========== --> 214<ul class="blockList"> 215<li class="blockList"><a name="method.summary"> 216<!-- --> 217</a> 218<h3>Method Summary</h3> 219<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 220<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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 221<tr> 222<th class="colFirst" scope="col">Modifier and Type</th> 223<th class="colLast" scope="col">Method and Description</th> 224</tr> 225<tr id="i0" class="altColor"> 226<td class="colFirst"><code>protected void</code></td> 227<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#Z:Z_addSerializer-java.lang.Class-com.fasterxml.jackson.databind.JsonSerializer-">_addSerializer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 228 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</code> </td> 229</tr> 230<tr id="i1" class="rowColor"> 231<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 232<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#Z:Z_findInterfaceMapping-java.lang.Class-com.fasterxml.jackson.databind.type.ClassKey-">_findInterfaceMapping</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 233 <a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a> key)</code> </td> 234</tr> 235<tr id="i2" class="altColor"> 236<td class="colFirst"><code><T> void</code></td> 237<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#addSerializer-java.lang.Class-com.fasterxml.jackson.databind.JsonSerializer-">addSerializer</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends T> type, 238 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><T> ser)</code> </td> 239</tr> 240<tr id="i3" class="rowColor"> 241<td class="colFirst"><code>void</code></td> 242<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#addSerializer-com.fasterxml.jackson.databind.JsonSerializer-">addSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</code> 243<div class="block">Method for adding given serializer for type that <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#handledType--"><code>JsonSerializer.handledType()</code></a> 244 specifies (which MUST return a non-null class; and can NOT be <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>, as a 245 sanity check).</div> 246</td> 247</tr> 248<tr id="i4" class="altColor"> 249<td class="colFirst"><code>void</code></td> 250<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.html#addSerializers-java.util.List-">addSerializers</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> sers)</code> </td> 251</tr> 252<tr id="i5" class="rowColor"> 253<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 254<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.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, 255 <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</a> type, 256 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 257 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 258 <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> 259<div class="block">Method called by serialization framework first time a serializer is needed for 260 specified array type.</div> 261</td> 262</tr> 263<tr id="i6" class="altColor"> 264<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 265<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.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, 266 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</a> type, 267 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 268 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 269 <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> 270<div class="block">Method called by serialization framework first time a serializer is needed for 271 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>, 272 but does not implement it).</div> 273</td> 274</tr> 275<tr id="i7" class="rowColor"> 276<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 277<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.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, 278 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</a> type, 279 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 280 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 281 <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> 282<div class="block">Method called by serialization framework first time a serializer is needed for 283 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> 284</td> 285</tr> 286<tr id="i8" class="altColor"> 287<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 288<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.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, 289 <a href="../../../../../com/fasterxml/jackson/databind/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</a> type, 290 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 291 <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, 292 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 293 <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> 294<div class="block">Method called by serialization framework first time a serializer is needed for 295 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>, 296 but does not implement it).</div> 297</td> 298</tr> 299<tr id="i9" class="rowColor"> 300<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 301<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.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, 302 <a href="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</a> type, 303 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 304 <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, 305 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 306 <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> 307<div class="block">Method called by serialization framework first time a serializer is needed for 308 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> 309</td> 310</tr> 311<tr id="i10" class="altColor"> 312<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 313<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleSerializers.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, 314 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 315 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</code> 316<div class="block">Method called by serialization framework first time a serializer is needed for 317 specified type, which is not of a container or reference type (for which 318 other methods are called).</div> 319</td> 320</tr> 321</table> 322<ul class="blockList"> 323<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.ser.Serializers.Base"> 324<!-- --> 325</a> 326<h3>Methods inherited from class com.fasterxml.jackson.databind.ser.<a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></h3> 327<code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.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></code></li> 328</ul> 329<ul class="blockList"> 330<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 331<!-- --> 332</a> 333<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> 334<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#toString--" title="class or interface in java.lang">toString</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> 335</ul> 336</li> 337</ul> 338</li> 339</ul> 340</div> 341<div class="details"> 342<ul class="blockList"> 343<li class="blockList"> 344<!-- ============ FIELD DETAIL =========== --> 345<ul class="blockList"> 346<li class="blockList"><a name="field.detail"> 347<!-- --> 348</a> 349<h3>Field Detail</h3> 350<a name="Z:Z_classMappings"> 351<!-- --> 352</a> 353<ul class="blockList"> 354<li class="blockList"> 355<h4>_classMappings</h4> 356<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a><<a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>,<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> _classMappings</pre> 357<div class="block">Class-based mappings that are used both for exact and 358 sub-class matches.</div> 359</li> 360</ul> 361<a name="Z:Z_interfaceMappings"> 362<!-- --> 363</a> 364<ul class="blockList"> 365<li class="blockList"> 366<h4>_interfaceMappings</h4> 367<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util">HashMap</a><<a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a>,<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> _interfaceMappings</pre> 368<div class="block">Interface-based matches.</div> 369</li> 370</ul> 371<a name="Z:Z_hasEnumSerializer"> 372<!-- --> 373</a> 374<ul class="blockListLast"> 375<li class="blockList"> 376<h4>_hasEnumSerializer</h4> 377<pre>protected boolean _hasEnumSerializer</pre> 378<div class="block">Flag to help find "generic" enum serializer, if one has been registered.</div> 379<dl> 380<dt><span class="simpleTagLabel">Since:</span></dt> 381<dd>2.3</dd> 382</dl> 383</li> 384</ul> 385</li> 386</ul> 387<!-- ========= CONSTRUCTOR DETAIL ======== --> 388<ul class="blockList"> 389<li class="blockList"><a name="constructor.detail"> 390<!-- --> 391</a> 392<h3>Constructor Detail</h3> 393<a name="SimpleSerializers--"> 394<!-- --> 395</a> 396<ul class="blockList"> 397<li class="blockList"> 398<h4>SimpleSerializers</h4> 399<pre>public SimpleSerializers()</pre> 400</li> 401</ul> 402<a name="SimpleSerializers-java.util.List-"> 403<!-- --> 404</a> 405<ul class="blockListLast"> 406<li class="blockList"> 407<h4>SimpleSerializers</h4> 408<pre>public SimpleSerializers(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> sers)</pre> 409<dl> 410<dt><span class="simpleTagLabel">Since:</span></dt> 411<dd>2.1</dd> 412</dl> 413</li> 414</ul> 415</li> 416</ul> 417<!-- ============ METHOD DETAIL ========== --> 418<ul class="blockList"> 419<li class="blockList"><a name="method.detail"> 420<!-- --> 421</a> 422<h3>Method Detail</h3> 423<a name="addSerializer-com.fasterxml.jackson.databind.JsonSerializer-"> 424<!-- --> 425</a> 426<ul class="blockList"> 427<li class="blockList"> 428<h4>addSerializer</h4> 429<pre>public void addSerializer(<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</pre> 430<div class="block">Method for adding given serializer for type that <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html#handledType--"><code>JsonSerializer.handledType()</code></a> 431 specifies (which MUST return a non-null class; and can NOT be <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a>, as a 432 sanity check). 433 For serializers that do not declare handled type, use the variant that takes 434 two arguments.</div> 435<dl> 436<dt><span class="paramLabel">Parameters:</span></dt> 437<dd><code>ser</code> - </dd> 438</dl> 439</li> 440</ul> 441<a name="addSerializer-java.lang.Class-com.fasterxml.jackson.databind.JsonSerializer-"> 442<!-- --> 443</a> 444<ul class="blockList"> 445<li class="blockList"> 446<h4>addSerializer</h4> 447<pre>public <T> void addSerializer(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><? extends T> type, 448 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><T> ser)</pre> 449</li> 450</ul> 451<a name="addSerializers-java.util.List-"> 452<!-- --> 453</a> 454<ul class="blockList"> 455<li class="blockList"> 456<h4>addSerializers</h4> 457<pre>public void addSerializers(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a><<a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?>> sers)</pre> 458<dl> 459<dt><span class="simpleTagLabel">Since:</span></dt> 460<dd>2.1</dd> 461</dl> 462</li> 463</ul> 464<a name="findSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanDescription-"> 465<!-- --> 466</a> 467<ul class="blockList"> 468<li class="blockList"> 469<h4>findSerializer</h4> 470<pre>public <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, 471 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 472 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc)</pre> 473<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><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-">Serializers</a></code></span></div> 474<div class="block">Method called by serialization framework first time a serializer is needed for 475 specified type, which is not of a container or reference type (for which 476 other methods are called).</div> 477<dl> 478<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 479<dd><code><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></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd> 480<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 481<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html#findSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanDescription-">findSerializer</a></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd> 482<dt><span class="paramLabel">Parameters:</span></dt> 483<dd><code>config</code> - Serialization configuration in use</dd> 484<dd><code>type</code> - Fully resolved type of instances to serialize</dd> 485<dd><code>beanDesc</code> - Additional information about type</dd> 486<dt><span class="returnLabel">Returns:</span></dt> 487<dd>Configured serializer to use for the type; or null if implementation 488 does not recognize or support type</dd> 489</dl> 490</li> 491</ul> 492<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-"> 493<!-- --> 494</a> 495<ul class="blockList"> 496<li class="blockList"> 497<h4>findArraySerializer</h4> 498<pre>public <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, 499 <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</a> type, 500 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 501 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 502 <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> 503<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><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-">Serializers</a></code></span></div> 504<div class="block">Method called by serialization framework first time a serializer is needed for 505 specified array type. 506 Implementation should return a serializer instance if it supports 507 specified type; or null if it does not.</div> 508<dl> 509<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 510<dd><code><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></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd> 511<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 512<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.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></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd> 513</dl> 514</li> 515</ul> 516<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-"> 517<!-- --> 518</a> 519<ul class="blockList"> 520<li class="blockList"> 521<h4>findCollectionSerializer</h4> 522<pre>public <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, 523 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</a> type, 524 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 525 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 526 <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> 527<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><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-">Serializers</a></code></span></div> 528<div class="block">Method called by serialization framework first time a serializer is needed for 529 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. 530 Implementation should return a serializer instance if it supports 531 specified type; or null if it does not.</div> 532<dl> 533<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 534<dd><code><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></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd> 535<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 536<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.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></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd> 537</dl> 538</li> 539</ul> 540<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-"> 541<!-- --> 542</a> 543<ul class="blockList"> 544<li class="blockList"> 545<h4>findCollectionLikeSerializer</h4> 546<pre>public <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, 547 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</a> type, 548 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 549 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 550 <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> 551<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><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-">Serializers</a></code></span></div> 552<div class="block">Method called by serialization framework first time a serializer is needed for 553 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>, 554 but does not implement it). 555 Implementation should return a serializer instance if it supports 556 specified type; or null if it does not.</div> 557<dl> 558<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 559<dd><code><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></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd> 560<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 561<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.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></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd> 562</dl> 563</li> 564</ul> 565<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-"> 566<!-- --> 567</a> 568<ul class="blockList"> 569<li class="blockList"> 570<h4>findMapSerializer</h4> 571<pre>public <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, 572 <a href="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</a> type, 573 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 574 <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, 575 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 576 <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> 577<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><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-">Serializers</a></code></span></div> 578<div class="block">Method called by serialization framework first time a serializer is needed for 579 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. 580 Implementation should return a serializer instance if it supports 581 specified type; or null if it does not.</div> 582<dl> 583<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 584<dd><code><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></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd> 585<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 586<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.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></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd> 587</dl> 588</li> 589</ul> 590<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-"> 591<!-- --> 592</a> 593<ul class="blockList"> 594<li class="blockList"> 595<h4>findMapLikeSerializer</h4> 596<pre>public <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, 597 <a href="../../../../../com/fasterxml/jackson/databind/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</a> type, 598 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 599 <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, 600 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> elementTypeSerializer, 601 <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> 602<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><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-">Serializers</a></code></span></div> 603<div class="block">Method called by serialization framework first time a serializer is needed for 604 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>, 605 but does not implement it). 606 Implementation should return a serializer instance if it supports 607 specified type; or null if it does not.</div> 608<dl> 609<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 610<dd><code><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></code> in interface <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.html" title="interface in com.fasterxml.jackson.databind.ser">Serializers</a></code></dd> 611<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> 612<dd><code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.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></code> in class <code><a href="../../../../../com/fasterxml/jackson/databind/ser/Serializers.Base.html" title="class in com.fasterxml.jackson.databind.ser">Serializers.Base</a></code></dd> 613</dl> 614</li> 615</ul> 616<a name="Z:Z_findInterfaceMapping-java.lang.Class-com.fasterxml.jackson.databind.type.ClassKey-"> 617<!-- --> 618</a> 619<ul class="blockList"> 620<li class="blockList"> 621<h4>_findInterfaceMapping</h4> 622<pre>protected <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> _findInterfaceMapping(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 623 <a href="../../../../../com/fasterxml/jackson/databind/type/ClassKey.html" title="class in com.fasterxml.jackson.databind.type">ClassKey</a> key)</pre> 624</li> 625</ul> 626<a name="Z:Z_addSerializer-java.lang.Class-com.fasterxml.jackson.databind.JsonSerializer-"> 627<!-- --> 628</a> 629<ul class="blockListLast"> 630<li class="blockList"> 631<h4>_addSerializer</h4> 632<pre>protected void _addSerializer(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> cls, 633 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</pre> 634</li> 635</ul> 636</li> 637</ul> 638</li> 639</ul> 640</div> 641</div> 642<!-- ========= END OF CLASS DATA ========= --> 643<!-- ======= START OF BOTTOM NAVBAR ====== --> 644<div class="bottomNav"><a name="navbar.bottom"> 645<!-- --> 646</a> 647<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 648<a name="navbar.bottom.firstrow"> 649<!-- --> 650</a> 651<ul class="navList" title="Navigation"> 652<li><a href="../../../../../overview-summary.html">Overview</a></li> 653<li><a href="package-summary.html">Package</a></li> 654<li class="navBarCell1Rev">Class</li> 655<li><a href="class-use/SimpleSerializers.html">Use</a></li> 656<li><a href="package-tree.html">Tree</a></li> 657<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 658<li><a href="../../../../../index-all.html">Index</a></li> 659<li><a href="../../../../../help-doc.html">Help</a></li> 660</ul> 661</div> 662<div class="subNav"> 663<ul class="navList"> 664<li><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleModule.html" title="class in com.fasterxml.jackson.databind.module"><span class="typeNameLink">Prev Class</span></a></li> 665<li><a href="../../../../../com/fasterxml/jackson/databind/module/SimpleValueInstantiators.html" title="class in com.fasterxml.jackson.databind.module"><span class="typeNameLink">Next Class</span></a></li> 666</ul> 667<ul class="navList"> 668<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/module/SimpleSerializers.html" target="_top">Frames</a></li> 669<li><a href="SimpleSerializers.html" target="_top">No Frames</a></li> 670</ul> 671<ul class="navList" id="allclasses_navbar_bottom"> 672<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 673</ul> 674<div> 675<script type="text/javascript"><!-- 676 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 677 if(window==top) { 678 allClassesLink.style.display = "block"; 679 } 680 else { 681 allClassesLink.style.display = "none"; 682 } 683 //--> 684</script> 685</div> 686<div> 687<ul class="subNavList"> 688<li>Summary: </li> 689<li>Nested | </li> 690<li><a href="#field.summary">Field</a> | </li> 691<li><a href="#constructor.summary">Constr</a> | </li> 692<li><a href="#method.summary">Method</a></li> 693</ul> 694<ul class="subNavList"> 695<li>Detail: </li> 696<li><a href="#field.detail">Field</a> | </li> 697<li><a href="#constructor.detail">Constr</a> | </li> 698<li><a href="#method.detail">Method</a></li> 699</ul> 700</div> 701<a name="skip.navbar.bottom"> 702<!-- --> 703</a></div> 704<!-- ======== END OF BOTTOM NAVBAR ======= --> 705<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 706</body> 707</html> 708