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 Nov 05 19:39:06 PST 2019 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>MapperFeature (jackson-databind 2.10.0 API)</title> 8<meta name="date" content="2019-11-05"> 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="MapperFeature (jackson-databind 2.10.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":9}; 23var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../overview-summary.html">Overview</a></li> 42<li><a href="package-summary.html">Package</a></li> 43<li class="navBarCell1Rev">Class</li> 44<li><a href="class-use/MapperFeature.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/KeyDeserializer.None.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../index.html?com/fasterxml/jackson/databind/MapperFeature.html" target="_top">Frames</a></li> 58<li><a href="MapperFeature.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="#enum.constant.summary">Enum Constants</a> | </li> 80<li>Field | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li><a href="#enum.constant.detail">Enum Constants</a> | </li> 86<li>Field | </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="Enum MapperFeature" class="title">Enum MapperFeature</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="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>></li> 105<li> 106<ul class="inheritance"> 107<li>com.fasterxml.jackson.databind.MapperFeature</li> 108</ul> 109</li> 110</ul> 111</li> 112</ul> 113<div class="description"> 114<ul class="blockList"> 115<li class="blockList"> 116<dl> 117<dt>All Implemented Interfaces:</dt> 118<dd><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>></dd> 119</dl> 120<hr> 121<br> 122<pre>public enum <span class="typeNameLabel">MapperFeature</span> 123extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>> 124implements <a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a></pre> 125<div class="block">Enumeration that defines simple on/off features to set 126 for <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>, and accessible (but not changeable) 127 via <a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a> and <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> (as well as 128 through various convenience methods through context objects). 129<p> 130 Note that in addition to being only mutable via <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>, 131 changes only take effect when done <b>before any serialization or 132 deserialization</b> calls -- that is, caller must follow 133 "configure-then-use" pattern.</div> 134</li> 135</ul> 136</div> 137<div class="summary"> 138<ul class="blockList"> 139<li class="blockList"> 140<!-- =========== ENUM CONSTANT SUMMARY =========== --> 141<ul class="blockList"> 142<li class="blockList"><a name="enum.constant.summary"> 143<!-- --> 144</a> 145<h3>Enum Constant Summary</h3> 146<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> 147<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> 148<tr> 149<th class="colOne" scope="col">Enum Constant and Description</th> 150</tr> 151<tr class="altColor"> 152<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#ACCEPT_CASE_INSENSITIVE_ENUMS">ACCEPT_CASE_INSENSITIVE_ENUMS</a></span></code> 153<div class="block">Feature that determines if Enum deserialization should be case sensitive or not.</div> 154</td> 155</tr> 156<tr class="rowColor"> 157<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#ACCEPT_CASE_INSENSITIVE_PROPERTIES">ACCEPT_CASE_INSENSITIVE_PROPERTIES</a></span></code> 158<div class="block">Feature that will allow for more forgiving deserialization of incoming JSON.</div> 159</td> 160</tr> 161<tr class="altColor"> 162<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#ACCEPT_CASE_INSENSITIVE_VALUES">ACCEPT_CASE_INSENSITIVE_VALUES</a></span></code> 163<div class="block">Feature that permits parsing some enumerated text-based value types but ignoring the case 164 of the values on deserialization: for example, date/time type deserializers.</div> 165</td> 166</tr> 167<tr class="rowColor"> 168<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#ALLOW_COERCION_OF_SCALARS">ALLOW_COERCION_OF_SCALARS</a></span></code> 169<div class="block">Feature that determines whether coercions from secondary representations are allowed 170 for simple non-textual scalar types: numbers and booleans.</div> 171</td> 172</tr> 173<tr class="altColor"> 174<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#ALLOW_EXPLICIT_PROPERTY_RENAMING">ALLOW_EXPLICIT_PROPERTY_RENAMING</a></span></code> 175<div class="block">Feature that when enabled will allow explicitly named properties (i.e., fields or methods 176 annotated with <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonProperty.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonProperty</code></a>("explicitName")) to 177 be re-named by a <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy</code></a>, if one is configured.</div> 178</td> 179</tr> 180<tr class="rowColor"> 181<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#ALLOW_FINAL_FIELDS_AS_MUTATORS">ALLOW_FINAL_FIELDS_AS_MUTATORS</a></span></code> 182<div class="block">Feature that determines whether member fields declared as 'final' may 183 be auto-detected to be used mutators (used to change value of the logical 184 property) or not.</div> 185</td> 186</tr> 187<tr class="altColor"> 188<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_CREATORS">AUTO_DETECT_CREATORS</a></span></code> 189<div class="block">Feature that determines whether "creator" methods are 190 automatically detected by consider public constructors, 191 and static single argument methods with name "valueOf".</div> 192</td> 193</tr> 194<tr class="rowColor"> 195<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_FIELDS">AUTO_DETECT_FIELDS</a></span></code> 196<div class="block">Feature that determines whether non-static fields are recognized as 197 properties.</div> 198</td> 199</tr> 200<tr class="altColor"> 201<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_GETTERS">AUTO_DETECT_GETTERS</a></span></code> 202<div class="block">Feature that determines whether regular "getter" methods are 203 automatically detected based on standard Bean naming convention 204 or not.</div> 205</td> 206</tr> 207<tr class="rowColor"> 208<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_IS_GETTERS">AUTO_DETECT_IS_GETTERS</a></span></code> 209<div class="block">Feature that determines whether "is getter" methods are 210 automatically detected based on standard Bean naming convention 211 or not.</div> 212</td> 213</tr> 214<tr class="altColor"> 215<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_SETTERS">AUTO_DETECT_SETTERS</a></span></code> 216<div class="block">Feature that determines whether "setter" methods are 217 automatically detected based on standard Bean naming convention 218 or not.</div> 219</td> 220</tr> 221<tr class="rowColor"> 222<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#CAN_OVERRIDE_ACCESS_MODIFIERS">CAN_OVERRIDE_ACCESS_MODIFIERS</a></span></code> 223<div class="block">Feature that determines whether method and field access 224 modifier settings can be overridden when accessing 225 properties.</div> 226</td> 227</tr> 228<tr class="altColor"> 229<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#DEFAULT_VIEW_INCLUSION">DEFAULT_VIEW_INCLUSION</a></span></code> 230<div class="block">Feature that determines whether properties that have no view 231 annotations are included in JSON serialization views (see 232 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonView.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonView</code></a> for more 233 details on JSON Views).</div> 234</td> 235</tr> 236<tr class="rowColor"> 237<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#IGNORE_DUPLICATE_MODULE_REGISTRATIONS">IGNORE_DUPLICATE_MODULE_REGISTRATIONS</a></span></code> 238<div class="block">Feature that determines whether multiple registrations of same module 239 should be ignored or not; if enabled, only the first registration call 240 results in module being called, and possible duplicate calls are silently 241 ignored; if disabled, no checking is done and all registration calls are 242 dispatched to module.</div> 243</td> 244</tr> 245<tr class="altColor"> 246<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#IGNORE_MERGE_FOR_UNMERGEABLE">IGNORE_MERGE_FOR_UNMERGEABLE</a></span></code> 247<div class="block">Setting that determines what happens if an attempt is made to explicitly 248 "merge" value of a property, where value does not support merging; either 249 merging is skipped and new value is created (<code>true</code>) or 250 an exception is thrown (false).</div> 251</td> 252</tr> 253<tr class="rowColor"> 254<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#INFER_CREATOR_FROM_CONSTRUCTOR_PROPERTIES">INFER_CREATOR_FROM_CONSTRUCTOR_PROPERTIES</a></span></code> 255<div class="block">Feature that determines handling of <code>java.beans.ConstructorProperties</code> 256 annotation: when enabled, it is considered as alias of 257 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonCreator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonCreator</code></a>, to mean that constructor 258 should be considered a property-based Creator; when disabled, only constructor 259 parameter name information is used, but constructor is NOT considered an explicit 260 Creator (although may be discovered as one using other annotations or heuristics).</div> 261</td> 262</tr> 263<tr class="altColor"> 264<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#INFER_PROPERTY_MUTATORS">INFER_PROPERTY_MUTATORS</a></span></code> 265<div class="block">Feature that determines whether member mutators (fields and 266 setters) may be "pulled in" even if they are not visible, 267 as long as there is a visible accessor (getter or field) with same name.</div> 268</td> 269</tr> 270<tr class="rowColor"> 271<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#OVERRIDE_PUBLIC_ACCESS_MODIFIERS">OVERRIDE_PUBLIC_ACCESS_MODIFIERS</a></span></code> 272<div class="block">Feature that determines that forces call to 273 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible-java.lang.reflect.AccessibleObject:A-boolean-" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)</code></a> even for 274 <code>public</code> accessors -- that is, even if no such call is 275 needed from functionality perspective -- if call is allowed 276 (that is, <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#CAN_OVERRIDE_ACCESS_MODIFIERS"><code>CAN_OVERRIDE_ACCESS_MODIFIERS</code></a> is set to true).</div> 277</td> 278</tr> 279<tr class="altColor"> 280<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#PROPAGATE_TRANSIENT_MARKER">PROPAGATE_TRANSIENT_MARKER</a></span></code> 281<div class="block">Feature that determines how <code>transient</code> modifier for fields 282 is handled: if disabled, it is only taken to mean exclusion of the field 283 as accessor; if true, it is taken to imply removal of the whole property.</div> 284</td> 285</tr> 286<tr class="rowColor"> 287<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#REQUIRE_SETTERS_FOR_GETTERS">REQUIRE_SETTERS_FOR_GETTERS</a></span></code> 288<div class="block">Feature that determines whether getters (getter methods) 289 can be auto-detected if there is no matching mutator (setter, 290 constructor parameter or field) or not: if set to true, 291 only getters that match a mutator are auto-discovered; if 292 false, all auto-detectable getters can be discovered.</div> 293</td> 294</tr> 295<tr class="altColor"> 296<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#SORT_PROPERTIES_ALPHABETICALLY">SORT_PROPERTIES_ALPHABETICALLY</a></span></code> 297<div class="block">Feature that defines default property serialization order used 298 for POJO fields (note: does <b>not</b> apply to <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> 299 serialization!): 300 if enabled, default ordering is alphabetic (similar to 301 how <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonPropertyOrder.html?is-external=true#alphabetic--" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonPropertyOrder.alphabetic()</code></a> 302 works); if disabled, order is unspecified (based on what JDK gives 303 us, which may be declaration order, but is not guaranteed).</div> 304</td> 305</tr> 306<tr class="rowColor"> 307<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_ANNOTATIONS">USE_ANNOTATIONS</a></span></code> 308<div class="block">Feature that determines whether annotation introspection 309 is used for configuration; if enabled, configured 310 <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a> will be used: if disabled, 311 no annotations are considered.</div> 312</td> 313</tr> 314<tr class="altColor"> 315<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_BASE_TYPE_AS_DEFAULT_IMPL">USE_BASE_TYPE_AS_DEFAULT_IMPL</a></span></code> 316<div class="block">Feature that specifies whether the declared base type of a polymorphic value 317 is to be used as the "default" implementation, if no explicit default class 318 is specified via <code>@JsonTypeInfo.defaultImpl</code> annotation.</div> 319</td> 320</tr> 321<tr class="rowColor"> 322<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_GETTERS_AS_SETTERS">USE_GETTERS_AS_SETTERS</a></span></code> 323<div class="block">Feature that determines whether otherwise regular "getter" 324 methods (but only ones that handle Collections and Maps, 325 not getters of other type) 326 can be used for purpose of getting a reference to a Collection 327 and Map to modify the property, without requiring a setter 328 method.</div> 329</td> 330</tr> 331<tr class="altColor"> 332<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_STATIC_TYPING">USE_STATIC_TYPING</a></span></code> 333<div class="block">Feature that determines whether the type detection for 334 serialization should be using actual dynamic runtime type, 335 or declared static type.</div> 336</td> 337</tr> 338<tr class="rowColor"> 339<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_STD_BEAN_NAMING">USE_STD_BEAN_NAMING</a></span></code> 340<div class="block">Feature that may be enabled to enforce strict compatibility with 341 Bean name introspection, instead of slightly different mechanism 342 Jackson defaults to.</div> 343</td> 344</tr> 345<tr class="altColor"> 346<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_WRAPPER_NAME_AS_PROPERTY_NAME">USE_WRAPPER_NAME_AS_PROPERTY_NAME</a></span></code> 347<div class="block">Feature that can be enabled to make property names be 348 overridden by wrapper name (usually detected with annotations 349 as defined by <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html#findWrapperName-com.fasterxml.jackson.databind.introspect.Annotated-"><code>AnnotationIntrospector.findWrapperName(com.fasterxml.jackson.databind.introspect.Annotated)</code></a>.</div> 350</td> 351</tr> 352</table> 353</li> 354</ul> 355<!-- ========== METHOD SUMMARY =========== --> 356<ul class="blockList"> 357<li class="blockList"><a name="method.summary"> 358<!-- --> 359</a> 360<h3>Method Summary</h3> 361<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 362<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 363<tr> 364<th class="colFirst" scope="col">Modifier and Type</th> 365<th class="colLast" scope="col">Method and Description</th> 366</tr> 367<tr id="i0" class="altColor"> 368<td class="colFirst"><code>boolean</code></td> 369<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#enabledByDefault--">enabledByDefault</a></span>()</code> 370<div class="block">Accessor for checking whether this feature is enabled by default.</div> 371</td> 372</tr> 373<tr id="i1" class="rowColor"> 374<td class="colFirst"><code>boolean</code></td> 375<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#enabledIn-int-">enabledIn</a></span>(int flags)</code> 376<div class="block">Convenience method for checking whether feature is enabled in given bitmask</div> 377</td> 378</tr> 379<tr id="i2" class="altColor"> 380<td class="colFirst"><code>int</code></td> 381<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#getMask--">getMask</a></span>()</code> 382<div class="block">Returns bit mask for this feature instance</div> 383</td> 384</tr> 385<tr id="i3" class="rowColor"> 386<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a></code></td> 387<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#valueOf-java.lang.String-">valueOf</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> name)</code> 388<div class="block">Returns the enum constant of this type with the specified name.</div> 389</td> 390</tr> 391<tr id="i4" class="altColor"> 392<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>[]</code></td> 393<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#values--">values</a></span>()</code> 394<div class="block">Returns an array containing the constants of this enum type, in 395the order they are declared.</div> 396</td> 397</tr> 398</table> 399<ul class="blockList"> 400<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum"> 401<!-- --> 402</a> 403<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3> 404<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.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/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.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/Enum.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/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.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/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.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/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li> 405</ul> 406<ul class="blockList"> 407<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 408<!-- --> 409</a> 410<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> 411<code><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#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 412</ul> 413</li> 414</ul> 415</li> 416</ul> 417</div> 418<div class="details"> 419<ul class="blockList"> 420<li class="blockList"> 421<!-- ============ ENUM CONSTANT DETAIL =========== --> 422<ul class="blockList"> 423<li class="blockList"><a name="enum.constant.detail"> 424<!-- --> 425</a> 426<h3>Enum Constant Detail</h3> 427<a name="USE_ANNOTATIONS"> 428<!-- --> 429</a> 430<ul class="blockList"> 431<li class="blockList"> 432<h4>USE_ANNOTATIONS</h4> 433<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> USE_ANNOTATIONS</pre> 434<div class="block">Feature that determines whether annotation introspection 435 is used for configuration; if enabled, configured 436 <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a> will be used: if disabled, 437 no annotations are considered. 438<p> 439 Feature is enabled by default.</div> 440</li> 441</ul> 442<a name="USE_GETTERS_AS_SETTERS"> 443<!-- --> 444</a> 445<ul class="blockList"> 446<li class="blockList"> 447<h4>USE_GETTERS_AS_SETTERS</h4> 448<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> USE_GETTERS_AS_SETTERS</pre> 449<div class="block">Feature that determines whether otherwise regular "getter" 450 methods (but only ones that handle Collections and Maps, 451 not getters of other type) 452 can be used for purpose of getting a reference to a Collection 453 and Map to modify the property, without requiring a setter 454 method. 455 This is similar to how JAXB framework sets Collections and 456 Maps: no setter is involved, just setter. 457<p> 458 Note that such getters-as-setters methods have lower 459 precedence than setters, so they are only used if no 460 setter is found for the Map/Collection property. 461<p> 462 Feature is enabled by default.</div> 463</li> 464</ul> 465<a name="PROPAGATE_TRANSIENT_MARKER"> 466<!-- --> 467</a> 468<ul class="blockList"> 469<li class="blockList"> 470<h4>PROPAGATE_TRANSIENT_MARKER</h4> 471<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> PROPAGATE_TRANSIENT_MARKER</pre> 472<div class="block">Feature that determines how <code>transient</code> modifier for fields 473 is handled: if disabled, it is only taken to mean exclusion of the field 474 as accessor; if true, it is taken to imply removal of the whole property. 475<p> 476 Feature is disabled by default, meaning that existence of `transient` 477 for a field does not necessarily lead to ignoral of getters or setters 478 but just ignoring the use of field for access.</div> 479<dl> 480<dt><span class="simpleTagLabel">Since:</span></dt> 481<dd>2.6</dd> 482</dl> 483</li> 484</ul> 485<a name="AUTO_DETECT_CREATORS"> 486<!-- --> 487</a> 488<ul class="blockList"> 489<li class="blockList"> 490<h4>AUTO_DETECT_CREATORS</h4> 491<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> AUTO_DETECT_CREATORS</pre> 492<div class="block">Feature that determines whether "creator" methods are 493 automatically detected by consider public constructors, 494 and static single argument methods with name "valueOf". 495 If disabled, only methods explicitly annotated are considered 496 creator methods (except for the no-arg default constructor which 497 is always considered a factory method). 498<p> 499 Note that this feature has lower precedence than per-class 500 annotations, and is only used if there isn't more granular 501 configuration available. 502<P> 503 Feature is enabled by default.</div> 504</li> 505</ul> 506<a name="AUTO_DETECT_FIELDS"> 507<!-- --> 508</a> 509<ul class="blockList"> 510<li class="blockList"> 511<h4>AUTO_DETECT_FIELDS</h4> 512<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> AUTO_DETECT_FIELDS</pre> 513<div class="block">Feature that determines whether non-static fields are recognized as 514 properties. 515 If yes, then all public member fields 516 are considered as properties. If disabled, only fields explicitly 517 annotated are considered property fields. 518<p> 519 Note that this feature has lower precedence than per-class 520 annotations, and is only used if there isn't more granular 521 configuration available. 522<p> 523 Feature is enabled by default.</div> 524</li> 525</ul> 526<a name="AUTO_DETECT_GETTERS"> 527<!-- --> 528</a> 529<ul class="blockList"> 530<li class="blockList"> 531<h4>AUTO_DETECT_GETTERS</h4> 532<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> AUTO_DETECT_GETTERS</pre> 533<div class="block">Feature that determines whether regular "getter" methods are 534 automatically detected based on standard Bean naming convention 535 or not. If yes, then all public zero-argument methods that 536 start with prefix "get" 537 are considered as getters. 538 If disabled, only methods explicitly annotated are considered getters. 539<p> 540 Note that since version 1.3, this does <b>NOT</b> include 541 "is getters" (see <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_IS_GETTERS"><code>AUTO_DETECT_IS_GETTERS</code></a> for details) 542<p> 543 Note that this feature has lower precedence than per-class 544 annotations, and is only used if there isn't more granular 545 configuration available. 546<p> 547 Feature is enabled by default.</div> 548</li> 549</ul> 550<a name="AUTO_DETECT_IS_GETTERS"> 551<!-- --> 552</a> 553<ul class="blockList"> 554<li class="blockList"> 555<h4>AUTO_DETECT_IS_GETTERS</h4> 556<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> AUTO_DETECT_IS_GETTERS</pre> 557<div class="block">Feature that determines whether "is getter" methods are 558 automatically detected based on standard Bean naming convention 559 or not. If yes, then all public zero-argument methods that 560 start with prefix "is", and whose return type is boolean 561 are considered as "is getters". 562 If disabled, only methods explicitly annotated are considered getters. 563<p> 564 Note that this feature has lower precedence than per-class 565 annotations, and is only used if there isn't more granular 566 configuration available. 567<p> 568 Feature is enabled by default.</div> 569</li> 570</ul> 571<a name="AUTO_DETECT_SETTERS"> 572<!-- --> 573</a> 574<ul class="blockList"> 575<li class="blockList"> 576<h4>AUTO_DETECT_SETTERS</h4> 577<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> AUTO_DETECT_SETTERS</pre> 578<div class="block">Feature that determines whether "setter" methods are 579 automatically detected based on standard Bean naming convention 580 or not. If yes, then all public one-argument methods that 581 start with prefix "set" 582 are considered setters. If disabled, only methods explicitly 583 annotated are considered setters. 584<p> 585 Note that this feature has lower precedence than per-class 586 annotations, and is only used if there isn't more granular 587 configuration available. 588<P> 589 Feature is enabled by default.</div> 590</li> 591</ul> 592<a name="REQUIRE_SETTERS_FOR_GETTERS"> 593<!-- --> 594</a> 595<ul class="blockList"> 596<li class="blockList"> 597<h4>REQUIRE_SETTERS_FOR_GETTERS</h4> 598<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> REQUIRE_SETTERS_FOR_GETTERS</pre> 599<div class="block">Feature that determines whether getters (getter methods) 600 can be auto-detected if there is no matching mutator (setter, 601 constructor parameter or field) or not: if set to true, 602 only getters that match a mutator are auto-discovered; if 603 false, all auto-detectable getters can be discovered. 604<p> 605 Feature is disabled by default.</div> 606</li> 607</ul> 608<a name="ALLOW_FINAL_FIELDS_AS_MUTATORS"> 609<!-- --> 610</a> 611<ul class="blockList"> 612<li class="blockList"> 613<h4>ALLOW_FINAL_FIELDS_AS_MUTATORS</h4> 614<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> ALLOW_FINAL_FIELDS_AS_MUTATORS</pre> 615<div class="block">Feature that determines whether member fields declared as 'final' may 616 be auto-detected to be used mutators (used to change value of the logical 617 property) or not. If enabled, 'final' access modifier has no effect, and 618 such fields may be detected according to usual visibility and inference 619 rules; if disabled, such fields are NOT used as mutators except if 620 explicitly annotated for such use. 621<p> 622 Feature is enabled by default, for backwards compatibility reasons.</div> 623<dl> 624<dt><span class="simpleTagLabel">Since:</span></dt> 625<dd>2.2</dd> 626</dl> 627</li> 628</ul> 629<a name="INFER_PROPERTY_MUTATORS"> 630<!-- --> 631</a> 632<ul class="blockList"> 633<li class="blockList"> 634<h4>INFER_PROPERTY_MUTATORS</h4> 635<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> INFER_PROPERTY_MUTATORS</pre> 636<div class="block">Feature that determines whether member mutators (fields and 637 setters) may be "pulled in" even if they are not visible, 638 as long as there is a visible accessor (getter or field) with same name. 639 For example: field "value" may be inferred as mutator, 640 if there is visible or explicitly marked getter "getValue()". 641 If enabled, inferring is enabled; otherwise (disabled) only visible and 642 explicitly annotated accessors are ever used. 643<p> 644 Note that 'getters' are never inferred and need to be either visible (including 645 bean-style naming) or explicitly annotated. 646<p> 647 Feature is enabled by default.</div> 648<dl> 649<dt><span class="simpleTagLabel">Since:</span></dt> 650<dd>2.2</dd> 651</dl> 652</li> 653</ul> 654<a name="INFER_CREATOR_FROM_CONSTRUCTOR_PROPERTIES"> 655<!-- --> 656</a> 657<ul class="blockList"> 658<li class="blockList"> 659<h4>INFER_CREATOR_FROM_CONSTRUCTOR_PROPERTIES</h4> 660<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> INFER_CREATOR_FROM_CONSTRUCTOR_PROPERTIES</pre> 661<div class="block">Feature that determines handling of <code>java.beans.ConstructorProperties</code> 662 annotation: when enabled, it is considered as alias of 663 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonCreator.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonCreator</code></a>, to mean that constructor 664 should be considered a property-based Creator; when disabled, only constructor 665 parameter name information is used, but constructor is NOT considered an explicit 666 Creator (although may be discovered as one using other annotations or heuristics). 667<p> 668 Feature is mostly used to help inter-operability with frameworks like Lombok 669 that may automatically generate <code>ConstructorProperties</code> annotation 670 but without necessarily meaning that constructor should be used as Creator 671 for deserialization. 672<p> 673 Feature is enabled by default.</div> 674<dl> 675<dt><span class="simpleTagLabel">Since:</span></dt> 676<dd>2.9</dd> 677</dl> 678</li> 679</ul> 680<a name="CAN_OVERRIDE_ACCESS_MODIFIERS"> 681<!-- --> 682</a> 683<ul class="blockList"> 684<li class="blockList"> 685<h4>CAN_OVERRIDE_ACCESS_MODIFIERS</h4> 686<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> CAN_OVERRIDE_ACCESS_MODIFIERS</pre> 687<div class="block">Feature that determines whether method and field access 688 modifier settings can be overridden when accessing 689 properties. If enabled, method 690 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible-java.lang.reflect.AccessibleObject:A-boolean-" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)</code></a> 691 may be called to enable access to otherwise unaccessible objects. 692<p> 693 Note that this setting may have significant performance implications, 694 since access override helps remove costly access checks on each 695 and every Reflection access. If you are considering disabling 696 this feature, be sure to verify performance consequences if usage 697 is performance sensitive. 698 Also note that performance effects vary between Java platforms 699 (JavaSE vs Android, for example), as well as JDK versions: older 700 versions seemed to have more significant performance difference. 701<p> 702 Conversely, on some platforms, it may be necessary to disable this feature 703 as platform does not allow such calls. For example, when developing 704 Applets (or other Java code that runs on tightly restricted sandbox), 705 it may be necessary to disable the feature regardless of performance effects. 706<p> 707 Feature is enabled by default.</div> 708</li> 709</ul> 710<a name="OVERRIDE_PUBLIC_ACCESS_MODIFIERS"> 711<!-- --> 712</a> 713<ul class="blockList"> 714<li class="blockList"> 715<h4>OVERRIDE_PUBLIC_ACCESS_MODIFIERS</h4> 716<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> OVERRIDE_PUBLIC_ACCESS_MODIFIERS</pre> 717<div class="block">Feature that determines that forces call to 718 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible-java.lang.reflect.AccessibleObject:A-boolean-" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)</code></a> even for 719 <code>public</code> accessors -- that is, even if no such call is 720 needed from functionality perspective -- if call is allowed 721 (that is, <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#CAN_OVERRIDE_ACCESS_MODIFIERS"><code>CAN_OVERRIDE_ACCESS_MODIFIERS</code></a> is set to true). 722 The main reason to enable this feature is possible performance 723 improvement as JDK does not have to perform access checks; these 724 checks are otherwise made for all accessors, including public ones, 725 and may result in slower Reflection calls. Exact impact (if any) 726 depends on Java platform (Java SE, Android) as well as JDK version. 727<p> 728 Feature is enabled by default, for legacy reasons (it was the behavior 729 until 2.6)</div> 730<dl> 731<dt><span class="simpleTagLabel">Since:</span></dt> 732<dd>2.7</dd> 733</dl> 734</li> 735</ul> 736<a name="USE_STATIC_TYPING"> 737<!-- --> 738</a> 739<ul class="blockList"> 740<li class="blockList"> 741<h4>USE_STATIC_TYPING</h4> 742<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> USE_STATIC_TYPING</pre> 743<div class="block">Feature that determines whether the type detection for 744 serialization should be using actual dynamic runtime type, 745 or declared static type. 746 Note that deserialization always uses declared static types 747 since no runtime types are available (as we are creating 748 instances after using type information). 749<p> 750 This global default value can be overridden at class, method 751 or field level by using <a href="../../../../com/fasterxml/jackson/databind/annotation/JsonSerialize.html#typing--"><code>JsonSerialize.typing()</code></a> annotation 752 property. 753<p> 754 Feature is disabled by default which means that dynamic runtime types 755 are used (instead of declared static types) for serialization.</div> 756</li> 757</ul> 758<a name="USE_BASE_TYPE_AS_DEFAULT_IMPL"> 759<!-- --> 760</a> 761<ul class="blockList"> 762<li class="blockList"> 763<h4>USE_BASE_TYPE_AS_DEFAULT_IMPL</h4> 764<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> USE_BASE_TYPE_AS_DEFAULT_IMPL</pre> 765<div class="block">Feature that specifies whether the declared base type of a polymorphic value 766 is to be used as the "default" implementation, if no explicit default class 767 is specified via <code>@JsonTypeInfo.defaultImpl</code> annotation. 768<p> 769 Note that feature only has effect on deserialization of regular polymorphic properties: 770 it does NOT affect non-polymorphic cases, and is unlikely to work with Default Typing. 771<p> 772 Feature is disabled by default for backwards compatibility.</div> 773<dl> 774<dt><span class="simpleTagLabel">Since:</span></dt> 775<dd>2.10</dd> 776</dl> 777</li> 778</ul> 779<a name="DEFAULT_VIEW_INCLUSION"> 780<!-- --> 781</a> 782<ul class="blockList"> 783<li class="blockList"> 784<h4>DEFAULT_VIEW_INCLUSION</h4> 785<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> DEFAULT_VIEW_INCLUSION</pre> 786<div class="block">Feature that determines whether properties that have no view 787 annotations are included in JSON serialization views (see 788 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonView.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonView</code></a> for more 789 details on JSON Views). 790 If enabled, non-annotated properties will be included; 791 when disabled, they will be excluded. So this feature 792 changes between "opt-in" (feature disabled) and 793 "opt-out" (feature enabled) modes. 794<p> 795 Default value is enabled, meaning that non-annotated 796 properties are included in all views if there is no 797 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonView.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonView</code></a> annotation. 798<p> 799 Feature is enabled by default.</div> 800</li> 801</ul> 802<a name="SORT_PROPERTIES_ALPHABETICALLY"> 803<!-- --> 804</a> 805<ul class="blockList"> 806<li class="blockList"> 807<h4>SORT_PROPERTIES_ALPHABETICALLY</h4> 808<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> SORT_PROPERTIES_ALPHABETICALLY</pre> 809<div class="block">Feature that defines default property serialization order used 810 for POJO fields (note: does <b>not</b> apply to <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> 811 serialization!): 812 if enabled, default ordering is alphabetic (similar to 813 how <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonPropertyOrder.html?is-external=true#alphabetic--" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonPropertyOrder.alphabetic()</code></a> 814 works); if disabled, order is unspecified (based on what JDK gives 815 us, which may be declaration order, but is not guaranteed). 816<p> 817 Note that this is just the default behavior, and can be overridden by 818 explicit overrides in classes (for example with 819 <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonPropertyOrder.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonPropertyOrder</code></a> annotation) 820<p> 821 Feature is disabled by default.</div> 822</li> 823</ul> 824<a name="ACCEPT_CASE_INSENSITIVE_PROPERTIES"> 825<!-- --> 826</a> 827<ul class="blockList"> 828<li class="blockList"> 829<h4>ACCEPT_CASE_INSENSITIVE_PROPERTIES</h4> 830<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> ACCEPT_CASE_INSENSITIVE_PROPERTIES</pre> 831<div class="block">Feature that will allow for more forgiving deserialization of incoming JSON. 832 If enabled, the bean properties will be matched using their lower-case equivalents, 833 meaning that any case-combination (incoming and matching names are canonicalized 834 by lower-casing) should work. 835<p> 836 Note that there is additional performance overhead since incoming property 837 names need to be lower-cased before comparison, for cases where there are upper-case 838 letters. Overhead for names that are already lower-case should be negligible. 839<p> 840 Feature is disabled by default.</div> 841<dl> 842<dt><span class="simpleTagLabel">Since:</span></dt> 843<dd>2.5</dd> 844</dl> 845</li> 846</ul> 847<a name="ACCEPT_CASE_INSENSITIVE_ENUMS"> 848<!-- --> 849</a> 850<ul class="blockList"> 851<li class="blockList"> 852<h4>ACCEPT_CASE_INSENSITIVE_ENUMS</h4> 853<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> ACCEPT_CASE_INSENSITIVE_ENUMS</pre> 854<div class="block">Feature that determines if Enum deserialization should be case sensitive or not. 855 If enabled, Enum deserialization will ignore case, that is, case of incoming String 856 value and enum id (depending on other settings, either `name()`, `toString()`, or 857 explicit override) do not need to match. 858 <p> 859 Feature is disabled by default.</div> 860<dl> 861<dt><span class="simpleTagLabel">Since:</span></dt> 862<dd>2.9</dd> 863</dl> 864</li> 865</ul> 866<a name="ACCEPT_CASE_INSENSITIVE_VALUES"> 867<!-- --> 868</a> 869<ul class="blockList"> 870<li class="blockList"> 871<h4>ACCEPT_CASE_INSENSITIVE_VALUES</h4> 872<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> ACCEPT_CASE_INSENSITIVE_VALUES</pre> 873<div class="block">Feature that permits parsing some enumerated text-based value types but ignoring the case 874 of the values on deserialization: for example, date/time type deserializers. 875 Support for this feature depends on deserializer implementations using it. 876<p> 877 Note, however, that regular <code>Enum</code> types follow <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#ACCEPT_CASE_INSENSITIVE_ENUMS"><code>ACCEPT_CASE_INSENSITIVE_ENUMS</code></a> 878 setting instead. 879<p> 880 Feature is disabled by default.</div> 881<dl> 882<dt><span class="simpleTagLabel">Since:</span></dt> 883<dd>2.10</dd> 884</dl> 885</li> 886</ul> 887<a name="USE_WRAPPER_NAME_AS_PROPERTY_NAME"> 888<!-- --> 889</a> 890<ul class="blockList"> 891<li class="blockList"> 892<h4>USE_WRAPPER_NAME_AS_PROPERTY_NAME</h4> 893<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> USE_WRAPPER_NAME_AS_PROPERTY_NAME</pre> 894<div class="block">Feature that can be enabled to make property names be 895 overridden by wrapper name (usually detected with annotations 896 as defined by <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html#findWrapperName-com.fasterxml.jackson.databind.introspect.Annotated-"><code>AnnotationIntrospector.findWrapperName(com.fasterxml.jackson.databind.introspect.Annotated)</code></a>. 897 If enabled, all properties that have associated non-empty Wrapper 898 name will use that wrapper name instead of property name. 899 If disabled, wrapper name is only used for wrapping (if anything). 900<p> 901 Feature is disabled by default.</div> 902<dl> 903<dt><span class="simpleTagLabel">Since:</span></dt> 904<dd>2.1</dd> 905</dl> 906</li> 907</ul> 908<a name="USE_STD_BEAN_NAMING"> 909<!-- --> 910</a> 911<ul class="blockList"> 912<li class="blockList"> 913<h4>USE_STD_BEAN_NAMING</h4> 914<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> USE_STD_BEAN_NAMING</pre> 915<div class="block">Feature that may be enabled to enforce strict compatibility with 916 Bean name introspection, instead of slightly different mechanism 917 Jackson defaults to. 918 Specific difference is that Jackson always lower cases leading upper-case 919 letters, so "getURL()" becomes "url" property; whereas standard Bean 920 naming <b>only</b> lower-cases the first letter if it is NOT followed by 921 another upper-case letter (so "getURL()" would result in "URL" property). 922<p> 923 Feature is disabled by default for backwards compatibility purposes: earlier 924 Jackson versions used Jackson's own mechanism.</div> 925<dl> 926<dt><span class="simpleTagLabel">Since:</span></dt> 927<dd>2.5</dd> 928</dl> 929</li> 930</ul> 931<a name="ALLOW_EXPLICIT_PROPERTY_RENAMING"> 932<!-- --> 933</a> 934<ul class="blockList"> 935<li class="blockList"> 936<h4>ALLOW_EXPLICIT_PROPERTY_RENAMING</h4> 937<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> ALLOW_EXPLICIT_PROPERTY_RENAMING</pre> 938<div class="block">Feature that when enabled will allow explicitly named properties (i.e., fields or methods 939 annotated with <a href="http://fasterxml.github.io/jackson-annotations/javadoc/2.10/com/fasterxml/jackson/annotation/JsonProperty.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonProperty</code></a>("explicitName")) to 940 be re-named by a <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy</code></a>, if one is configured. 941 <p> 942 Feature is disabled by default.</div> 943<dl> 944<dt><span class="simpleTagLabel">Since:</span></dt> 945<dd>2.7</dd> 946</dl> 947</li> 948</ul> 949<a name="ALLOW_COERCION_OF_SCALARS"> 950<!-- --> 951</a> 952<ul class="blockList"> 953<li class="blockList"> 954<h4>ALLOW_COERCION_OF_SCALARS</h4> 955<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> ALLOW_COERCION_OF_SCALARS</pre> 956<div class="block">Feature that determines whether coercions from secondary representations are allowed 957 for simple non-textual scalar types: numbers and booleans. This includes `primitive` 958 types and their wrappers, but excludes `java.lang.String` and date/time types. 959<p> 960 When feature is disabled, only strictly compatible input may be bound: numbers for 961 numbers, boolean values for booleans. When feature is enabled, conversions from 962 JSON String are allowed, as long as textual value matches (for example, String 963 "true" is allowed as equivalent of JSON boolean token `true`; or String "1.0" 964 for `double`). 965<p> 966 Note that it is possible that other configurability options can override this 967 in closer scope (like on per-type or per-property basis); this is just the global 968 default. 969<p> 970 Feature is enabled by default (for backwards compatibility since this was the 971 default behavior)</div> 972<dl> 973<dt><span class="simpleTagLabel">Since:</span></dt> 974<dd>2.9</dd> 975</dl> 976</li> 977</ul> 978<a name="IGNORE_DUPLICATE_MODULE_REGISTRATIONS"> 979<!-- --> 980</a> 981<ul class="blockList"> 982<li class="blockList"> 983<h4>IGNORE_DUPLICATE_MODULE_REGISTRATIONS</h4> 984<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> IGNORE_DUPLICATE_MODULE_REGISTRATIONS</pre> 985<div class="block">Feature that determines whether multiple registrations of same module 986 should be ignored or not; if enabled, only the first registration call 987 results in module being called, and possible duplicate calls are silently 988 ignored; if disabled, no checking is done and all registration calls are 989 dispatched to module. 990<p> 991 Definition of "same module" is based on using <a href="../../../../com/fasterxml/jackson/databind/Module.html#getTypeId--"><code>Module.getTypeId()</code></a>; 992 modules with same non-null <code>type id</code> are considered same for 993 purposes of duplicate registration. This also avoids having to keep track 994 of actual module instances; only ids will be kept track of (and only if 995 this feature is enabled). 996<p> 997 Feature is enabled by default.</div> 998<dl> 999<dt><span class="simpleTagLabel">Since:</span></dt> 1000<dd>2.5</dd> 1001</dl> 1002</li> 1003</ul> 1004<a name="IGNORE_MERGE_FOR_UNMERGEABLE"> 1005<!-- --> 1006</a> 1007<ul class="blockListLast"> 1008<li class="blockList"> 1009<h4>IGNORE_MERGE_FOR_UNMERGEABLE</h4> 1010<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> IGNORE_MERGE_FOR_UNMERGEABLE</pre> 1011<div class="block">Setting that determines what happens if an attempt is made to explicitly 1012 "merge" value of a property, where value does not support merging; either 1013 merging is skipped and new value is created (<code>true</code>) or 1014 an exception is thrown (false). 1015<p> 1016 Feature is enabled by default, to allow use of merge defaults even in presence 1017 of some unmergeable properties.</div> 1018<dl> 1019<dt><span class="simpleTagLabel">Since:</span></dt> 1020<dd>2.9</dd> 1021</dl> 1022</li> 1023</ul> 1024</li> 1025</ul> 1026<!-- ============ METHOD DETAIL ========== --> 1027<ul class="blockList"> 1028<li class="blockList"><a name="method.detail"> 1029<!-- --> 1030</a> 1031<h3>Method Detail</h3> 1032<a name="values--"> 1033<!-- --> 1034</a> 1035<ul class="blockList"> 1036<li class="blockList"> 1037<h4>values</h4> 1038<pre>public static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>[] values()</pre> 1039<div class="block">Returns an array containing the constants of this enum type, in 1040the order they are declared. This method may be used to iterate 1041over the constants as follows: 1042<pre> 1043for (MapperFeature c : MapperFeature.values()) 1044 System.out.println(c); 1045</pre></div> 1046<dl> 1047<dt><span class="returnLabel">Returns:</span></dt> 1048<dd>an array containing the constants of this enum type, in the order they are declared</dd> 1049</dl> 1050</li> 1051</ul> 1052<a name="valueOf-java.lang.String-"> 1053<!-- --> 1054</a> 1055<ul class="blockList"> 1056<li class="blockList"> 1057<h4>valueOf</h4> 1058<pre>public static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> valueOf(<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> name)</pre> 1059<div class="block">Returns the enum constant of this type with the specified name. 1060The string must match <i>exactly</i> an identifier used to declare an 1061enum constant in this type. (Extraneous whitespace characters are 1062not permitted.)</div> 1063<dl> 1064<dt><span class="paramLabel">Parameters:</span></dt> 1065<dd><code>name</code> - the name of the enum constant to be returned.</dd> 1066<dt><span class="returnLabel">Returns:</span></dt> 1067<dd>the enum constant with the specified name</dd> 1068<dt><span class="throwsLabel">Throws:</span></dt> 1069<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd> 1070<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd> 1071</dl> 1072</li> 1073</ul> 1074<a name="enabledByDefault--"> 1075<!-- --> 1076</a> 1077<ul class="blockList"> 1078<li class="blockList"> 1079<h4>enabledByDefault</h4> 1080<pre>public boolean enabledByDefault()</pre> 1081<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledByDefault--">ConfigFeature</a></code></span></div> 1082<div class="block">Accessor for checking whether this feature is enabled by default.</div> 1083<dl> 1084<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1085<dd><code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledByDefault--">enabledByDefault</a></code> in interface <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a></code></dd> 1086</dl> 1087</li> 1088</ul> 1089<a name="getMask--"> 1090<!-- --> 1091</a> 1092<ul class="blockList"> 1093<li class="blockList"> 1094<h4>getMask</h4> 1095<pre>public int getMask()</pre> 1096<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#getMask--">ConfigFeature</a></code></span></div> 1097<div class="block">Returns bit mask for this feature instance</div> 1098<dl> 1099<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1100<dd><code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#getMask--">getMask</a></code> in interface <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a></code></dd> 1101</dl> 1102</li> 1103</ul> 1104<a name="enabledIn-int-"> 1105<!-- --> 1106</a> 1107<ul class="blockListLast"> 1108<li class="blockList"> 1109<h4>enabledIn</h4> 1110<pre>public boolean enabledIn(int flags)</pre> 1111<div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledIn-int-">ConfigFeature</a></code></span></div> 1112<div class="block">Convenience method for checking whether feature is enabled in given bitmask</div> 1113<dl> 1114<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1115<dd><code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledIn-int-">enabledIn</a></code> in interface <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a></code></dd> 1116</dl> 1117</li> 1118</ul> 1119</li> 1120</ul> 1121</li> 1122</ul> 1123</div> 1124</div> 1125<!-- ========= END OF CLASS DATA ========= --> 1126<!-- ======= START OF BOTTOM NAVBAR ====== --> 1127<div class="bottomNav"><a name="navbar.bottom"> 1128<!-- --> 1129</a> 1130<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 1131<a name="navbar.bottom.firstrow"> 1132<!-- --> 1133</a> 1134<ul class="navList" title="Navigation"> 1135<li><a href="../../../../overview-summary.html">Overview</a></li> 1136<li><a href="package-summary.html">Package</a></li> 1137<li class="navBarCell1Rev">Class</li> 1138<li><a href="class-use/MapperFeature.html">Use</a></li> 1139<li><a href="package-tree.html">Tree</a></li> 1140<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 1141<li><a href="../../../../index-all.html">Index</a></li> 1142<li><a href="../../../../help-doc.html">Help</a></li> 1143</ul> 1144</div> 1145<div class="subNav"> 1146<ul class="navList"> 1147<li><a href="../../../../com/fasterxml/jackson/databind/KeyDeserializer.None.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> 1148<li><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next Class</span></a></li> 1149</ul> 1150<ul class="navList"> 1151<li><a href="../../../../index.html?com/fasterxml/jackson/databind/MapperFeature.html" target="_top">Frames</a></li> 1152<li><a href="MapperFeature.html" target="_top">No Frames</a></li> 1153</ul> 1154<ul class="navList" id="allclasses_navbar_bottom"> 1155<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 1156</ul> 1157<div> 1158<script type="text/javascript"><!-- 1159 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 1160 if(window==top) { 1161 allClassesLink.style.display = "block"; 1162 } 1163 else { 1164 allClassesLink.style.display = "none"; 1165 } 1166 //--> 1167</script> 1168</div> 1169<div> 1170<ul class="subNavList"> 1171<li>Summary: </li> 1172<li>Nested | </li> 1173<li><a href="#enum.constant.summary">Enum Constants</a> | </li> 1174<li>Field | </li> 1175<li><a href="#method.summary">Method</a></li> 1176</ul> 1177<ul class="subNavList"> 1178<li>Detail: </li> 1179<li><a href="#enum.constant.detail">Enum Constants</a> | </li> 1180<li>Field | </li> 1181<li><a href="#method.detail">Method</a></li> 1182</ul> 1183</div> 1184<a name="skip.navbar.bottom"> 1185<!-- --> 1186</a></div> 1187<!-- ======== END OF BOTTOM NAVBAR ======= --> 1188<p class="legalCopy"><small>Copyright © 2008–2019 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 1189</body> 1190</html> 1191