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