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>BeanSerializerModifier (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="BeanSerializerModifier (jackson-databind 2.11.0 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/BeanSerializerModifier.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/BeanSerializerFactory.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/ContainerSerializer.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/BeanSerializerModifier.html" target="_top">Frames</a></li> 58<li><a href="BeanSerializerModifier.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 62</ul> 63<div> 64<script type="text/javascript"><!-- 65 allClassesLink = document.getElementById("allclasses_navbar_top"); 66 if(window==top) { 67 allClassesLink.style.display = "block"; 68 } 69 else { 70 allClassesLink.style.display = "none"; 71 } 72 //--> 73</script> 74</div> 75<div> 76<ul class="subNavList"> 77<li>Summary: </li> 78<li>Nested | </li> 79<li>Field | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li>Field | </li> 86<li><a href="#constructor.detail">Constr</a> | </li> 87<li><a href="#method.detail">Method</a></li> 88</ul> 89</div> 90<a name="skip.navbar.top"> 91<!-- --> 92</a></div> 93<!-- ========= END OF TOP NAVBAR ========= --> 94<!-- ======== START OF CLASS DATA ======== --> 95<div class="header"> 96<div class="subTitle">com.fasterxml.jackson.databind.ser</div> 97<h2 title="Class BeanSerializerModifier" class="title">Class BeanSerializerModifier</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>com.fasterxml.jackson.databind.ser.BeanSerializerModifier</li> 105</ul> 106</li> 107</ul> 108<div class="description"> 109<ul class="blockList"> 110<li class="blockList"> 111<hr> 112<br> 113<pre>public abstract class <span class="typeNameLabel">BeanSerializerModifier</span> 114extends <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></pre> 115<div class="block">Abstract class that defines API for objects that can be registered (for <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializerFactory</code></a> 116 to participate in constructing <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializer</code></a> instances. 117 This is typically done by modules that want alter some aspects of serialization 118 process; and is preferable to sub-classing of <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializerFactory</code></a>. 119<p> 120 Sequence in which callback methods are called is as follows: 121 <ol> 122 <li>After factory has collected tentative set of properties (instances of 123 <code>BeanPropertyWriter</code>) is sent for modification via 124 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#changeProperties-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.BeanDescription-java.util.List-"><code>changeProperties(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.BeanDescription, java.util.List<com.fasterxml.jackson.databind.ser.BeanPropertyWriter>)</code></a>. Changes can include removal, addition and 125 replacement of suggested properties. 126 <li>Resulting set of properties are ordered (sorted) by factory, as per 127 configuration, and then <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#orderProperties-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.BeanDescription-java.util.List-"><code>orderProperties(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.BeanDescription, java.util.List<com.fasterxml.jackson.databind.ser.BeanPropertyWriter>)</code></a> is called to allow 128 modifiers to alter ordering. 129 <li>After all bean properties and related information is accumulated, 130 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#updateBuilder-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.ser.BeanSerializerBuilder-"><code>updateBuilder(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.ser.BeanSerializerBuilder)</code></a> is called with builder, to allow builder state 131 to be modified (including possibly replacing builder itself if necessary) 132 <li>Once all bean information has been determined, 133 factory creates default <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializer</code></a> instance and passes 134 it to modifiers using <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#modifySerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-"><code>modifySerializer(com.fasterxml.jackson.databind.SerializationConfig, com.fasterxml.jackson.databind.BeanDescription, com.fasterxml.jackson.databind.JsonSerializer<?>)</code></a>, for possible 135 modification or replacement (by any <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> instance) 136 </ol> 137<p> 138 Default method implementations are "no-op"s, meaning that methods are implemented 139 but have no effect.</div> 140</li> 141</ul> 142</div> 143<div class="summary"> 144<ul class="blockList"> 145<li class="blockList"> 146<!-- ======== CONSTRUCTOR SUMMARY ======== --> 147<ul class="blockList"> 148<li class="blockList"><a name="constructor.summary"> 149<!-- --> 150</a> 151<h3>Constructor Summary</h3> 152<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 153<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 154<tr> 155<th class="colOne" scope="col">Constructor and Description</th> 156</tr> 157<tr class="altColor"> 158<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#BeanSerializerModifier--">BeanSerializerModifier</a></span>()</code> </td> 159</tr> 160</table> 161</li> 162</ul> 163<!-- ========== METHOD SUMMARY =========== --> 164<ul class="blockList"> 165<li class="blockList"><a name="method.summary"> 166<!-- --> 167</a> 168<h3>Method Summary</h3> 169<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 170<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> 171<tr> 172<th class="colFirst" scope="col">Modifier and Type</th> 173<th class="colLast" scope="col">Method and Description</th> 174</tr> 175<tr id="i0" class="altColor"> 176<td class="colFirst"><code><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/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>></code></td> 177<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#changeProperties-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.BeanDescription-java.util.List-">changeProperties</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 178 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 179 <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/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>> beanProperties)</code> 180<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializerFactory</code></a> with tentative set 181 of discovered properties.</div> 182</td> 183</tr> 184<tr id="i1" class="rowColor"> 185<td class="colFirst"><code><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/ser/BeanSerializerModifier.html#modifyArraySerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.ArrayType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-">modifyArraySerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 187 <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</a> valueType, 188 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 189 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</code> 190<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser"><code>DeserializerFactory</code></a> after it has constructed the 191 standard serializer for given 192 <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type"><code>ArrayType</code></a> 193 to make it possible to either replace or augment this serializer with 194 additional functionality.</div> 195</td> 196</tr> 197<tr id="i2" class="altColor"> 198<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 199<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#modifyCollectionLikeSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.CollectionLikeType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-">modifyCollectionLikeSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 200 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</a> valueType, 201 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 202 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</code> </td> 203</tr> 204<tr id="i3" class="rowColor"> 205<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 206<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#modifyCollectionSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.CollectionType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-">modifyCollectionSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 207 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</a> valueType, 208 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 209 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</code> </td> 210</tr> 211<tr id="i4" class="altColor"> 212<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 213<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#modifyEnumSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-">modifyEnumSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 214 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 215 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 216 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</code> </td> 217</tr> 218<tr id="i5" class="rowColor"> 219<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 220<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#modifyKeySerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-">modifyKeySerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 221 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 222 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 223 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</code> 224<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser"><code>DeserializerFactory</code></a> after it has constructed the 225 default key serializer to use for serializing <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> keys of 226 given type.</div> 227</td> 228</tr> 229<tr id="i6" class="altColor"> 230<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 231<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#modifyMapLikeSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.MapLikeType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-">modifyMapLikeSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 232 <a href="../../../../../com/fasterxml/jackson/databind/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</a> valueType, 233 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 234 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</code> </td> 235</tr> 236<tr id="i7" class="rowColor"> 237<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 238<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#modifyMapSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.MapType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-">modifyMapSerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 239 <a href="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</a> valueType, 240 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 241 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</code> </td> 242</tr> 243<tr id="i8" class="altColor"> 244<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 245<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#modifySerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-">modifySerializer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 246 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 247 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</code> 248<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializerFactory</code></a> after constructing default 249 bean serializer instance with properties collected and ordered earlier.</div> 250</td> 251</tr> 252<tr id="i9" class="rowColor"> 253<td class="colFirst"><code><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/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>></code></td> 254<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#orderProperties-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.BeanDescription-java.util.List-">orderProperties</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/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 256 <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/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>> beanProperties)</code> 257<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializerFactory</code></a> with set of properties 258 to serialize, in default ordering (based on defaults as well as 259 possible type annotations).</div> 260</td> 261</tr> 262<tr id="i10" class="altColor"> 263<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</a></code></td> 264<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html#updateBuilder-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.ser.BeanSerializerBuilder-">updateBuilder</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 265 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 266 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</a> builder)</code> 267<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializerFactory</code></a> after collecting all information 268 regarding POJO to serialize and updating builder with it, but before constructing 269 serializer.</div> 270</td> 271</tr> 272</table> 273<ul class="blockList"> 274<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 275<!-- --> 276</a> 277<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> 278<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> 279</ul> 280</li> 281</ul> 282</li> 283</ul> 284</div> 285<div class="details"> 286<ul class="blockList"> 287<li class="blockList"> 288<!-- ========= CONSTRUCTOR DETAIL ======== --> 289<ul class="blockList"> 290<li class="blockList"><a name="constructor.detail"> 291<!-- --> 292</a> 293<h3>Constructor Detail</h3> 294<a name="BeanSerializerModifier--"> 295<!-- --> 296</a> 297<ul class="blockListLast"> 298<li class="blockList"> 299<h4>BeanSerializerModifier</h4> 300<pre>public BeanSerializerModifier()</pre> 301</li> 302</ul> 303</li> 304</ul> 305<!-- ============ METHOD DETAIL ========== --> 306<ul class="blockList"> 307<li class="blockList"><a name="method.detail"> 308<!-- --> 309</a> 310<h3>Method Detail</h3> 311<a name="changeProperties-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.BeanDescription-java.util.List-"> 312<!-- --> 313</a> 314<ul class="blockList"> 315<li class="blockList"> 316<h4>changeProperties</h4> 317<pre>public <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/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>> changeProperties(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 318 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 319 <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/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>> beanProperties)</pre> 320<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializerFactory</code></a> with tentative set 321 of discovered properties. 322 Implementations can add, remove or replace any of passed properties. 323 324 Properties <code>List</code> passed as argument is modifiable, and returned List must 325 likewise be modifiable as it may be passed to multiple registered 326 modifiers.</div> 327</li> 328</ul> 329<a name="orderProperties-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.BeanDescription-java.util.List-"> 330<!-- --> 331</a> 332<ul class="blockList"> 333<li class="blockList"> 334<h4>orderProperties</h4> 335<pre>public <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/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>> orderProperties(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 336 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 337 <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/ser/BeanPropertyWriter.html" title="class in com.fasterxml.jackson.databind.ser">BeanPropertyWriter</a>> beanProperties)</pre> 338<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializerFactory</code></a> with set of properties 339 to serialize, in default ordering (based on defaults as well as 340 possible type annotations). 341 Implementations can change ordering any way they like. 342 343 Properties <code>List</code> passed as argument is modifiable, and returned List must 344 likewise be modifiable as it may be passed to multiple registered 345 modifiers.</div> 346</li> 347</ul> 348<a name="updateBuilder-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.ser.BeanSerializerBuilder-"> 349<!-- --> 350</a> 351<ul class="blockList"> 352<li class="blockList"> 353<h4>updateBuilder</h4> 354<pre>public <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</a> updateBuilder(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 355 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 356 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerBuilder.html" title="class in com.fasterxml.jackson.databind.ser">BeanSerializerBuilder</a> builder)</pre> 357<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializerFactory</code></a> after collecting all information 358 regarding POJO to serialize and updating builder with it, but before constructing 359 serializer. 360 Implementations may choose to modify state of builder (to affect serializer being 361 built), or even completely replace it (if they want to build different kind of 362 serializer). Typically, however, passed-in builder is returned, possibly with 363 some modifications.</div> 364</li> 365</ul> 366<a name="modifySerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-"> 367<!-- --> 368</a> 369<ul class="blockList"> 370<li class="blockList"> 371<h4>modifySerializer</h4> 372<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> modifySerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 373 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 374 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</pre> 375<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializerFactory</code></a> after constructing default 376 bean serializer instance with properties collected and ordered earlier. 377 Implementations can modify or replace given serializer and return serializer 378 to use. Note that although initial serializer being passed is of type 379 <a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><code>BeanSerializer</code></a>, modifiers may return serializers of other types; 380 and this is why implementations must check for type before casting. 381<p> 382 NOTE: since 2.2, gets called for serializer of those non-POJO types that 383 do not go through any of more specific <code>modifyXxxSerializer</code> 384 methods; mostly for JDK types like <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util"><code>Iterator</code></a> and such.</div> 385</li> 386</ul> 387<a name="modifyArraySerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.ArrayType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-"> 388<!-- --> 389</a> 390<ul class="blockList"> 391<li class="blockList"> 392<h4>modifyArraySerializer</h4> 393<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> modifyArraySerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 394 <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type">ArrayType</a> valueType, 395 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 396 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</pre> 397<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser"><code>DeserializerFactory</code></a> after it has constructed the 398 standard serializer for given 399 <a href="../../../../../com/fasterxml/jackson/databind/type/ArrayType.html" title="class in com.fasterxml.jackson.databind.type"><code>ArrayType</code></a> 400 to make it possible to either replace or augment this serializer with 401 additional functionality.</div> 402<dl> 403<dt><span class="paramLabel">Parameters:</span></dt> 404<dd><code>config</code> - Configuration in use</dd> 405<dd><code>valueType</code> - Type of the value serializer is used for.</dd> 406<dd><code>beanDesc</code> - Details of the type in question, to allow checking class annotations</dd> 407<dd><code>serializer</code> - Default serializer that would be used.</dd> 408<dt><span class="returnLabel">Returns:</span></dt> 409<dd>Serializer to use; either <code>serializer</code> that was passed 410 in, or an instance method constructed.</dd> 411<dt><span class="simpleTagLabel">Since:</span></dt> 412<dd>2.2</dd> 413</dl> 414</li> 415</ul> 416<a name="modifyCollectionSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.CollectionType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-"> 417<!-- --> 418</a> 419<ul class="blockList"> 420<li class="blockList"> 421<h4>modifyCollectionSerializer</h4> 422<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> modifyCollectionSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 423 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionType.html" title="class in com.fasterxml.jackson.databind.type">CollectionType</a> valueType, 424 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 425 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</pre> 426<dl> 427<dt><span class="simpleTagLabel">Since:</span></dt> 428<dd>2.2</dd> 429</dl> 430</li> 431</ul> 432<a name="modifyCollectionLikeSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.CollectionLikeType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-"> 433<!-- --> 434</a> 435<ul class="blockList"> 436<li class="blockList"> 437<h4>modifyCollectionLikeSerializer</h4> 438<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> modifyCollectionLikeSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 439 <a href="../../../../../com/fasterxml/jackson/databind/type/CollectionLikeType.html" title="class in com.fasterxml.jackson.databind.type">CollectionLikeType</a> valueType, 440 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 441 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</pre> 442<dl> 443<dt><span class="simpleTagLabel">Since:</span></dt> 444<dd>2.2</dd> 445</dl> 446</li> 447</ul> 448<a name="modifyMapSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.MapType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-"> 449<!-- --> 450</a> 451<ul class="blockList"> 452<li class="blockList"> 453<h4>modifyMapSerializer</h4> 454<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> modifyMapSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 455 <a href="../../../../../com/fasterxml/jackson/databind/type/MapType.html" title="class in com.fasterxml.jackson.databind.type">MapType</a> valueType, 456 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 457 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</pre> 458<dl> 459<dt><span class="simpleTagLabel">Since:</span></dt> 460<dd>2.2</dd> 461</dl> 462</li> 463</ul> 464<a name="modifyMapLikeSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.type.MapLikeType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-"> 465<!-- --> 466</a> 467<ul class="blockList"> 468<li class="blockList"> 469<h4>modifyMapLikeSerializer</h4> 470<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> modifyMapLikeSerializer(<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/type/MapLikeType.html" title="class in com.fasterxml.jackson.databind.type">MapLikeType</a> valueType, 472 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 473 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</pre> 474<dl> 475<dt><span class="simpleTagLabel">Since:</span></dt> 476<dd>2.2</dd> 477</dl> 478</li> 479</ul> 480<a name="modifyEnumSerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-"> 481<!-- --> 482</a> 483<ul class="blockList"> 484<li class="blockList"> 485<h4>modifyEnumSerializer</h4> 486<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> modifyEnumSerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 487 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 488 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 489 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</pre> 490<dl> 491<dt><span class="simpleTagLabel">Since:</span></dt> 492<dd>2.2</dd> 493</dl> 494</li> 495</ul> 496<a name="modifyKeySerializer-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.JsonSerializer-"> 497<!-- --> 498</a> 499<ul class="blockListLast"> 500<li class="blockList"> 501<h4>modifyKeySerializer</h4> 502<pre>public <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> modifyKeySerializer(<a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 503 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 504 <a href="../../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> beanDesc, 505 <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> serializer)</pre> 506<div class="block">Method called by <a href="../../../../../com/fasterxml/jackson/databind/deser/DeserializerFactory.html" title="class in com.fasterxml.jackson.databind.deser"><code>DeserializerFactory</code></a> after it has constructed the 507 default key serializer to use for serializing <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> keys of 508 given type. 509 This makes it possible to either replace or augment default serializer with 510 additional functionality.</div> 511<dl> 512<dt><span class="paramLabel">Parameters:</span></dt> 513<dd><code>config</code> - Configuration in use</dd> 514<dd><code>valueType</code> - Type of keys the serializer is used for.</dd> 515<dd><code>beanDesc</code> - Details of the type in question, to allow checking class annotations</dd> 516<dd><code>serializer</code> - Default serializer that would be used.</dd> 517<dt><span class="returnLabel">Returns:</span></dt> 518<dd>Serializer to use; either <code>serializer</code> that was passed 519 in, or an instance method constructed.</dd> 520<dt><span class="simpleTagLabel">Since:</span></dt> 521<dd>2.2</dd> 522</dl> 523</li> 524</ul> 525</li> 526</ul> 527</li> 528</ul> 529</div> 530</div> 531<!-- ========= END OF CLASS DATA ========= --> 532<!-- ======= START OF BOTTOM NAVBAR ====== --> 533<div class="bottomNav"><a name="navbar.bottom"> 534<!-- --> 535</a> 536<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 537<a name="navbar.bottom.firstrow"> 538<!-- --> 539</a> 540<ul class="navList" title="Navigation"> 541<li><a href="../../../../../overview-summary.html">Overview</a></li> 542<li><a href="package-summary.html">Package</a></li> 543<li class="navBarCell1Rev">Class</li> 544<li><a href="class-use/BeanSerializerModifier.html">Use</a></li> 545<li><a href="package-tree.html">Tree</a></li> 546<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 547<li><a href="../../../../../index-all.html">Index</a></li> 548<li><a href="../../../../../help-doc.html">Help</a></li> 549</ul> 550</div> 551<div class="subNav"> 552<ul class="navList"> 553<li><a href="../../../../../com/fasterxml/jackson/databind/ser/BeanSerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Prev Class</span></a></li> 554<li><a href="../../../../../com/fasterxml/jackson/databind/ser/ContainerSerializer.html" title="class in com.fasterxml.jackson.databind.ser"><span class="typeNameLink">Next Class</span></a></li> 555</ul> 556<ul class="navList"> 557<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/ser/BeanSerializerModifier.html" target="_top">Frames</a></li> 558<li><a href="BeanSerializerModifier.html" target="_top">No Frames</a></li> 559</ul> 560<ul class="navList" id="allclasses_navbar_bottom"> 561<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 562</ul> 563<div> 564<script type="text/javascript"><!-- 565 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 566 if(window==top) { 567 allClassesLink.style.display = "block"; 568 } 569 else { 570 allClassesLink.style.display = "none"; 571 } 572 //--> 573</script> 574</div> 575<div> 576<ul class="subNavList"> 577<li>Summary: </li> 578<li>Nested | </li> 579<li>Field | </li> 580<li><a href="#constructor.summary">Constr</a> | </li> 581<li><a href="#method.summary">Method</a></li> 582</ul> 583<ul class="subNavList"> 584<li>Detail: </li> 585<li>Field | </li> 586<li><a href="#constructor.detail">Constr</a> | </li> 587<li><a href="#method.detail">Method</a></li> 588</ul> 589</div> 590<a name="skip.navbar.bottom"> 591<!-- --> 592</a></div> 593<!-- ======== END OF BOTTOM NAVBAR ======= --> 594<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 595</body> 596</html> 597