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:36 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>SerializerProvider (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="SerializerProvider (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,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":6,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":42,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":6,"i51":6,"i52":10,"i53":10,"i54":10,"i55":10,"i56":42,"i57":42,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":6,"i66":10,"i67":10,"i68":10,"i69":10}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../overview-summary.html">Overview</a></li> 42<li><a href="package-summary.html">Package</a></li> 43<li class="navBarCell1Rev">Class</li> 44<li><a href="class-use/SerializerProvider.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/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> 54<li>Next Class</li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../index.html?com/fasterxml/jackson/databind/SerializerProvider.html" target="_top">Frames</a></li> 58<li><a href="SerializerProvider.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</div> 97<h2 title="Class SerializerProvider" class="title">Class SerializerProvider</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/DatabindContext.html" title="class in com.fasterxml.jackson.databind">com.fasterxml.jackson.databind.DatabindContext</a></li> 105<li> 106<ul class="inheritance"> 107<li>com.fasterxml.jackson.databind.SerializerProvider</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>Direct Known Subclasses:</dt> 118<dd><a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a></dd> 119</dl> 120<hr> 121<br> 122<pre>public abstract class <span class="typeNameLabel">SerializerProvider</span> 123extends <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></pre> 124<div class="block">Class that defines API used by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and 125 <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a>s to obtain serializers capable of serializing 126 instances of specific types; as well as the default implementation 127 of the functionality. 128<p> 129 Provider handles caching aspects of serializer handling; all construction 130 details are delegated to <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>SerializerFactory</code></a> instance. 131<p> 132 Object life-cycle is such that an initial instance ("blueprint") is created 133 and referenced by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> intances; 134 but for actual usage, a configured instance is created by using 135 a create method in sub-class 136 <a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser"><code>DefaultSerializerProvider</code></a>. 137 Only this instance can be used for actual serialization calls; blueprint 138 object is only to be used for creating instances.</div> 139</li> 140</ul> 141</div> 142<div class="summary"> 143<ul class="blockList"> 144<li class="blockList"> 145<!-- =========== FIELD SUMMARY =========== --> 146<ul class="blockList"> 147<li class="blockList"><a name="field.summary"> 148<!-- --> 149</a> 150<h3>Field Summary</h3> 151<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 152<caption><span>Fields</span><span class="tabEnd"> </span></caption> 153<tr> 154<th class="colFirst" scope="col">Modifier and Type</th> 155<th class="colLast" scope="col">Field and Description</th> 156</tr> 157<tr class="altColor"> 158<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a></code></td> 159<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_attributes">_attributes</a></span></code> 160<div class="block">Lazily-constructed holder for per-call attributes.</div> 161</td> 162</tr> 163<tr class="rowColor"> 164<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 165<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_config">_config</a></span></code> 166<div class="block">Serialization configuration to use for serialization processing.</div> 167</td> 168</tr> 169<tr class="altColor"> 170<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a></code></td> 171<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_dateFormat">_dateFormat</a></span></code> 172<div class="block">Lazily acquired and instantiated formatter object: initialized 173 first time it is needed, reused afterwards.</div> 174</td> 175</tr> 176<tr class="rowColor"> 177<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 178<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_keySerializer">_keySerializer</a></span></code> 179<div class="block">Serializer used to output non-null keys of Maps (which will get 180 output as JSON Objects), if not null; if null, us the standard 181 default key serializer.</div> 182</td> 183</tr> 184<tr class="altColor"> 185<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ser/impl/ReadOnlyClassToSerializerMap.html" title="class in com.fasterxml.jackson.databind.ser.impl">ReadOnlyClassToSerializerMap</a></code></td> 186<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_knownSerializers">_knownSerializers</a></span></code> 187<div class="block">For fast lookups, we will have a local non-shared read-only 188 map that contains serializers previously fetched.</div> 189</td> 190</tr> 191<tr class="rowColor"> 192<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 193<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_nullKeySerializer">_nullKeySerializer</a></span></code> 194<div class="block">Serializer used to (try to) output a null key, due to an entry of 195 <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> having null key.</div> 196</td> 197</tr> 198<tr class="altColor"> 199<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 200<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_nullValueSerializer">_nullValueSerializer</a></span></code> 201<div class="block">Serializer used to output a null value.</div> 202</td> 203</tr> 204<tr class="rowColor"> 205<td class="colFirst"><code>protected <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><?></code></td> 206<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_serializationView">_serializationView</a></span></code> 207<div class="block">View used for currently active serialization, if any.</div> 208</td> 209</tr> 210<tr class="altColor"> 211<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html" title="class in com.fasterxml.jackson.databind.ser">SerializerCache</a></code></td> 212<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_serializerCache">_serializerCache</a></span></code> 213<div class="block">Cache for doing type-to-value-serializer lookups.</div> 214</td> 215</tr> 216<tr class="rowColor"> 217<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a></code></td> 218<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_serializerFactory">_serializerFactory</a></span></code> 219<div class="block">Factory used for constructing actual serializer instances.</div> 220</td> 221</tr> 222<tr class="altColor"> 223<td class="colFirst"><code>protected boolean</code></td> 224<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_stdNullValueSerializer">_stdNullValueSerializer</a></span></code> 225<div class="block">Flag set to indicate that we are using vanilla null value serialization</div> 226</td> 227</tr> 228<tr class="rowColor"> 229<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 230<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_unknownTypeSerializer">_unknownTypeSerializer</a></span></code> 231<div class="block">Serializer that gets called for values of types for which no 232 serializers can be constructed.</div> 233</td> 234</tr> 235<tr class="altColor"> 236<td class="colFirst"><code>protected static boolean</code></td> 237<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#CACHE_UNKNOWN_MAPPINGS">CACHE_UNKNOWN_MAPPINGS</a></span></code> 238<div class="block">Setting for determining whether mappings for "unknown classes" should be 239 cached for faster resolution.</div> 240</td> 241</tr> 242<tr class="rowColor"> 243<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 244<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#DEFAULT_NULL_KEY_SERIALIZER">DEFAULT_NULL_KEY_SERIALIZER</a></span></code> </td> 245</tr> 246<tr class="altColor"> 247<td class="colFirst"><code>protected static <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 248<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#DEFAULT_UNKNOWN_SERIALIZER">DEFAULT_UNKNOWN_SERIALIZER</a></span></code> 249<div class="block">Placeholder serializer used when <code>java.lang.Object</code> typed property 250 is marked to be serialized.</div> 251</td> 252</tr> 253</table> 254</li> 255</ul> 256<!-- ======== CONSTRUCTOR SUMMARY ======== --> 257<ul class="blockList"> 258<li class="blockList"><a name="constructor.summary"> 259<!-- --> 260</a> 261<h3>Constructor Summary</h3> 262<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 263<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 264<tr> 265<th class="colFirst" scope="col">Modifier</th> 266<th class="colLast" scope="col">Constructor and Description</th> 267</tr> 268<tr class="altColor"> 269<td class="colFirst"><code> </code></td> 270<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#SerializerProvider--">SerializerProvider</a></span>()</code> 271<div class="block">Constructor for creating master (or "blue-print") provider object, 272 which is only used as the template for constructing per-binding 273 instances.</div> 274</td> 275</tr> 276<tr class="rowColor"> 277<td class="colFirst"><code>protected </code></td> 278<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#SerializerProvider-com.fasterxml.jackson.databind.SerializerProvider-">SerializerProvider</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> src)</code> 279<div class="block">Copy-constructor used when making a copy of a blueprint instance.</div> 280</td> 281</tr> 282<tr class="altColor"> 283<td class="colFirst"><code>protected </code></td> 284<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#SerializerProvider-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ser.SerializerFactory-">SerializerProvider</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> src, 285 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 286 <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> f)</code> 287<div class="block">"Copy-constructor", used by sub-classes when creating actual non-blueprint 288 instances to use.</div> 289</td> 290</tr> 291</table> 292</li> 293</ul> 294<!-- ========== METHOD SUMMARY =========== --> 295<ul class="blockList"> 296<li class="blockList"><a name="method.summary"> 297<!-- --> 298</a> 299<h3>Method Summary</h3> 300<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 301<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> 302<tr> 303<th class="colFirst" scope="col">Modifier and Type</th> 304<th class="colLast" scope="col">Method and Description</th> 305</tr> 306<tr id="i0" class="altColor"> 307<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 308<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_createAndCacheUntypedSerializer-java.lang.Class-">_createAndCacheUntypedSerializer</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><?> rawType)</code> 309<div class="block">Method that will try to construct a value serializer; and if 310 one is successfully created, cache it for reuse.</div> 311</td> 312</tr> 313<tr id="i1" class="rowColor"> 314<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 315<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_createAndCacheUntypedSerializer-com.fasterxml.jackson.databind.JavaType-">_createAndCacheUntypedSerializer</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> </td> 316</tr> 317<tr id="i2" class="altColor"> 318<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 319<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_createUntypedSerializer-com.fasterxml.jackson.databind.JavaType-">_createUntypedSerializer</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type)</code> </td> 320</tr> 321<tr id="i3" class="rowColor"> 322<td class="colFirst"><code>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a></code></td> 323<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_dateFormat--">_dateFormat</a></span>()</code> </td> 324</tr> 325<tr id="i4" class="altColor"> 326<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 327<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_findExplicitUntypedSerializer-java.lang.Class-">_findExplicitUntypedSerializer</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><?> runtimeType)</code> 328<div class="block">Method that will try to find a serializer, either from cache 329 or by constructing one; but will not return an "unknown" serializer 330 if this cannot be done but rather returns null.</div> 331</td> 332</tr> 333<tr id="i5" class="rowColor"> 334<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 335<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_handleContextualResolvable-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.BeanProperty-">_handleContextualResolvable</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 336 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 337<div class="block">Helper method called to resolve and contextualize given 338 serializer, if and as necessary.</div> 339</td> 340</tr> 341<tr id="i6" class="altColor"> 342<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 343<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_handleResolvable-com.fasterxml.jackson.databind.JsonSerializer-">_handleResolvable</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</code> </td> 344</tr> 345<tr id="i7" class="rowColor"> 346<td class="colFirst"><code>protected void</code></td> 347<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#Z:Z_reportIncompatibleRootType-java.lang.Object-com.fasterxml.jackson.databind.JavaType-">_reportIncompatibleRootType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 348 <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType)</code> </td> 349</tr> 350<tr id="i8" class="altColor"> 351<td class="colFirst"><code>boolean</code></td> 352<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#canOverrideAccessModifiers--">canOverrideAccessModifiers</a></span>()</code> 353<div class="block">Convenience method for accessing serialization view in use (if any); equivalent to:</div> 354</td> 355</tr> 356<tr id="i9" class="rowColor"> 357<td class="colFirst"><code>void</code></td> 358<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateKey-java.util.Date-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeDateKey</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date, 359 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen)</code> 360<div class="block">Method that will handle serialization of Dates used as <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, 361 based on <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>SerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a> 362 value (and if using textual representation, configured date format)</div> 363</td> 364</tr> 365<tr id="i10" class="altColor"> 366<td class="colFirst"><code>void</code></td> 367<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateKey-long-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeDateKey</a></span>(long timestamp, 368 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen)</code> 369<div class="block">Method that will handle serialization of Dates used as <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, 370 based on <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>SerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a> 371 value (and if using textual representation, configured date format)</div> 372</td> 373</tr> 374<tr id="i11" class="rowColor"> 375<td class="colFirst"><code>void</code></td> 376<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue-java.util.Date-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeDateValue</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date, 377 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen)</code> 378<div class="block">Method that will handle serialization of Date(-like) values, using 379 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>SerializationConfig</code></a> settings to determine expected serialization 380 behavior.</div> 381</td> 382</tr> 383<tr id="i12" class="altColor"> 384<td class="colFirst"><code>void</code></td> 385<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeDateValue-long-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeDateValue</a></span>(long timestamp, 386 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen)</code> 387<div class="block">Method that will handle serialization of Date(-like) values, using 388 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>SerializationConfig</code></a> settings to determine expected serialization 389 behavior.</div> 390</td> 391</tr> 392<tr id="i13" class="rowColor"> 393<td class="colFirst"><code>void</code></td> 394<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeField-java.lang.String-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeField</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, 395 <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> value, 396 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen)</code> 397<div class="block">Convenience method that will serialize given field with specified 398 value.</div> 399</td> 400</tr> 401<tr id="i14" class="altColor"> 402<td class="colFirst"><code>void</code></td> 403<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeNull-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeNull</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen)</code> </td> 404</tr> 405<tr id="i15" class="rowColor"> 406<td class="colFirst"><code>void</code></td> 407<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeValue-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-">defaultSerializeValue</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value, 408 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen)</code> 409<div class="block">Convenience method that will serialize given value (which can be 410 null) using standard serializer locating functionality.</div> 411</td> 412</tr> 413<tr id="i16" class="altColor"> 414<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 415<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findContentValueSerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-">findContentValueSerializer</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><?> valueType, 416 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 417<div class="block">See <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findContentValueSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-"><code>findContentValueSerializer(JavaType, BeanProperty)</code></a>.</div> 418</td> 419</tr> 420<tr id="i17" class="rowColor"> 421<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 422<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findContentValueSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-">findContentValueSerializer</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 423 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 424<div class="block">Alternative to <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findPrimaryPropertySerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-"><code>findPrimaryPropertySerializer(JavaType, BeanProperty)</code></a> called not 425 for primary value, but "content" of such primary serializer: element of an array or 426 <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>, value of <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> entry and so on.</div> 427</td> 428</tr> 429<tr id="i18" class="altColor"> 430<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 431<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findKeySerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-">findKeySerializer</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><?> rawKeyType, 432 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> </td> 433</tr> 434<tr id="i19" class="rowColor"> 435<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 436<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findKeySerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-">findKeySerializer</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> keyType, 437 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 438<div class="block">Method called to get the serializer to use for serializing 439 non-null Map keys.</div> 440</td> 441</tr> 442<tr id="i20" class="altColor"> 443<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 444<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullKeySerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-">findNullKeySerializer</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> serializationType, 445 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 446<div class="block">Method called to find a serializer to use for null values for given 447 declared type.</div> 448</td> 449</tr> 450<tr id="i21" class="rowColor"> 451<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 452<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullValueSerializer-com.fasterxml.jackson.databind.BeanProperty-">findNullValueSerializer</a></span>(<a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 453<div class="block">Method called to get the serializer to use for serializing null 454 values for specified property.</div> 455</td> 456</tr> 457<tr id="i22" class="altColor"> 458<td class="colFirst"><code>abstract <a href="../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</a></code></td> 459<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findObjectId-java.lang.Object-com.fasterxml.jackson.annotation.ObjectIdGenerator-">findObjectId</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> forPojo, 460 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a><?> generatorType)</code> 461<div class="block">Method called to find the Object Id for given POJO, if one 462 has been generated.</div> 463</td> 464</tr> 465<tr id="i23" class="rowColor"> 466<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 467<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findPrimaryPropertySerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-">findPrimaryPropertySerializer</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><?> valueType, 468 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 469<div class="block">See <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findPrimaryPropertySerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-"><code>findPrimaryPropertySerializer(JavaType, BeanProperty)</code></a></div> 470</td> 471</tr> 472<tr id="i24" class="altColor"> 473<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 474<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findPrimaryPropertySerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-">findPrimaryPropertySerializer</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 475 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 476<div class="block">Similar to <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-"><code>findValueSerializer(JavaType, BeanProperty)</code></a>, but used 477 when finding "primary" property value serializer (one directly handling 478 value of the property).</div> 479</td> 480</tr> 481<tr id="i25" class="rowColor"> 482<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 483<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer-java.lang.Class-boolean-com.fasterxml.jackson.databind.BeanProperty-">findTypedValueSerializer</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><?> valueType, 484 boolean cache, 485 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 486<div class="block">Method called to locate regular serializer, matching type serializer, 487 and if both found, wrap them in a serializer that calls both in correct 488 sequence.</div> 489</td> 490</tr> 491<tr id="i26" class="altColor"> 492<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 493<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypedValueSerializer-com.fasterxml.jackson.databind.JavaType-boolean-com.fasterxml.jackson.databind.BeanProperty-">findTypedValueSerializer</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 494 boolean cache, 495 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 496<div class="block">Method called to locate regular serializer, matching type serializer, 497 and if both found, wrap them in a serializer that calls both in correct 498 sequence.</div> 499</td> 500</tr> 501<tr id="i27" class="rowColor"> 502<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a></code></td> 503<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findTypeSerializer-com.fasterxml.jackson.databind.JavaType-">findTypeSerializer</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> javaType)</code> 504<div class="block">Method called to get the <a href="../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype"><code>TypeSerializer</code></a> to use for including Type Id necessary 505 for serializing for the given Java class.</div> 506</td> 507</tr> 508<tr id="i28" class="altColor"> 509<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 510<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer-java.lang.Class-">findValueSerializer</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><?> valueType)</code> 511<div class="block">Method variant used when we do NOT want contextualization to happen; it will need 512 to be handled at a later point, but caller wants to be able to do that 513 as needed; sometimes to avoid infinite loops</div> 514</td> 515</tr> 516<tr id="i29" class="rowColor"> 517<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 518<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-">findValueSerializer</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><?> valueType, 519 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 520<div class="block">Method called to get hold of a serializer for a value of given type; 521 or if no such serializer can be found, a default handler (which 522 may do a best-effort generic serialization or just simply 523 throw an exception when invoked).</div> 524</td> 525</tr> 526<tr id="i30" class="altColor"> 527<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 528<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer-com.fasterxml.jackson.databind.JavaType-">findValueSerializer</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType)</code> 529<div class="block">Method variant used when we do NOT want contextualization to happen; it will need 530 to be handled at a later point, but caller wants to be able to do that 531 as needed; sometimes to avoid infinite loops</div> 532</td> 533</tr> 534<tr id="i31" class="rowColor"> 535<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 536<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-">findValueSerializer</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 537 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 538<div class="block">Similar to <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-"><code>findValueSerializer(Class,BeanProperty)</code></a>, but takes 539 full generics-aware type instead of raw class.</div> 540</td> 541</tr> 542<tr id="i32" class="altColor"> 543<td class="colFirst"><code><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><?></code></td> 544<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getActiveView--">getActiveView</a></span>()</code> 545<div class="block">Accessor for locating currently active view, if any; 546 returns null if no view has been set.</div> 547</td> 548</tr> 549<tr id="i33" class="rowColor"> 550<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a></code></td> 551<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getAnnotationIntrospector--">getAnnotationIntrospector</a></span>()</code> 552<div class="block">Convenience method for accessing serialization view in use (if any); equivalent to:</div> 553</td> 554</tr> 555<tr id="i34" class="altColor"> 556<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 557<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getAttribute-java.lang.Object-">getAttribute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> 558<div class="block">Method for accessing attributes available in this context.</div> 559</td> 560</tr> 561<tr id="i35" class="rowColor"> 562<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 563<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getConfig--">getConfig</a></span>()</code> 564<div class="block">Method for accessing configuration for the serialization processing.</div> 565</td> 566</tr> 567<tr id="i36" class="altColor"> 568<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 569<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullKeySerializer--">getDefaultNullKeySerializer</a></span>()</code> </td> 570</tr> 571<tr id="i37" class="rowColor"> 572<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 573<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullValueSerializer--">getDefaultNullValueSerializer</a></span>()</code> </td> 574</tr> 575<tr id="i38" class="altColor"> 576<td class="colFirst"><code><a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonFormat.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonFormat.Value</a></code></td> 577<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultPropertyFormat-java.lang.Class-">getDefaultPropertyFormat</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><?> baseType)</code> </td> 578</tr> 579<tr id="i39" class="rowColor"> 580<td class="colFirst"><code><a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a></code></td> 581<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultPropertyInclusion-java.lang.Class-">getDefaultPropertyInclusion</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><?> baseType)</code> </td> 582</tr> 583<tr id="i40" class="altColor"> 584<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</a></code></td> 585<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getFilterProvider--">getFilterProvider</a></span>()</code> 586<div class="block">Convenience method for accessing provider to find serialization filters used, 587 equivalent to calling:</div> 588</td> 589</tr> 590<tr id="i41" class="rowColor"> 591<td class="colFirst"><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a></code></td> 592<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getGenerator--">getGenerator</a></span>()</code> 593<div class="block"> 594 NOTE: current implementation simply returns `null` as generator is not yet 595 assigned to this provider.</div> 596</td> 597</tr> 598<tr id="i42" class="altColor"> 599<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a></code></td> 600<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getLocale--">getLocale</a></span>()</code> 601<div class="block">Method for accessing default Locale to use: convenience method for</div> 602</td> 603</tr> 604<tr id="i43" class="rowColor"> 605<td class="colFirst"><code><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><?></code></td> 606<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getSerializationView--">getSerializationView</a></span>()</code> 607<div class="block"><span class="deprecatedLabel">Deprecated.</span> 608<div class="block"><span class="deprecationComment">Since 2.2, use <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getActiveView--"><code>getActiveView()</code></a> instead.</span></div> 609</div> 610</td> 611</tr> 612<tr id="i44" class="altColor"> 613<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a></code></td> 614<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getTimeZone--">getTimeZone</a></span>()</code> 615<div class="block">Method for accessing default TimeZone to use: convenience method for</div> 616</td> 617</tr> 618<tr id="i45" class="rowColor"> 619<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a></code></td> 620<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getTypeFactory--">getTypeFactory</a></span>()</code> </td> 621</tr> 622<tr id="i46" class="altColor"> 623<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 624<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getUnknownTypeSerializer-java.lang.Class-">getUnknownTypeSerializer</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><?> unknownType)</code> 625<div class="block">Method called to get the serializer to use if provider 626 cannot determine an actual type-specific serializer 627 to use; typically when none of <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>SerializerFactory</code></a> 628 instances are able to construct a serializer.</div> 629</td> 630</tr> 631<tr id="i47" class="rowColor"> 632<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 633<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#handlePrimaryContextualization-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.BeanProperty-">handlePrimaryContextualization</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 634 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 635<div class="block">Method called for primary property serializers (ones 636 directly created to serialize values of a POJO property), 637 to handle details of resolving 638 <a href="../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><code>ContextualSerializer</code></a> with given property context.</div> 639</td> 640</tr> 641<tr id="i48" class="altColor"> 642<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?></code></td> 643<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#handleSecondaryContextualization-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.BeanProperty-">handleSecondaryContextualization</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 644 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property)</code> 645<div class="block">Method called for secondary property serializers (ones 646 NOT directly created to serialize values of a POJO property 647 but instead created as a dependant serializer -- such as value serializers 648 for structured types, or serializers for root values) 649 to handle details of resolving 650 <a href="../../../../com/fasterxml/jackson/databind/deser/ContextualDeserializer.html" title="interface in com.fasterxml.jackson.databind.deser"><code>ContextualDeserializer</code></a> with given property context.</div> 651</td> 652</tr> 653<tr id="i49" class="rowColor"> 654<td class="colFirst"><code>boolean</code></td> 655<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#hasSerializationFeatures-int-">hasSerializationFeatures</a></span>(int featureMask)</code> 656<div class="block">"Bulk" access method for checking that all features specified by 657 mask are enabled.</div> 658</td> 659</tr> 660<tr id="i50" class="altColor"> 661<td class="colFirst"><code>abstract <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td> 662<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#includeFilterInstance-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-java.lang.Class-">includeFilterInstance</a></span>(<a href="../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> forProperty, 663 <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><?> filterClass)</code> 664<div class="block">Method that can be called to construct and configure <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonInclude.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude</code></a> 665 filter instance, 666 given a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> to instantiate (with default constructor, by default).</div> 667</td> 668</tr> 669<tr id="i51" class="rowColor"> 670<td class="colFirst"><code>abstract boolean</code></td> 671<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#includeFilterSuppressNulls-java.lang.Object-">includeFilterSuppressNulls</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> filter)</code> 672<div class="block">Follow-up method that may be called after calling <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#includeFilterInstance-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-java.lang.Class-"><code>includeFilterInstance(com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition, java.lang.Class<?>)</code></a>, 673 to check handling of `null` values by the filter.</div> 674</td> 675</tr> 676<tr id="i52" class="altColor"> 677<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 678<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#invalidTypeIdException-com.fasterxml.jackson.databind.JavaType-java.lang.String-java.lang.String-">invalidTypeIdException</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> baseType, 679 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> typeId, 680 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> extraDesc)</code> 681<div class="block">Helper method for constructing exception to indicate that given type id 682 could not be resolved to a valid subtype of specified base type.</div> 683</td> 684</tr> 685<tr id="i53" class="rowColor"> 686<td class="colFirst"><code>boolean</code></td> 687<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#isEnabled-com.fasterxml.jackson.databind.MapperFeature-">isEnabled</a></span>(<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> feature)</code> 688<div class="block">Convenience method for checking whether specified serialization 689 feature is enabled or not.</div> 690</td> 691</tr> 692<tr id="i54" class="altColor"> 693<td class="colFirst"><code>boolean</code></td> 694<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#isEnabled-com.fasterxml.jackson.databind.SerializationFeature-">isEnabled</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> feature)</code> 695<div class="block">Convenience method for checking whether specified serialization 696 feature is enabled or not.</div> 697</td> 698</tr> 699<tr id="i55" class="rowColor"> 700<td class="colFirst"><code>boolean</code></td> 701<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#isUnknownTypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-">isUnknownTypeSerializer</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</code> 702<div class="block">Helper method called to see if given serializer is considered to be 703 something returned by <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getUnknownTypeSerializer-java.lang.Class-"><code>getUnknownTypeSerializer(java.lang.Class<?>)</code></a>, that is, something 704 for which no regular serializer was found or constructed.</div> 705</td> 706</tr> 707<tr id="i56" class="altColor"> 708<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 709<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#mappingException-java.lang.String-java.lang.Object...-">mappingException</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message, 710 <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>... msgArgs)</code> 711<div class="block"><span class="deprecatedLabel">Deprecated.</span> 712<div class="block"><span class="deprecationComment">Since 2.9</span></div> 713</div> 714</td> 715</tr> 716<tr id="i57" class="rowColor"> 717<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></td> 718<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#mappingException-java.lang.Throwable-java.lang.String-java.lang.Object...-">mappingException</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t, 719 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message, 720 <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>... msgArgs)</code> 721<div class="block"><span class="deprecatedLabel">Deprecated.</span> 722<div class="block"><span class="deprecationComment">Since 2.9</span></div> 723</div> 724</td> 725</tr> 726<tr id="i58" class="altColor"> 727<td class="colFirst"><code><T> T</code></td> 728<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportBadDefinition-java.lang.Class-java.lang.String-java.lang.Throwable-">reportBadDefinition</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><?> raw, 729 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 730 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause)</code> </td> 731</tr> 732<tr id="i59" class="rowColor"> 733<td class="colFirst"><code><T> T</code></td> 734<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportBadDefinition-com.fasterxml.jackson.databind.JavaType-java.lang.String-">reportBadDefinition</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 735 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg)</code> 736<div class="block">Helper method called to indicate a generic problem that stems from type 737 definition(s), not input data, or input/output state; typically this 738 means throwing a <a href="../../../../com/fasterxml/jackson/databind/exc/InvalidDefinitionException.html" title="class in com.fasterxml.jackson.databind.exc"><code>InvalidDefinitionException</code></a>.</div> 739</td> 740</tr> 741<tr id="i60" class="altColor"> 742<td class="colFirst"><code><T> T</code></td> 743<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportBadDefinition-com.fasterxml.jackson.databind.JavaType-java.lang.String-java.lang.Throwable-">reportBadDefinition</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 744 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 745 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause)</code> </td> 746</tr> 747<tr id="i61" class="rowColor"> 748<td class="colFirst"><code><T> T</code></td> 749<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportBadPropertyDefinition-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-java.lang.String-java.lang.Object...-">reportBadPropertyDefinition</a></span>(<a href="../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> bean, 750 <a href="../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> prop, 751 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message, 752 <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>... msgArgs)</code> 753<div class="block">Helper method called to indicate problem in POJO (serialization) definitions or settings 754 regarding specific property (of a type), unrelated to actual JSON content to map.</div> 755</td> 756</tr> 757<tr id="i62" class="altColor"> 758<td class="colFirst"><code><T> T</code></td> 759<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportBadTypeDefinition-com.fasterxml.jackson.databind.BeanDescription-java.lang.String-java.lang.Object...-">reportBadTypeDefinition</a></span>(<a href="../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> bean, 760 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 761 <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>... msgArgs)</code> 762<div class="block">Helper method called to indicate problem in POJO (serialization) definitions or settings 763 regarding specific Java type, unrelated to actual JSON content to map.</div> 764</td> 765</tr> 766<tr id="i63" class="rowColor"> 767<td class="colFirst"><code>void</code></td> 768<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportMappingProblem-java.lang.String-java.lang.Object...-">reportMappingProblem</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message, 769 <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>... args)</code> 770<div class="block">Helper method called to indicate problem; default behavior is to construct and 771 throw a <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>, but in future may collect more than one 772 and only throw after certain number, or at the end of serialization.</div> 773</td> 774</tr> 775<tr id="i64" class="altColor"> 776<td class="colFirst"><code>void</code></td> 777<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportMappingProblem-java.lang.Throwable-java.lang.String-java.lang.Object...-">reportMappingProblem</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t, 778 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message, 779 <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>... msgArgs)</code> 780<div class="block">Helper method called to indicate problem; default behavior is to construct and 781 throw a <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>, but in future may collect more than one 782 and only throw after certain number, or at the end of serialization.</div> 783</td> 784</tr> 785<tr id="i65" class="rowColor"> 786<td class="colFirst"><code>abstract <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>></code></td> 787<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#serializerInstance-com.fasterxml.jackson.databind.introspect.Annotated-java.lang.Object-">serializerInstance</a></span>(<a href="../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> annotated, 788 <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> serDef)</code> 789<div class="block">Method that can be called to construct and configure serializer instance, 790 either given a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> to instantiate (with default constructor), 791 or an uninitialized serializer instance.</div> 792</td> 793</tr> 794<tr id="i66" class="altColor"> 795<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></code></td> 796<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setAttribute-java.lang.Object-java.lang.Object-">setAttribute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, 797 <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> value)</code> 798<div class="block">Method for setting per-call value of given attribute.</div> 799</td> 800</tr> 801<tr id="i67" class="rowColor"> 802<td class="colFirst"><code>void</code></td> 803<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setDefaultKeySerializer-com.fasterxml.jackson.databind.JsonSerializer-">setDefaultKeySerializer</a></span>(<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>> ks)</code> 804<div class="block">Method that can be used to specify serializer that will be 805 used to write JSON property names matching null keys for Java 806 Maps (which will throw an exception if try write such property 807 name)</div> 808</td> 809</tr> 810<tr id="i68" class="altColor"> 811<td class="colFirst"><code>void</code></td> 812<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setNullKeySerializer-com.fasterxml.jackson.databind.JsonSerializer-">setNullKeySerializer</a></span>(<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>> nks)</code> 813<div class="block">Method that can be used to specify serializer to use for serializing 814 all non-null JSON property names, unless more specific key serializer 815 is found (i.e.</div> 816</td> 817</tr> 818<tr id="i69" class="rowColor"> 819<td class="colFirst"><code>void</code></td> 820<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#setNullValueSerializer-com.fasterxml.jackson.databind.JsonSerializer-">setNullValueSerializer</a></span>(<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>> nvs)</code> 821<div class="block">Method that can be used to specify serializer that will be 822 used to write JSON values matching Java null values 823 instead of default one (which simply writes JSON null).</div> 824</td> 825</tr> 826</table> 827<ul class="blockList"> 828<li class="blockList"><a name="methods.inherited.from.class.com.fasterxml.jackson.databind.DatabindContext"> 829<!-- --> 830</a> 831<h3>Methods inherited from class com.fasterxml.jackson.databind.<a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></h3> 832<code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_colonConcat-java.lang.String-java.lang.String-">_colonConcat</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_desc-java.lang.String-">_desc</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_format-java.lang.String-java.lang.Object...-">_format</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_quotedString-java.lang.String-">_quotedString</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_throwNotASubtype-com.fasterxml.jackson.databind.JavaType-java.lang.String-">_throwNotASubtype</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_throwSubtypeClassNotAllowed-com.fasterxml.jackson.databind.JavaType-java.lang.String-com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator-">_throwSubtypeClassNotAllowed</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_throwSubtypeNameNotAllowed-com.fasterxml.jackson.databind.JavaType-java.lang.String-com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator-">_throwSubtypeNameNotAllowed</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#Z:Z_truncate-java.lang.String-">_truncate</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#constructSpecializedType-com.fasterxml.jackson.databind.JavaType-java.lang.Class-">constructSpecializedType</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#constructType-java.lang.reflect.Type-">constructType</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#converterInstance-com.fasterxml.jackson.databind.introspect.Annotated-java.lang.Object-">converterInstance</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#objectIdGeneratorInstance-com.fasterxml.jackson.databind.introspect.Annotated-com.fasterxml.jackson.databind.introspect.ObjectIdInfo-">objectIdGeneratorInstance</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#objectIdResolverInstance-com.fasterxml.jackson.databind.introspect.Annotated-com.fasterxml.jackson.databind.introspect.ObjectIdInfo-">objectIdResolverInstance</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#reportBadDefinition-java.lang.Class-java.lang.String-">reportBadDefinition</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#resolveAndValidateSubType-com.fasterxml.jackson.databind.JavaType-java.lang.String-com.fasterxml.jackson.databind.jsontype.PolymorphicTypeValidator-">resolveAndValidateSubType</a>, <a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#resolveSubType-com.fasterxml.jackson.databind.JavaType-java.lang.String-">resolveSubType</a></code></li> 833</ul> 834<ul class="blockList"> 835<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 836<!-- --> 837</a> 838<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> 839<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> 840</ul> 841</li> 842</ul> 843</li> 844</ul> 845</div> 846<div class="details"> 847<ul class="blockList"> 848<li class="blockList"> 849<!-- ============ FIELD DETAIL =========== --> 850<ul class="blockList"> 851<li class="blockList"><a name="field.detail"> 852<!-- --> 853</a> 854<h3>Field Detail</h3> 855<a name="CACHE_UNKNOWN_MAPPINGS"> 856<!-- --> 857</a> 858<ul class="blockList"> 859<li class="blockList"> 860<h4>CACHE_UNKNOWN_MAPPINGS</h4> 861<pre>protected static final boolean CACHE_UNKNOWN_MAPPINGS</pre> 862<div class="block">Setting for determining whether mappings for "unknown classes" should be 863 cached for faster resolution. Usually this isn't needed, but maybe it 864 is in some cases?</div> 865<dl> 866<dt><span class="seeLabel">See Also:</span></dt> 867<dd><a href="../../../../constant-values.html#com.fasterxml.jackson.databind.SerializerProvider.CACHE_UNKNOWN_MAPPINGS">Constant Field Values</a></dd> 868</dl> 869</li> 870</ul> 871<a name="DEFAULT_NULL_KEY_SERIALIZER"> 872<!-- --> 873</a> 874<ul class="blockList"> 875<li class="blockList"> 876<h4>DEFAULT_NULL_KEY_SERIALIZER</h4> 877<pre>public static final <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>> DEFAULT_NULL_KEY_SERIALIZER</pre> 878</li> 879</ul> 880<a name="DEFAULT_UNKNOWN_SERIALIZER"> 881<!-- --> 882</a> 883<ul class="blockList"> 884<li class="blockList"> 885<h4>DEFAULT_UNKNOWN_SERIALIZER</h4> 886<pre>protected static final <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>> DEFAULT_UNKNOWN_SERIALIZER</pre> 887<div class="block">Placeholder serializer used when <code>java.lang.Object</code> typed property 888 is marked to be serialized. 889<br> 890 NOTE: starting with 2.6, this instance is NOT used for any other types, and 891 separate instances are constructed for "empty" Beans. 892<p> 893 NOTE: changed to <code>protected</code> for 2.3; no need to be publicly available.</div> 894</li> 895</ul> 896<a name="Z:Z_config"> 897<!-- --> 898</a> 899<ul class="blockList"> 900<li class="blockList"> 901<h4>_config</h4> 902<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> _config</pre> 903<div class="block">Serialization configuration to use for serialization processing.</div> 904</li> 905</ul> 906<a name="Z:Z_serializationView"> 907<!-- --> 908</a> 909<ul class="blockList"> 910<li class="blockList"> 911<h4>_serializationView</h4> 912<pre>protected final <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><?> _serializationView</pre> 913<div class="block">View used for currently active serialization, if any. 914 Only set for non-blueprint instances.</div> 915</li> 916</ul> 917<a name="Z:Z_serializerFactory"> 918<!-- --> 919</a> 920<ul class="blockList"> 921<li class="blockList"> 922<h4>_serializerFactory</h4> 923<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> _serializerFactory</pre> 924<div class="block">Factory used for constructing actual serializer instances. 925 Only set for non-blueprint instances.</div> 926</li> 927</ul> 928<a name="Z:Z_serializerCache"> 929<!-- --> 930</a> 931<ul class="blockList"> 932<li class="blockList"> 933<h4>_serializerCache</h4> 934<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerCache.html" title="class in com.fasterxml.jackson.databind.ser">SerializerCache</a> _serializerCache</pre> 935<div class="block">Cache for doing type-to-value-serializer lookups.</div> 936</li> 937</ul> 938<a name="Z:Z_attributes"> 939<!-- --> 940</a> 941<ul class="blockList"> 942<li class="blockList"> 943<h4>_attributes</h4> 944<pre>protected transient <a href="../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a> _attributes</pre> 945<div class="block">Lazily-constructed holder for per-call attributes. 946 Only set for non-blueprint instances.</div> 947<dl> 948<dt><span class="simpleTagLabel">Since:</span></dt> 949<dd>2.3</dd> 950</dl> 951</li> 952</ul> 953<a name="Z:Z_unknownTypeSerializer"> 954<!-- --> 955</a> 956<ul class="blockList"> 957<li class="blockList"> 958<h4>_unknownTypeSerializer</h4> 959<pre>protected <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>> _unknownTypeSerializer</pre> 960<div class="block">Serializer that gets called for values of types for which no 961 serializers can be constructed. 962<p> 963 The default serializer will simply thrown an exception.</div> 964</li> 965</ul> 966<a name="Z:Z_keySerializer"> 967<!-- --> 968</a> 969<ul class="blockList"> 970<li class="blockList"> 971<h4>_keySerializer</h4> 972<pre>protected <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</pre> 973<div class="block">Serializer used to output non-null keys of Maps (which will get 974 output as JSON Objects), if not null; if null, us the standard 975 default key serializer.</div> 976</li> 977</ul> 978<a name="Z:Z_nullValueSerializer"> 979<!-- --> 980</a> 981<ul class="blockList"> 982<li class="blockList"> 983<h4>_nullValueSerializer</h4> 984<pre>protected <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>> _nullValueSerializer</pre> 985<div class="block">Serializer used to output a null value. Default implementation 986 writes nulls using <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true#writeNull--" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator.writeNull()</code></a>.</div> 987</li> 988</ul> 989<a name="Z:Z_nullKeySerializer"> 990<!-- --> 991</a> 992<ul class="blockList"> 993<li class="blockList"> 994<h4>_nullKeySerializer</h4> 995<pre>protected <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>> _nullKeySerializer</pre> 996<div class="block">Serializer used to (try to) output a null key, due to an entry of 997 <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> having null key. 998 The default implementation will throw an exception if this happens; 999 alternative implementation (like one that would write an Empty String) 1000 can be defined.</div> 1001</li> 1002</ul> 1003<a name="Z:Z_knownSerializers"> 1004<!-- --> 1005</a> 1006<ul class="blockList"> 1007<li class="blockList"> 1008<h4>_knownSerializers</h4> 1009<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ser/impl/ReadOnlyClassToSerializerMap.html" title="class in com.fasterxml.jackson.databind.ser.impl">ReadOnlyClassToSerializerMap</a> _knownSerializers</pre> 1010<div class="block">For fast lookups, we will have a local non-shared read-only 1011 map that contains serializers previously fetched.</div> 1012</li> 1013</ul> 1014<a name="Z:Z_dateFormat"> 1015<!-- --> 1016</a> 1017<ul class="blockList"> 1018<li class="blockList"> 1019<h4>_dateFormat</h4> 1020<pre>protected <a href="https://docs.oracle.com/javase/8/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a> _dateFormat</pre> 1021<div class="block">Lazily acquired and instantiated formatter object: initialized 1022 first time it is needed, reused afterwards. Used via instances 1023 (not blueprints), so that access need not be thread-safe.</div> 1024</li> 1025</ul> 1026<a name="Z:Z_stdNullValueSerializer"> 1027<!-- --> 1028</a> 1029<ul class="blockListLast"> 1030<li class="blockList"> 1031<h4>_stdNullValueSerializer</h4> 1032<pre>protected final boolean _stdNullValueSerializer</pre> 1033<div class="block">Flag set to indicate that we are using vanilla null value serialization</div> 1034<dl> 1035<dt><span class="simpleTagLabel">Since:</span></dt> 1036<dd>2.3</dd> 1037</dl> 1038</li> 1039</ul> 1040</li> 1041</ul> 1042<!-- ========= CONSTRUCTOR DETAIL ======== --> 1043<ul class="blockList"> 1044<li class="blockList"><a name="constructor.detail"> 1045<!-- --> 1046</a> 1047<h3>Constructor Detail</h3> 1048<a name="SerializerProvider--"> 1049<!-- --> 1050</a> 1051<ul class="blockList"> 1052<li class="blockList"> 1053<h4>SerializerProvider</h4> 1054<pre>public SerializerProvider()</pre> 1055<div class="block">Constructor for creating master (or "blue-print") provider object, 1056 which is only used as the template for constructing per-binding 1057 instances.</div> 1058</li> 1059</ul> 1060<a name="SerializerProvider-com.fasterxml.jackson.databind.SerializerProvider-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ser.SerializerFactory-"> 1061<!-- --> 1062</a> 1063<ul class="blockList"> 1064<li class="blockList"> 1065<h4>SerializerProvider</h4> 1066<pre>protected SerializerProvider(<a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> src, 1067 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 1068 <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> f)</pre> 1069<div class="block">"Copy-constructor", used by sub-classes when creating actual non-blueprint 1070 instances to use.</div> 1071<dl> 1072<dt><span class="paramLabel">Parameters:</span></dt> 1073<dd><code>src</code> - Blueprint object used as the baseline for this instance</dd> 1074</dl> 1075</li> 1076</ul> 1077<a name="SerializerProvider-com.fasterxml.jackson.databind.SerializerProvider-"> 1078<!-- --> 1079</a> 1080<ul class="blockListLast"> 1081<li class="blockList"> 1082<h4>SerializerProvider</h4> 1083<pre>protected SerializerProvider(<a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> src)</pre> 1084<div class="block">Copy-constructor used when making a copy of a blueprint instance.</div> 1085<dl> 1086<dt><span class="simpleTagLabel">Since:</span></dt> 1087<dd>2.5</dd> 1088</dl> 1089</li> 1090</ul> 1091</li> 1092</ul> 1093<!-- ============ METHOD DETAIL ========== --> 1094<ul class="blockList"> 1095<li class="blockList"><a name="method.detail"> 1096<!-- --> 1097</a> 1098<h3>Method Detail</h3> 1099<a name="setDefaultKeySerializer-com.fasterxml.jackson.databind.JsonSerializer-"> 1100<!-- --> 1101</a> 1102<ul class="blockList"> 1103<li class="blockList"> 1104<h4>setDefaultKeySerializer</h4> 1105<pre>public void setDefaultKeySerializer(<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>> ks)</pre> 1106<div class="block">Method that can be used to specify serializer that will be 1107 used to write JSON property names matching null keys for Java 1108 Maps (which will throw an exception if try write such property 1109 name)</div> 1110</li> 1111</ul> 1112<a name="setNullValueSerializer-com.fasterxml.jackson.databind.JsonSerializer-"> 1113<!-- --> 1114</a> 1115<ul class="blockList"> 1116<li class="blockList"> 1117<h4>setNullValueSerializer</h4> 1118<pre>public void setNullValueSerializer(<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>> nvs)</pre> 1119<div class="block">Method that can be used to specify serializer that will be 1120 used to write JSON values matching Java null values 1121 instead of default one (which simply writes JSON null). 1122<p> 1123 Note that you can get finer control over serializer to use by overriding 1124 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findNullValueSerializer-com.fasterxml.jackson.databind.BeanProperty-"><code>findNullValueSerializer(com.fasterxml.jackson.databind.BeanProperty)</code></a>, which gets called once per each 1125 property.</div> 1126</li> 1127</ul> 1128<a name="setNullKeySerializer-com.fasterxml.jackson.databind.JsonSerializer-"> 1129<!-- --> 1130</a> 1131<ul class="blockList"> 1132<li class="blockList"> 1133<h4>setNullKeySerializer</h4> 1134<pre>public void setNullKeySerializer(<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>> nks)</pre> 1135<div class="block">Method that can be used to specify serializer to use for serializing 1136 all non-null JSON property names, unless more specific key serializer 1137 is found (i.e. if not custom key serializer has been registered for 1138 Java type). 1139<p> 1140 Note that key serializer registration are different from value serializer 1141 registrations.</div> 1142</li> 1143</ul> 1144<a name="getConfig--"> 1145<!-- --> 1146</a> 1147<ul class="blockList"> 1148<li class="blockList"> 1149<h4>getConfig</h4> 1150<pre>public final <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> getConfig()</pre> 1151<div class="block">Method for accessing configuration for the serialization processing.</div> 1152<dl> 1153<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1154<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getConfig--">getConfig</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1155</dl> 1156</li> 1157</ul> 1158<a name="getAnnotationIntrospector--"> 1159<!-- --> 1160</a> 1161<ul class="blockList"> 1162<li class="blockList"> 1163<h4>getAnnotationIntrospector</h4> 1164<pre>public final <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a> getAnnotationIntrospector()</pre> 1165<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getAnnotationIntrospector--">DatabindContext</a></code></span></div> 1166<div class="block">Convenience method for accessing serialization view in use (if any); equivalent to: 1167<pre> 1168 getConfig().getAnnotationIntrospector(); 1169</pre></div> 1170<dl> 1171<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1172<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getAnnotationIntrospector--">getAnnotationIntrospector</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1173</dl> 1174</li> 1175</ul> 1176<a name="getTypeFactory--"> 1177<!-- --> 1178</a> 1179<ul class="blockList"> 1180<li class="blockList"> 1181<h4>getTypeFactory</h4> 1182<pre>public final <a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a> getTypeFactory()</pre> 1183<dl> 1184<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1185<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getTypeFactory--">getTypeFactory</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1186</dl> 1187</li> 1188</ul> 1189<a name="getActiveView--"> 1190<!-- --> 1191</a> 1192<ul class="blockList"> 1193<li class="blockList"> 1194<h4>getActiveView</h4> 1195<pre>public final <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><?> getActiveView()</pre> 1196<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getActiveView--">DatabindContext</a></code></span></div> 1197<div class="block">Accessor for locating currently active view, if any; 1198 returns null if no view has been set.</div> 1199<dl> 1200<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1201<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getActiveView--">getActiveView</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1202</dl> 1203</li> 1204</ul> 1205<a name="getSerializationView--"> 1206<!-- --> 1207</a> 1208<ul class="blockList"> 1209<li class="blockList"> 1210<h4>getSerializationView</h4> 1211<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1212public final <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><?> getSerializationView()</pre> 1213<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since 2.2, use <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getActiveView--"><code>getActiveView()</code></a> instead.</span></div> 1214</li> 1215</ul> 1216<a name="canOverrideAccessModifiers--"> 1217<!-- --> 1218</a> 1219<ul class="blockList"> 1220<li class="blockList"> 1221<h4>canOverrideAccessModifiers</h4> 1222<pre>public final boolean canOverrideAccessModifiers()</pre> 1223<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#canOverrideAccessModifiers--">DatabindContext</a></code></span></div> 1224<div class="block">Convenience method for accessing serialization view in use (if any); equivalent to: 1225<pre> 1226 getConfig().canOverrideAccessModifiers(); 1227</pre></div> 1228<dl> 1229<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1230<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#canOverrideAccessModifiers--">canOverrideAccessModifiers</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1231</dl> 1232</li> 1233</ul> 1234<a name="isEnabled-com.fasterxml.jackson.databind.MapperFeature-"> 1235<!-- --> 1236</a> 1237<ul class="blockList"> 1238<li class="blockList"> 1239<h4>isEnabled</h4> 1240<pre>public final boolean isEnabled(<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> feature)</pre> 1241<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#isEnabled-com.fasterxml.jackson.databind.MapperFeature-">DatabindContext</a></code></span></div> 1242<div class="block">Convenience method for checking whether specified serialization 1243 feature is enabled or not. 1244 Shortcut for: 1245<pre> 1246 getConfig().isEnabled(feature); 1247</pre></div> 1248<dl> 1249<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1250<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#isEnabled-com.fasterxml.jackson.databind.MapperFeature-">isEnabled</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1251</dl> 1252</li> 1253</ul> 1254<a name="getDefaultPropertyFormat-java.lang.Class-"> 1255<!-- --> 1256</a> 1257<ul class="blockList"> 1258<li class="blockList"> 1259<h4>getDefaultPropertyFormat</h4> 1260<pre>public final <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonFormat.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonFormat.Value</a> getDefaultPropertyFormat(<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><?> baseType)</pre> 1261<dl> 1262<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1263<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getDefaultPropertyFormat-java.lang.Class-">getDefaultPropertyFormat</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1264</dl> 1265</li> 1266</ul> 1267<a name="getDefaultPropertyInclusion-java.lang.Class-"> 1268<!-- --> 1269</a> 1270<ul class="blockList"> 1271<li class="blockList"> 1272<h4>getDefaultPropertyInclusion</h4> 1273<pre>public final <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonInclude.Value.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">JsonInclude.Value</a> getDefaultPropertyInclusion(<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><?> baseType)</pre> 1274<dl> 1275<dt><span class="simpleTagLabel">Since:</span></dt> 1276<dd>2.8</dd> 1277</dl> 1278</li> 1279</ul> 1280<a name="getLocale--"> 1281<!-- --> 1282</a> 1283<ul class="blockList"> 1284<li class="blockList"> 1285<h4>getLocale</h4> 1286<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> getLocale()</pre> 1287<div class="block">Method for accessing default Locale to use: convenience method for 1288<pre> 1289 getConfig().getLocale(); 1290</pre></div> 1291<dl> 1292<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1293<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getLocale--">getLocale</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1294</dl> 1295</li> 1296</ul> 1297<a name="getTimeZone--"> 1298<!-- --> 1299</a> 1300<ul class="blockList"> 1301<li class="blockList"> 1302<h4>getTimeZone</h4> 1303<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> getTimeZone()</pre> 1304<div class="block">Method for accessing default TimeZone to use: convenience method for 1305<pre> 1306 getConfig().getTimeZone(); 1307</pre></div> 1308<dl> 1309<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1310<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getTimeZone--">getTimeZone</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1311</dl> 1312</li> 1313</ul> 1314<a name="getAttribute-java.lang.Object-"> 1315<!-- --> 1316</a> 1317<ul class="blockList"> 1318<li class="blockList"> 1319<h4>getAttribute</h4> 1320<pre>public <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> getAttribute(<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> key)</pre> 1321<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getAttribute-java.lang.Object-">DatabindContext</a></code></span></div> 1322<div class="block">Method for accessing attributes available in this context. 1323 Per-call attributes have highest precedence; attributes set 1324 via <a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a> or <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> have lower 1325 precedence.</div> 1326<dl> 1327<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1328<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#getAttribute-java.lang.Object-">getAttribute</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1329<dt><span class="paramLabel">Parameters:</span></dt> 1330<dd><code>key</code> - Key of the attribute to get</dd> 1331<dt><span class="returnLabel">Returns:</span></dt> 1332<dd>Value of the attribute, if any; null otherwise</dd> 1333</dl> 1334</li> 1335</ul> 1336<a name="setAttribute-java.lang.Object-java.lang.Object-"> 1337<!-- --> 1338</a> 1339<ul class="blockList"> 1340<li class="blockList"> 1341<h4>setAttribute</h4> 1342<pre>public <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a> setAttribute(<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> key, 1343 <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> value)</pre> 1344<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#setAttribute-java.lang.Object-java.lang.Object-">DatabindContext</a></code></span></div> 1345<div class="block">Method for setting per-call value of given attribute. 1346 This will override any previously defined value for the 1347 attribute within this context.</div> 1348<dl> 1349<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1350<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#setAttribute-java.lang.Object-java.lang.Object-">setAttribute</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 1351<dt><span class="paramLabel">Parameters:</span></dt> 1352<dd><code>key</code> - Key of the attribute to set</dd> 1353<dd><code>value</code> - Value to set attribute to</dd> 1354<dt><span class="returnLabel">Returns:</span></dt> 1355<dd>This context object, to allow chaining</dd> 1356</dl> 1357</li> 1358</ul> 1359<a name="isEnabled-com.fasterxml.jackson.databind.SerializationFeature-"> 1360<!-- --> 1361</a> 1362<ul class="blockList"> 1363<li class="blockList"> 1364<h4>isEnabled</h4> 1365<pre>public final boolean isEnabled(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> feature)</pre> 1366<div class="block">Convenience method for checking whether specified serialization 1367 feature is enabled or not. 1368 Shortcut for: 1369<pre> 1370 getConfig().isEnabled(feature); 1371</pre></div> 1372</li> 1373</ul> 1374<a name="hasSerializationFeatures-int-"> 1375<!-- --> 1376</a> 1377<ul class="blockList"> 1378<li class="blockList"> 1379<h4>hasSerializationFeatures</h4> 1380<pre>public final boolean hasSerializationFeatures(int featureMask)</pre> 1381<div class="block">"Bulk" access method for checking that all features specified by 1382 mask are enabled.</div> 1383<dl> 1384<dt><span class="simpleTagLabel">Since:</span></dt> 1385<dd>2.3</dd> 1386</dl> 1387</li> 1388</ul> 1389<a name="getFilterProvider--"> 1390<!-- --> 1391</a> 1392<ul class="blockList"> 1393<li class="blockList"> 1394<h4>getFilterProvider</h4> 1395<pre>public final <a href="../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</a> getFilterProvider()</pre> 1396<div class="block">Convenience method for accessing provider to find serialization filters used, 1397 equivalent to calling: 1398<pre> 1399 getConfig().getFilterProvider(); 1400</pre></div> 1401</li> 1402</ul> 1403<a name="getGenerator--"> 1404<!-- --> 1405</a> 1406<ul class="blockList"> 1407<li class="blockList"> 1408<h4>getGenerator</h4> 1409<pre>public <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> getGenerator()</pre> 1410<div class="block"><p> 1411 NOTE: current implementation simply returns `null` as generator is not yet 1412 assigned to this provider.</div> 1413<dl> 1414<dt><span class="simpleTagLabel">Since:</span></dt> 1415<dd>2.8</dd> 1416</dl> 1417</li> 1418</ul> 1419<a name="findObjectId-java.lang.Object-com.fasterxml.jackson.annotation.ObjectIdGenerator-"> 1420<!-- --> 1421</a> 1422<ul class="blockList"> 1423<li class="blockList"> 1424<h4>findObjectId</h4> 1425<pre>public abstract <a href="../../../../com/fasterxml/jackson/databind/ser/impl/WritableObjectId.html" title="class in com.fasterxml.jackson.databind.ser.impl">WritableObjectId</a> findObjectId(<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> forPojo, 1426 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/ObjectIdGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation">ObjectIdGenerator</a><?> generatorType)</pre> 1427<div class="block">Method called to find the Object Id for given POJO, if one 1428 has been generated. Will always return a non-null Object; 1429 contents vary depending on whether an Object Id already 1430 exists or not.</div> 1431</li> 1432</ul> 1433<a name="findValueSerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-"> 1434<!-- --> 1435</a> 1436<ul class="blockList"> 1437<li class="blockList"> 1438<h4>findValueSerializer</h4> 1439<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findValueSerializer(<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><?> valueType, 1440 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1441 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1442<div class="block">Method called to get hold of a serializer for a value of given type; 1443 or if no such serializer can be found, a default handler (which 1444 may do a best-effort generic serialization or just simply 1445 throw an exception when invoked). 1446<p> 1447 Note: this method is only called for non-null values; not for keys 1448 or null values. For these, check out other accessor methods. 1449<p> 1450 Note that serializers produced should NOT handle polymorphic serialization 1451 aspects; separate <a href="../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype"><code>TypeSerializer</code></a> is to be constructed by caller 1452 if and as necessary.</div> 1453<dl> 1454<dt><span class="throwsLabel">Throws:</span></dt> 1455<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code> - if there are fatal problems with 1456 accessing suitable serializer; including that of not 1457 finding any serializer</dd> 1458</dl> 1459</li> 1460</ul> 1461<a name="findValueSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-"> 1462<!-- --> 1463</a> 1464<ul class="blockList"> 1465<li class="blockList"> 1466<h4>findValueSerializer</h4> 1467<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findValueSerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 1468 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1469 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1470<div class="block">Similar to <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-"><code>findValueSerializer(Class,BeanProperty)</code></a>, but takes 1471 full generics-aware type instead of raw class. 1472 This is necessary for accurate handling of external type information, 1473 to handle polymorphic types. 1474<p> 1475 Note: this call will also contextualize serializer before returning it.</div> 1476<dl> 1477<dt><span class="paramLabel">Parameters:</span></dt> 1478<dd><code>property</code> - When creating secondary serializers, property for which 1479 serializer is needed: annotations of the property (or bean that contains it) 1480 may be checked to create contextual serializers.</dd> 1481<dt><span class="throwsLabel">Throws:</span></dt> 1482<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1483</dl> 1484</li> 1485</ul> 1486<a name="findValueSerializer-java.lang.Class-"> 1487<!-- --> 1488</a> 1489<ul class="blockList"> 1490<li class="blockList"> 1491<h4>findValueSerializer</h4> 1492<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findValueSerializer(<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><?> valueType) 1493 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1494<div class="block">Method variant used when we do NOT want contextualization to happen; it will need 1495 to be handled at a later point, but caller wants to be able to do that 1496 as needed; sometimes to avoid infinite loops</div> 1497<dl> 1498<dt><span class="throwsLabel">Throws:</span></dt> 1499<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1500<dt><span class="simpleTagLabel">Since:</span></dt> 1501<dd>2.5</dd> 1502</dl> 1503</li> 1504</ul> 1505<a name="findValueSerializer-com.fasterxml.jackson.databind.JavaType-"> 1506<!-- --> 1507</a> 1508<ul class="blockList"> 1509<li class="blockList"> 1510<h4>findValueSerializer</h4> 1511<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findValueSerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType) 1512 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1513<div class="block">Method variant used when we do NOT want contextualization to happen; it will need 1514 to be handled at a later point, but caller wants to be able to do that 1515 as needed; sometimes to avoid infinite loops</div> 1516<dl> 1517<dt><span class="throwsLabel">Throws:</span></dt> 1518<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1519<dt><span class="simpleTagLabel">Since:</span></dt> 1520<dd>2.5</dd> 1521</dl> 1522</li> 1523</ul> 1524<a name="findPrimaryPropertySerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-"> 1525<!-- --> 1526</a> 1527<ul class="blockList"> 1528<li class="blockList"> 1529<h4>findPrimaryPropertySerializer</h4> 1530<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findPrimaryPropertySerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 1531 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1532 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1533<div class="block">Similar to <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-"><code>findValueSerializer(JavaType, BeanProperty)</code></a>, but used 1534 when finding "primary" property value serializer (one directly handling 1535 value of the property). Difference has to do with contextual resolution, 1536 and method(s) called: this method should only be called when caller is 1537 certain that this is the primary property value serializer.</div> 1538<dl> 1539<dt><span class="paramLabel">Parameters:</span></dt> 1540<dd><code>valueType</code> - Type of values to serialize</dd> 1541<dd><code>property</code> - Property that is being handled; will never be null, and its 1542 type has to match <code>valueType</code> parameter.</dd> 1543<dt><span class="throwsLabel">Throws:</span></dt> 1544<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1545<dt><span class="simpleTagLabel">Since:</span></dt> 1546<dd>2.3</dd> 1547</dl> 1548</li> 1549</ul> 1550<a name="findPrimaryPropertySerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-"> 1551<!-- --> 1552</a> 1553<ul class="blockList"> 1554<li class="blockList"> 1555<h4>findPrimaryPropertySerializer</h4> 1556<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findPrimaryPropertySerializer(<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><?> valueType, 1557 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1558 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1559<div class="block">See <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findPrimaryPropertySerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-"><code>findPrimaryPropertySerializer(JavaType, BeanProperty)</code></a></div> 1560<dl> 1561<dt><span class="throwsLabel">Throws:</span></dt> 1562<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1563<dt><span class="simpleTagLabel">Since:</span></dt> 1564<dd>2.3</dd> 1565</dl> 1566</li> 1567</ul> 1568<a name="findContentValueSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-"> 1569<!-- --> 1570</a> 1571<ul class="blockList"> 1572<li class="blockList"> 1573<h4>findContentValueSerializer</h4> 1574<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findContentValueSerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 1575 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1576 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1577<div class="block">Alternative to <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findPrimaryPropertySerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-"><code>findPrimaryPropertySerializer(JavaType, BeanProperty)</code></a> called not 1578 for primary value, but "content" of such primary serializer: element of an array or 1579 <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>, value of <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> entry and so on. 1580 This means that <code>property</code> passed (if any) does NOT represent value for which 1581 serializer is requested but its secondary type (or secondary type of that type, 1582 recursively). 1583<p> 1584 Serializer returned SHOULD NOT handle type information; caller will (have to) add 1585 suitable wrapping if necessary. 1586<p> 1587 Note: this call will also contextualize serializer (call <code>createContextual()</code> 1588 before returning it, if applicable (implements <code>ContextualSerializer</code>)</div> 1589<dl> 1590<dt><span class="paramLabel">Parameters:</span></dt> 1591<dd><code>valueType</code> - Type of values to serialize</dd> 1592<dd><code>property</code> - Property that indirectly refers to value being serialized (optional, 1593 may be <code>null</code> for root level serializers)</dd> 1594<dt><span class="throwsLabel">Throws:</span></dt> 1595<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1596<dt><span class="simpleTagLabel">Since:</span></dt> 1597<dd>2.11</dd> 1598</dl> 1599</li> 1600</ul> 1601<a name="findContentValueSerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-"> 1602<!-- --> 1603</a> 1604<ul class="blockList"> 1605<li class="blockList"> 1606<h4>findContentValueSerializer</h4> 1607<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findContentValueSerializer(<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><?> valueType, 1608 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1609 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1610<div class="block">See <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findContentValueSerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-"><code>findContentValueSerializer(JavaType, BeanProperty)</code></a>.</div> 1611<dl> 1612<dt><span class="throwsLabel">Throws:</span></dt> 1613<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1614<dt><span class="simpleTagLabel">Since:</span></dt> 1615<dd>2.11</dd> 1616</dl> 1617</li> 1618</ul> 1619<a name="findTypedValueSerializer-java.lang.Class-boolean-com.fasterxml.jackson.databind.BeanProperty-"> 1620<!-- --> 1621</a> 1622<ul class="blockList"> 1623<li class="blockList"> 1624<h4>findTypedValueSerializer</h4> 1625<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findTypedValueSerializer(<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><?> valueType, 1626 boolean cache, 1627 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1628 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1629<div class="block">Method called to locate regular serializer, matching type serializer, 1630 and if both found, wrap them in a serializer that calls both in correct 1631 sequence. This method is currently only used for root-level serializer 1632 handling to allow for simpler caching. A call can always be replaced 1633 by equivalent calls to access serializer and type serializer separately.</div> 1634<dl> 1635<dt><span class="paramLabel">Parameters:</span></dt> 1636<dd><code>valueType</code> - Type for purpose of locating a serializer; usually dynamic 1637 runtime type, but can also be static declared type, depending on configuration</dd> 1638<dd><code>cache</code> - Whether resulting value serializer should be cached or not; this is just 1639 a hint</dd> 1640<dd><code>property</code> - When creating secondary serializers, property for which 1641 serializer is needed: annotations of the property (or bean that contains it) 1642 may be checked to create contextual serializers.</dd> 1643<dt><span class="throwsLabel">Throws:</span></dt> 1644<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1645</dl> 1646</li> 1647</ul> 1648<a name="findTypedValueSerializer-com.fasterxml.jackson.databind.JavaType-boolean-com.fasterxml.jackson.databind.BeanProperty-"> 1649<!-- --> 1650</a> 1651<ul class="blockList"> 1652<li class="blockList"> 1653<h4>findTypedValueSerializer</h4> 1654<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findTypedValueSerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> valueType, 1655 boolean cache, 1656 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1657 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1658<div class="block">Method called to locate regular serializer, matching type serializer, 1659 and if both found, wrap them in a serializer that calls both in correct 1660 sequence. This method is currently only used for root-level serializer 1661 handling to allow for simpler caching. A call can always be replaced 1662 by equivalent calls to access serializer and type serializer separately.</div> 1663<dl> 1664<dt><span class="paramLabel">Parameters:</span></dt> 1665<dd><code>valueType</code> - Declared type of value being serialized (which may not 1666 be actual runtime type); used for finding both value serializer and 1667 type serializer to use for adding polymorphic type (if any)</dd> 1668<dd><code>cache</code> - Whether resulting value serializer should be cached or not; this is just 1669 a hint</dd> 1670<dd><code>property</code> - When creating secondary serializers, property for which 1671 serializer is needed: annotations of the property (or bean that contains it) 1672 may be checked to create contextual serializers.</dd> 1673<dt><span class="throwsLabel">Throws:</span></dt> 1674<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1675</dl> 1676</li> 1677</ul> 1678<a name="findTypeSerializer-com.fasterxml.jackson.databind.JavaType-"> 1679<!-- --> 1680</a> 1681<ul class="blockList"> 1682<li class="blockList"> 1683<h4>findTypeSerializer</h4> 1684<pre>public <a href="../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a> findTypeSerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> javaType) 1685 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1686<div class="block">Method called to get the <a href="../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype"><code>TypeSerializer</code></a> to use for including Type Id necessary 1687 for serializing for the given Java class. 1688 Useful for schema generators.</div> 1689<dl> 1690<dt><span class="throwsLabel">Throws:</span></dt> 1691<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1692<dt><span class="simpleTagLabel">Since:</span></dt> 1693<dd>2.6</dd> 1694</dl> 1695</li> 1696</ul> 1697<a name="findKeySerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-"> 1698<!-- --> 1699</a> 1700<ul class="blockList"> 1701<li class="blockList"> 1702<h4>findKeySerializer</h4> 1703<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findKeySerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> keyType, 1704 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1705 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1706<div class="block">Method called to get the serializer to use for serializing 1707 non-null Map keys. Separation from regular 1708 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#findValueSerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-"><code>findValueSerializer(java.lang.Class<?>, com.fasterxml.jackson.databind.BeanProperty)</code></a> method is because actual write 1709 method must be different (@link JsonGenerator#writeFieldName}; 1710 but also since behavior for some key types may differ. 1711<p> 1712 Note that the serializer itself can be called with instances 1713 of any Java object, but not nulls.</div> 1714<dl> 1715<dt><span class="throwsLabel">Throws:</span></dt> 1716<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1717</dl> 1718</li> 1719</ul> 1720<a name="findKeySerializer-java.lang.Class-com.fasterxml.jackson.databind.BeanProperty-"> 1721<!-- --> 1722</a> 1723<ul class="blockList"> 1724<li class="blockList"> 1725<h4>findKeySerializer</h4> 1726<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findKeySerializer(<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><?> rawKeyType, 1727 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1728 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1729<dl> 1730<dt><span class="throwsLabel">Throws:</span></dt> 1731<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1732<dt><span class="simpleTagLabel">Since:</span></dt> 1733<dd>2.7</dd> 1734</dl> 1735</li> 1736</ul> 1737<a name="getDefaultNullKeySerializer--"> 1738<!-- --> 1739</a> 1740<ul class="blockList"> 1741<li class="blockList"> 1742<h4>getDefaultNullKeySerializer</h4> 1743<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> getDefaultNullKeySerializer()</pre> 1744<dl> 1745<dt><span class="simpleTagLabel">Since:</span></dt> 1746<dd>2.0</dd> 1747</dl> 1748</li> 1749</ul> 1750<a name="getDefaultNullValueSerializer--"> 1751<!-- --> 1752</a> 1753<ul class="blockList"> 1754<li class="blockList"> 1755<h4>getDefaultNullValueSerializer</h4> 1756<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> getDefaultNullValueSerializer()</pre> 1757<dl> 1758<dt><span class="simpleTagLabel">Since:</span></dt> 1759<dd>2.0</dd> 1760</dl> 1761</li> 1762</ul> 1763<a name="findNullKeySerializer-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.BeanProperty-"> 1764<!-- --> 1765</a> 1766<ul class="blockList"> 1767<li class="blockList"> 1768<h4>findNullKeySerializer</h4> 1769<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findNullKeySerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> serializationType, 1770 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1771 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1772<div class="block">Method called to find a serializer to use for null values for given 1773 declared type. Note that type is completely based on declared type, 1774 since nulls in Java have no type and thus runtime type cannot be 1775 determined.</div> 1776<dl> 1777<dt><span class="throwsLabel">Throws:</span></dt> 1778<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1779<dt><span class="simpleTagLabel">Since:</span></dt> 1780<dd>2.0</dd> 1781</dl> 1782</li> 1783</ul> 1784<a name="findNullValueSerializer-com.fasterxml.jackson.databind.BeanProperty-"> 1785<!-- --> 1786</a> 1787<ul class="blockList"> 1788<li class="blockList"> 1789<h4>findNullValueSerializer</h4> 1790<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> findNullValueSerializer(<a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1791 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1792<div class="block">Method called to get the serializer to use for serializing null 1793 values for specified property. 1794<p> 1795 Default implementation simply calls <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getDefaultNullValueSerializer--"><code>getDefaultNullValueSerializer()</code></a>; 1796 can be overridden to add custom null serialization for properties 1797 of certain type or name. This gives method full granularity to basically 1798 override null handling for any specific property or class of properties.</div> 1799<dl> 1800<dt><span class="throwsLabel">Throws:</span></dt> 1801<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1802<dt><span class="simpleTagLabel">Since:</span></dt> 1803<dd>2.0</dd> 1804</dl> 1805</li> 1806</ul> 1807<a name="getUnknownTypeSerializer-java.lang.Class-"> 1808<!-- --> 1809</a> 1810<ul class="blockList"> 1811<li class="blockList"> 1812<h4>getUnknownTypeSerializer</h4> 1813<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>> getUnknownTypeSerializer(<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><?> unknownType)</pre> 1814<div class="block">Method called to get the serializer to use if provider 1815 cannot determine an actual type-specific serializer 1816 to use; typically when none of <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser"><code>SerializerFactory</code></a> 1817 instances are able to construct a serializer. 1818<p> 1819 Typically, returned serializer will throw an exception, 1820 although alternatively <a href="../../../../com/fasterxml/jackson/databind/ser/std/ToStringSerializer.html" title="class in com.fasterxml.jackson.databind.ser.std"><code>ToStringSerializer</code></a> 1821 could be returned as well.</div> 1822<dl> 1823<dt><span class="paramLabel">Parameters:</span></dt> 1824<dd><code>unknownType</code> - Type for which no serializer is found</dd> 1825</dl> 1826</li> 1827</ul> 1828<a name="isUnknownTypeSerializer-com.fasterxml.jackson.databind.JsonSerializer-"> 1829<!-- --> 1830</a> 1831<ul class="blockList"> 1832<li class="blockList"> 1833<h4>isUnknownTypeSerializer</h4> 1834<pre>public boolean isUnknownTypeSerializer(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser)</pre> 1835<div class="block">Helper method called to see if given serializer is considered to be 1836 something returned by <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#getUnknownTypeSerializer-java.lang.Class-"><code>getUnknownTypeSerializer(java.lang.Class<?>)</code></a>, that is, something 1837 for which no regular serializer was found or constructed.</div> 1838<dl> 1839<dt><span class="simpleTagLabel">Since:</span></dt> 1840<dd>2.5</dd> 1841</dl> 1842</li> 1843</ul> 1844<a name="serializerInstance-com.fasterxml.jackson.databind.introspect.Annotated-java.lang.Object-"> 1845<!-- --> 1846</a> 1847<ul class="blockList"> 1848<li class="blockList"> 1849<h4>serializerInstance</h4> 1850<pre>public abstract <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>> serializerInstance(<a href="../../../../com/fasterxml/jackson/databind/introspect/Annotated.html" title="class in com.fasterxml.jackson.databind.introspect">Annotated</a> annotated, 1851 <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> serDef) 1852 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1853<div class="block">Method that can be called to construct and configure serializer instance, 1854 either given a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> to instantiate (with default constructor), 1855 or an uninitialized serializer instance. 1856 Either way, serialize will be properly resolved 1857 (via <a href="../../../../com/fasterxml/jackson/databind/ser/ResolvableSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><code>ResolvableSerializer</code></a>) and/or contextualized 1858 (via <a href="../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><code>ContextualSerializer</code></a>) as necessary.</div> 1859<dl> 1860<dt><span class="paramLabel">Parameters:</span></dt> 1861<dd><code>annotated</code> - Annotated entity that contained definition</dd> 1862<dd><code>serDef</code> - Serializer definition: either an instance or class</dd> 1863<dt><span class="throwsLabel">Throws:</span></dt> 1864<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1865</dl> 1866</li> 1867</ul> 1868<a name="includeFilterInstance-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-java.lang.Class-"> 1869<!-- --> 1870</a> 1871<ul class="blockList"> 1872<li class="blockList"> 1873<h4>includeFilterInstance</h4> 1874<pre>public abstract <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> includeFilterInstance(<a href="../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> forProperty, 1875 <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><?> filterClass) 1876 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1877<div class="block">Method that can be called to construct and configure <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonInclude.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonInclude</code></a> 1878 filter instance, 1879 given a <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a> to instantiate (with default constructor, by default).</div> 1880<dl> 1881<dt><span class="paramLabel">Parameters:</span></dt> 1882<dd><code>forProperty</code> - (optional) If filter is created for a property, that property; 1883 `null` if filter created via defaulting, global or per-type.</dd> 1884<dt><span class="throwsLabel">Throws:</span></dt> 1885<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1886<dt><span class="simpleTagLabel">Since:</span></dt> 1887<dd>2.9</dd> 1888</dl> 1889</li> 1890</ul> 1891<a name="includeFilterSuppressNulls-java.lang.Object-"> 1892<!-- --> 1893</a> 1894<ul class="blockList"> 1895<li class="blockList"> 1896<h4>includeFilterSuppressNulls</h4> 1897<pre>public abstract boolean includeFilterSuppressNulls(<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> filter) 1898 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1899<div class="block">Follow-up method that may be called after calling <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#includeFilterInstance-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-java.lang.Class-"><code>includeFilterInstance(com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition, java.lang.Class<?>)</code></a>, 1900 to check handling of `null` values by the filter.</div> 1901<dl> 1902<dt><span class="throwsLabel">Throws:</span></dt> 1903<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1904<dt><span class="simpleTagLabel">Since:</span></dt> 1905<dd>2.9</dd> 1906</dl> 1907</li> 1908</ul> 1909<a name="handlePrimaryContextualization-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.BeanProperty-"> 1910<!-- --> 1911</a> 1912<ul class="blockList"> 1913<li class="blockList"> 1914<h4>handlePrimaryContextualization</h4> 1915<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> handlePrimaryContextualization(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 1916 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1917 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1918<div class="block">Method called for primary property serializers (ones 1919 directly created to serialize values of a POJO property), 1920 to handle details of resolving 1921 <a href="../../../../com/fasterxml/jackson/databind/ser/ContextualSerializer.html" title="interface in com.fasterxml.jackson.databind.ser"><code>ContextualSerializer</code></a> with given property context.</div> 1922<dl> 1923<dt><span class="paramLabel">Parameters:</span></dt> 1924<dd><code>property</code> - Property for which the given primary serializer is used; never null.</dd> 1925<dt><span class="throwsLabel">Throws:</span></dt> 1926<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1927<dt><span class="simpleTagLabel">Since:</span></dt> 1928<dd>2.3</dd> 1929</dl> 1930</li> 1931</ul> 1932<a name="handleSecondaryContextualization-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.BeanProperty-"> 1933<!-- --> 1934</a> 1935<ul class="blockList"> 1936<li class="blockList"> 1937<h4>handleSecondaryContextualization</h4> 1938<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> handleSecondaryContextualization(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 1939 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 1940 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 1941<div class="block">Method called for secondary property serializers (ones 1942 NOT directly created to serialize values of a POJO property 1943 but instead created as a dependant serializer -- such as value serializers 1944 for structured types, or serializers for root values) 1945 to handle details of resolving 1946 <a href="../../../../com/fasterxml/jackson/databind/deser/ContextualDeserializer.html" title="interface in com.fasterxml.jackson.databind.deser"><code>ContextualDeserializer</code></a> with given property context. 1947 Given that these serializers are not directly related to given property 1948 (or, in case of root value property, to any property), annotations 1949 accessible may or may not be relevant.</div> 1950<dl> 1951<dt><span class="paramLabel">Parameters:</span></dt> 1952<dd><code>property</code> - Property for which serializer is used, if any; null 1953 when deserializing root values</dd> 1954<dt><span class="throwsLabel">Throws:</span></dt> 1955<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 1956<dt><span class="simpleTagLabel">Since:</span></dt> 1957<dd>2.3</dd> 1958</dl> 1959</li> 1960</ul> 1961<a name="defaultSerializeValue-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-"> 1962<!-- --> 1963</a> 1964<ul class="blockList"> 1965<li class="blockList"> 1966<h4>defaultSerializeValue</h4> 1967<pre>public final void defaultSerializeValue(<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> value, 1968 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen) 1969 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1970<div class="block">Convenience method that will serialize given value (which can be 1971 null) using standard serializer locating functionality. It can 1972 be called for all values including field and Map values, but usually 1973 field values are best handled calling 1974 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#defaultSerializeField-java.lang.String-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-"><code>defaultSerializeField(java.lang.String, java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)</code></a> instead.</div> 1975<dl> 1976<dt><span class="throwsLabel">Throws:</span></dt> 1977<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1978</dl> 1979</li> 1980</ul> 1981<a name="defaultSerializeField-java.lang.String-java.lang.Object-com.fasterxml.jackson.core.JsonGenerator-"> 1982<!-- --> 1983</a> 1984<ul class="blockList"> 1985<li class="blockList"> 1986<h4>defaultSerializeField</h4> 1987<pre>public final void defaultSerializeField(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> fieldName, 1988 <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> value, 1989 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen) 1990 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1991<div class="block">Convenience method that will serialize given field with specified 1992 value. Value may be null. Serializer is done using the usual 1993 null) using standard serializer locating functionality.</div> 1994<dl> 1995<dt><span class="throwsLabel">Throws:</span></dt> 1996<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1997</dl> 1998</li> 1999</ul> 2000<a name="defaultSerializeDateValue-long-com.fasterxml.jackson.core.JsonGenerator-"> 2001<!-- --> 2002</a> 2003<ul class="blockList"> 2004<li class="blockList"> 2005<h4>defaultSerializeDateValue</h4> 2006<pre>public final void defaultSerializeDateValue(long timestamp, 2007 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen) 2008 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 2009<div class="block">Method that will handle serialization of Date(-like) values, using 2010 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>SerializationConfig</code></a> settings to determine expected serialization 2011 behavior. 2012 Note: date here means "full" date, that is, date AND time, as per 2013 Java convention (and not date-only values like in SQL)</div> 2014<dl> 2015<dt><span class="throwsLabel">Throws:</span></dt> 2016<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2017</dl> 2018</li> 2019</ul> 2020<a name="defaultSerializeDateValue-java.util.Date-com.fasterxml.jackson.core.JsonGenerator-"> 2021<!-- --> 2022</a> 2023<ul class="blockList"> 2024<li class="blockList"> 2025<h4>defaultSerializeDateValue</h4> 2026<pre>public final void defaultSerializeDateValue(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date, 2027 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen) 2028 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 2029<div class="block">Method that will handle serialization of Date(-like) values, using 2030 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>SerializationConfig</code></a> settings to determine expected serialization 2031 behavior. 2032 Note: date here means "full" date, that is, date AND time, as per 2033 Java convention (and not date-only values like in SQL)</div> 2034<dl> 2035<dt><span class="throwsLabel">Throws:</span></dt> 2036<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2037</dl> 2038</li> 2039</ul> 2040<a name="defaultSerializeDateKey-long-com.fasterxml.jackson.core.JsonGenerator-"> 2041<!-- --> 2042</a> 2043<ul class="blockList"> 2044<li class="blockList"> 2045<h4>defaultSerializeDateKey</h4> 2046<pre>public void defaultSerializeDateKey(long timestamp, 2047 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen) 2048 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 2049<div class="block">Method that will handle serialization of Dates used as <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, 2050 based on <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>SerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a> 2051 value (and if using textual representation, configured date format)</div> 2052<dl> 2053<dt><span class="throwsLabel">Throws:</span></dt> 2054<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2055</dl> 2056</li> 2057</ul> 2058<a name="defaultSerializeDateKey-java.util.Date-com.fasterxml.jackson.core.JsonGenerator-"> 2059<!-- --> 2060</a> 2061<ul class="blockList"> 2062<li class="blockList"> 2063<h4>defaultSerializeDateKey</h4> 2064<pre>public void defaultSerializeDateKey(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</a> date, 2065 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen) 2066 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 2067<div class="block">Method that will handle serialization of Dates used as <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, 2068 based on <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>SerializationFeature.WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a> 2069 value (and if using textual representation, configured date format)</div> 2070<dl> 2071<dt><span class="throwsLabel">Throws:</span></dt> 2072<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2073</dl> 2074</li> 2075</ul> 2076<a name="defaultSerializeNull-com.fasterxml.jackson.core.JsonGenerator-"> 2077<!-- --> 2078</a> 2079<ul class="blockList"> 2080<li class="blockList"> 2081<h4>defaultSerializeNull</h4> 2082<pre>public final void defaultSerializeNull(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen) 2083 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 2084<dl> 2085<dt><span class="throwsLabel">Throws:</span></dt> 2086<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2087</dl> 2088</li> 2089</ul> 2090<a name="reportMappingProblem-java.lang.String-java.lang.Object...-"> 2091<!-- --> 2092</a> 2093<ul class="blockList"> 2094<li class="blockList"> 2095<h4>reportMappingProblem</h4> 2096<pre>public void reportMappingProblem(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message, 2097 <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>... args) 2098 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2099<div class="block">Helper method called to indicate problem; default behavior is to construct and 2100 throw a <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>, but in future may collect more than one 2101 and only throw after certain number, or at the end of serialization.</div> 2102<dl> 2103<dt><span class="throwsLabel">Throws:</span></dt> 2104<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2105<dt><span class="simpleTagLabel">Since:</span></dt> 2106<dd>2.8</dd> 2107</dl> 2108</li> 2109</ul> 2110<a name="reportBadTypeDefinition-com.fasterxml.jackson.databind.BeanDescription-java.lang.String-java.lang.Object...-"> 2111<!-- --> 2112</a> 2113<ul class="blockList"> 2114<li class="blockList"> 2115<h4>reportBadTypeDefinition</h4> 2116<pre>public <T> T reportBadTypeDefinition(<a href="../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> bean, 2117 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 2118 <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>... msgArgs) 2119 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2120<div class="block">Helper method called to indicate problem in POJO (serialization) definitions or settings 2121 regarding specific Java type, unrelated to actual JSON content to map. 2122 Default behavior is to construct and throw a <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>.</div> 2123<dl> 2124<dt><span class="throwsLabel">Throws:</span></dt> 2125<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2126<dt><span class="simpleTagLabel">Since:</span></dt> 2127<dd>2.9</dd> 2128</dl> 2129</li> 2130</ul> 2131<a name="reportBadPropertyDefinition-com.fasterxml.jackson.databind.BeanDescription-com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition-java.lang.String-java.lang.Object...-"> 2132<!-- --> 2133</a> 2134<ul class="blockList"> 2135<li class="blockList"> 2136<h4>reportBadPropertyDefinition</h4> 2137<pre>public <T> T reportBadPropertyDefinition(<a href="../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a> bean, 2138 <a href="../../../../com/fasterxml/jackson/databind/introspect/BeanPropertyDefinition.html" title="class in com.fasterxml.jackson.databind.introspect">BeanPropertyDefinition</a> prop, 2139 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message, 2140 <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>... msgArgs) 2141 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2142<div class="block">Helper method called to indicate problem in POJO (serialization) definitions or settings 2143 regarding specific property (of a type), unrelated to actual JSON content to map. 2144 Default behavior is to construct and throw a <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>.</div> 2145<dl> 2146<dt><span class="throwsLabel">Throws:</span></dt> 2147<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2148<dt><span class="simpleTagLabel">Since:</span></dt> 2149<dd>2.9</dd> 2150</dl> 2151</li> 2152</ul> 2153<a name="reportBadDefinition-com.fasterxml.jackson.databind.JavaType-java.lang.String-"> 2154<!-- --> 2155</a> 2156<ul class="blockList"> 2157<li class="blockList"> 2158<h4>reportBadDefinition</h4> 2159<pre>public <T> T reportBadDefinition(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 2160 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg) 2161 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2162<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#reportBadDefinition-com.fasterxml.jackson.databind.JavaType-java.lang.String-">DatabindContext</a></code></span></div> 2163<div class="block">Helper method called to indicate a generic problem that stems from type 2164 definition(s), not input data, or input/output state; typically this 2165 means throwing a <a href="../../../../com/fasterxml/jackson/databind/exc/InvalidDefinitionException.html" title="class in com.fasterxml.jackson.databind.exc"><code>InvalidDefinitionException</code></a>.</div> 2166<dl> 2167<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 2168<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#reportBadDefinition-com.fasterxml.jackson.databind.JavaType-java.lang.String-">reportBadDefinition</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 2169<dt><span class="throwsLabel">Throws:</span></dt> 2170<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2171</dl> 2172</li> 2173</ul> 2174<a name="reportBadDefinition-com.fasterxml.jackson.databind.JavaType-java.lang.String-java.lang.Throwable-"> 2175<!-- --> 2176</a> 2177<ul class="blockList"> 2178<li class="blockList"> 2179<h4>reportBadDefinition</h4> 2180<pre>public <T> T reportBadDefinition(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 2181 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 2182 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause) 2183 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2184<dl> 2185<dt><span class="throwsLabel">Throws:</span></dt> 2186<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2187<dt><span class="simpleTagLabel">Since:</span></dt> 2188<dd>2.9</dd> 2189</dl> 2190</li> 2191</ul> 2192<a name="reportBadDefinition-java.lang.Class-java.lang.String-java.lang.Throwable-"> 2193<!-- --> 2194</a> 2195<ul class="blockList"> 2196<li class="blockList"> 2197<h4>reportBadDefinition</h4> 2198<pre>public <T> T reportBadDefinition(<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><?> raw, 2199 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> msg, 2200 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> cause) 2201 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2202<dl> 2203<dt><span class="throwsLabel">Throws:</span></dt> 2204<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2205<dt><span class="simpleTagLabel">Since:</span></dt> 2206<dd>2.9</dd> 2207</dl> 2208</li> 2209</ul> 2210<a name="reportMappingProblem-java.lang.Throwable-java.lang.String-java.lang.Object...-"> 2211<!-- --> 2212</a> 2213<ul class="blockList"> 2214<li class="blockList"> 2215<h4>reportMappingProblem</h4> 2216<pre>public void reportMappingProblem(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t, 2217 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message, 2218 <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>... msgArgs) 2219 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2220<div class="block">Helper method called to indicate problem; default behavior is to construct and 2221 throw a <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>, but in future may collect more than one 2222 and only throw after certain number, or at the end of serialization.</div> 2223<dl> 2224<dt><span class="throwsLabel">Throws:</span></dt> 2225<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2226<dt><span class="simpleTagLabel">Since:</span></dt> 2227<dd>2.8</dd> 2228</dl> 2229</li> 2230</ul> 2231<a name="invalidTypeIdException-com.fasterxml.jackson.databind.JavaType-java.lang.String-java.lang.String-"> 2232<!-- --> 2233</a> 2234<ul class="blockList"> 2235<li class="blockList"> 2236<h4>invalidTypeIdException</h4> 2237<pre>public <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> invalidTypeIdException(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> baseType, 2238 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> typeId, 2239 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> extraDesc)</pre> 2240<div class="block"><span class="descfrmTypeLabel">Description copied from class: <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#invalidTypeIdException-com.fasterxml.jackson.databind.JavaType-java.lang.String-java.lang.String-">DatabindContext</a></code></span></div> 2241<div class="block">Helper method for constructing exception to indicate that given type id 2242 could not be resolved to a valid subtype of specified base type. 2243 Most commonly called during polymorphic deserialization. 2244<p> 2245 Note that most of the time this method should NOT be called directly: instead, 2246 method <code>handleUnknownTypeId()</code> should be called which will call this method 2247 if necessary.</div> 2248<dl> 2249<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 2250<dd><code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html#invalidTypeIdException-com.fasterxml.jackson.databind.JavaType-java.lang.String-java.lang.String-">invalidTypeIdException</a></code> in class <code><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></code></dd> 2251</dl> 2252</li> 2253</ul> 2254<a name="mappingException-java.lang.String-java.lang.Object...-"> 2255<!-- --> 2256</a> 2257<ul class="blockList"> 2258<li class="blockList"> 2259<h4>mappingException</h4> 2260<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 2261public <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> mappingException(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message, 2262 <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>... msgArgs)</pre> 2263<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since 2.9</span></div> 2264<div class="block">Factory method for constructing a <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>; 2265 usually only indirectly used by calling 2266 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportMappingProblem-java.lang.String-java.lang.Object...-"><code>reportMappingProblem(String, Object...)</code></a>.</div> 2267<dl> 2268<dt><span class="simpleTagLabel">Since:</span></dt> 2269<dd>2.6</dd> 2270</dl> 2271</li> 2272</ul> 2273<a name="mappingException-java.lang.Throwable-java.lang.String-java.lang.Object...-"> 2274<!-- --> 2275</a> 2276<ul class="blockList"> 2277<li class="blockList"> 2278<h4>mappingException</h4> 2279<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 2280protected <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a> mappingException(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a> t, 2281 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> message, 2282 <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>... msgArgs)</pre> 2283<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since 2.9</span></div> 2284<div class="block">Factory method for constructing a <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>; 2285 usually only indirectly used by calling 2286 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html#reportMappingProblem-java.lang.Throwable-java.lang.String-java.lang.Object...-"><code>reportMappingProblem(Throwable, String, Object...)</code></a></div> 2287<dl> 2288<dt><span class="simpleTagLabel">Since:</span></dt> 2289<dd>2.8</dd> 2290</dl> 2291</li> 2292</ul> 2293<a name="Z:Z_reportIncompatibleRootType-java.lang.Object-com.fasterxml.jackson.databind.JavaType-"> 2294<!-- --> 2295</a> 2296<ul class="blockList"> 2297<li class="blockList"> 2298<h4>_reportIncompatibleRootType</h4> 2299<pre>protected void _reportIncompatibleRootType(<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> value, 2300 <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType) 2301 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 2302<dl> 2303<dt><span class="throwsLabel">Throws:</span></dt> 2304<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2305</dl> 2306</li> 2307</ul> 2308<a name="Z:Z_findExplicitUntypedSerializer-java.lang.Class-"> 2309<!-- --> 2310</a> 2311<ul class="blockList"> 2312<li class="blockList"> 2313<h4>_findExplicitUntypedSerializer</h4> 2314<pre>protected <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>> _findExplicitUntypedSerializer(<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><?> runtimeType) 2315 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2316<div class="block">Method that will try to find a serializer, either from cache 2317 or by constructing one; but will not return an "unknown" serializer 2318 if this cannot be done but rather returns null.</div> 2319<dl> 2320<dt><span class="returnLabel">Returns:</span></dt> 2321<dd>Serializer if one can be found, null if not.</dd> 2322<dt><span class="throwsLabel">Throws:</span></dt> 2323<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2324</dl> 2325</li> 2326</ul> 2327<a name="Z:Z_createAndCacheUntypedSerializer-java.lang.Class-"> 2328<!-- --> 2329</a> 2330<ul class="blockList"> 2331<li class="blockList"> 2332<h4>_createAndCacheUntypedSerializer</h4> 2333<pre>protected <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>> _createAndCacheUntypedSerializer(<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><?> rawType) 2334 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2335<div class="block">Method that will try to construct a value serializer; and if 2336 one is successfully created, cache it for reuse.</div> 2337<dl> 2338<dt><span class="throwsLabel">Throws:</span></dt> 2339<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2340</dl> 2341</li> 2342</ul> 2343<a name="Z:Z_createAndCacheUntypedSerializer-com.fasterxml.jackson.databind.JavaType-"> 2344<!-- --> 2345</a> 2346<ul class="blockList"> 2347<li class="blockList"> 2348<h4>_createAndCacheUntypedSerializer</h4> 2349<pre>protected <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>> _createAndCacheUntypedSerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 2350 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2351<dl> 2352<dt><span class="throwsLabel">Throws:</span></dt> 2353<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2354</dl> 2355</li> 2356</ul> 2357<a name="Z:Z_createUntypedSerializer-com.fasterxml.jackson.databind.JavaType-"> 2358<!-- --> 2359</a> 2360<ul class="blockList"> 2361<li class="blockList"> 2362<h4>_createUntypedSerializer</h4> 2363<pre>protected <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>> _createUntypedSerializer(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type) 2364 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2365<dl> 2366<dt><span class="throwsLabel">Throws:</span></dt> 2367<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2368<dt><span class="simpleTagLabel">Since:</span></dt> 2369<dd>2.1</dd> 2370</dl> 2371</li> 2372</ul> 2373<a name="Z:Z_handleContextualResolvable-com.fasterxml.jackson.databind.JsonSerializer-com.fasterxml.jackson.databind.BeanProperty-"> 2374<!-- --> 2375</a> 2376<ul class="blockList"> 2377<li class="blockList"> 2378<h4>_handleContextualResolvable</h4> 2379<pre>protected <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>> _handleContextualResolvable(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser, 2380 <a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a> property) 2381 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2382<div class="block">Helper method called to resolve and contextualize given 2383 serializer, if and as necessary.</div> 2384<dl> 2385<dt><span class="throwsLabel">Throws:</span></dt> 2386<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2387</dl> 2388</li> 2389</ul> 2390<a name="Z:Z_handleResolvable-com.fasterxml.jackson.databind.JsonSerializer-"> 2391<!-- --> 2392</a> 2393<ul class="blockList"> 2394<li class="blockList"> 2395<h4>_handleResolvable</h4> 2396<pre>protected <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>> _handleResolvable(<a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a><?> ser) 2397 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2398<dl> 2399<dt><span class="throwsLabel">Throws:</span></dt> 2400<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2401</dl> 2402</li> 2403</ul> 2404<a name="Z:Z_dateFormat--"> 2405<!-- --> 2406</a> 2407<ul class="blockListLast"> 2408<li class="blockList"> 2409<h4>_dateFormat</h4> 2410<pre>protected final <a href="https://docs.oracle.com/javase/8/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a> _dateFormat()</pre> 2411</li> 2412</ul> 2413</li> 2414</ul> 2415</li> 2416</ul> 2417</div> 2418</div> 2419<!-- ========= END OF CLASS DATA ========= --> 2420<!-- ======= START OF BOTTOM NAVBAR ====== --> 2421<div class="bottomNav"><a name="navbar.bottom"> 2422<!-- --> 2423</a> 2424<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 2425<a name="navbar.bottom.firstrow"> 2426<!-- --> 2427</a> 2428<ul class="navList" title="Navigation"> 2429<li><a href="../../../../overview-summary.html">Overview</a></li> 2430<li><a href="package-summary.html">Package</a></li> 2431<li class="navBarCell1Rev">Class</li> 2432<li><a href="class-use/SerializerProvider.html">Use</a></li> 2433<li><a href="package-tree.html">Tree</a></li> 2434<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 2435<li><a href="../../../../index-all.html">Index</a></li> 2436<li><a href="../../../../help-doc.html">Help</a></li> 2437</ul> 2438</div> 2439<div class="subNav"> 2440<ul class="navList"> 2441<li><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> 2442<li>Next Class</li> 2443</ul> 2444<ul class="navList"> 2445<li><a href="../../../../index.html?com/fasterxml/jackson/databind/SerializerProvider.html" target="_top">Frames</a></li> 2446<li><a href="SerializerProvider.html" target="_top">No Frames</a></li> 2447</ul> 2448<ul class="navList" id="allclasses_navbar_bottom"> 2449<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 2450</ul> 2451<div> 2452<script type="text/javascript"><!-- 2453 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 2454 if(window==top) { 2455 allClassesLink.style.display = "block"; 2456 } 2457 else { 2458 allClassesLink.style.display = "none"; 2459 } 2460 //--> 2461</script> 2462</div> 2463<div> 2464<ul class="subNavList"> 2465<li>Summary: </li> 2466<li>Nested | </li> 2467<li><a href="#field.summary">Field</a> | </li> 2468<li><a href="#constructor.summary">Constr</a> | </li> 2469<li><a href="#method.summary">Method</a></li> 2470</ul> 2471<ul class="subNavList"> 2472<li>Detail: </li> 2473<li><a href="#field.detail">Field</a> | </li> 2474<li><a href="#constructor.detail">Constr</a> | </li> 2475<li><a href="#method.detail">Method</a></li> 2476</ul> 2477</div> 2478<a name="skip.navbar.bottom"> 2479<!-- --> 2480</a></div> 2481<!-- ======== END OF BOTTOM NAVBAR ======= --> 2482<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 2483</body> 2484</html> 2485