<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!-- NewPage --> <html lang="en"> <head> <!-- Generated by javadoc (1.8.0_162) on Tue Nov 05 19:39:06 PST 2019 --> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>MapperFeature (jackson-databind 2.10.0 API)</title> <meta name="date" content="2019-11-05"> <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> <script type="text/javascript" src="../../../../script.js"></script> </head> <body> <script type="text/javascript"><!-- try { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="MapperFeature (jackson-databind 2.10.0 API)"; } } catch(err) { } //--> var methods = {"i0":10,"i1":10,"i2":10,"i3":9,"i4":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; var activeTableTab = "activeTableTab"; </script> <noscript> <div>JavaScript is disabled on your browser.</div> </noscript> <!-- ========= START OF TOP NAVBAR ======= --> <div class="topNav"><a name="navbar.top"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.top.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/MapperFeature.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <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> <li><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?com/fasterxml/jackson/databind/MapperFeature.html" target="_top">Frames</a></li> <li><a href="MapperFeature.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_top"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_top"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li><a href="#enum.constant.summary">Enum Constants</a> | </li> <li>Field | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li><a href="#enum.constant.detail">Enum Constants</a> | </li> <li>Field | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.top"> <!-- --> </a></div> <!-- ========= END OF TOP NAVBAR ========= --> <!-- ======== START OF CLASS DATA ======== --> <div class="header"> <div class="subTitle">com.fasterxml.jackson.databind</div> <h2 title="Enum MapperFeature" class="title">Enum MapperFeature</h2> </div> <div class="contentContainer"> <ul class="inheritance"> <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> <li> <ul class="inheritance"> <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> <li> <ul class="inheritance"> <li>com.fasterxml.jackson.databind.MapperFeature</li> </ul> </li> </ul> </li> </ul> <div class="description"> <ul class="blockList"> <li class="blockList"> <dl> <dt>All Implemented Interfaces:</dt> <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> </dl> <hr> <br> <pre>public enum <span class="typeNameLabel">MapperFeature</span> extends <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>> implements <a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a></pre> <div class="block">Enumeration that defines simple on/off features to set 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) 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 through various convenience methods through context objects). <p> 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>, changes only take effect when done <b>before any serialization or deserialization</b> calls -- that is, caller must follow "configure-then-use" pattern.</div> </li> </ul> </div> <div class="summary"> <ul class="blockList"> <li class="blockList"> <!-- =========== ENUM CONSTANT SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="enum.constant.summary"> <!-- --> </a> <h3>Enum Constant Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> <caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> <tr> <th class="colOne" scope="col">Enum Constant and Description</th> </tr> <tr class="altColor"> <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> <div class="block">Feature that determines if Enum deserialization should be case sensitive or not.</div> </td> </tr> <tr class="rowColor"> <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> <div class="block">Feature that will allow for more forgiving deserialization of incoming JSON.</div> </td> </tr> <tr class="altColor"> <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> <div class="block">Feature that permits parsing some enumerated text-based value types but ignoring the case of the values on deserialization: for example, date/time type deserializers.</div> </td> </tr> <tr class="rowColor"> <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> <div class="block">Feature that determines whether coercions from secondary representations are allowed for simple non-textual scalar types: numbers and booleans.</div> </td> </tr> <tr class="altColor"> <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> <div class="block">Feature that when enabled will allow explicitly named properties (i.e., fields or methods 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 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> </td> </tr> <tr class="rowColor"> <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> <div class="block">Feature that determines whether member fields declared as 'final' may be auto-detected to be used mutators (used to change value of the logical property) or not.</div> </td> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_CREATORS">AUTO_DETECT_CREATORS</a></span></code> <div class="block">Feature that determines whether "creator" methods are automatically detected by consider public constructors, and static single argument methods with name "valueOf".</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_FIELDS">AUTO_DETECT_FIELDS</a></span></code> <div class="block">Feature that determines whether non-static fields are recognized as properties.</div> </td> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_GETTERS">AUTO_DETECT_GETTERS</a></span></code> <div class="block">Feature that determines whether regular "getter" methods are automatically detected based on standard Bean naming convention or not.</div> </td> </tr> <tr class="rowColor"> <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> <div class="block">Feature that determines whether "is getter" methods are automatically detected based on standard Bean naming convention or not.</div> </td> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_SETTERS">AUTO_DETECT_SETTERS</a></span></code> <div class="block">Feature that determines whether "setter" methods are automatically detected based on standard Bean naming convention or not.</div> </td> </tr> <tr class="rowColor"> <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> <div class="block">Feature that determines whether method and field access modifier settings can be overridden when accessing properties.</div> </td> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#DEFAULT_VIEW_INCLUSION">DEFAULT_VIEW_INCLUSION</a></span></code> <div class="block">Feature that determines whether properties that have no view annotations are included in JSON serialization views (see <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 details on JSON Views).</div> </td> </tr> <tr class="rowColor"> <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> <div class="block">Feature that determines whether multiple registrations of same module should be ignored or not; if enabled, only the first registration call results in module being called, and possible duplicate calls are silently ignored; if disabled, no checking is done and all registration calls are dispatched to module.</div> </td> </tr> <tr class="altColor"> <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> <div class="block">Setting that determines what happens if an attempt is made to explicitly "merge" value of a property, where value does not support merging; either merging is skipped and new value is created (<code>true</code>) or an exception is thrown (false).</div> </td> </tr> <tr class="rowColor"> <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> <div class="block">Feature that determines handling of <code>java.beans.ConstructorProperties</code> annotation: when enabled, it is considered as alias of <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 should be considered a property-based Creator; when disabled, only constructor parameter name information is used, but constructor is NOT considered an explicit Creator (although may be discovered as one using other annotations or heuristics).</div> </td> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#INFER_PROPERTY_MUTATORS">INFER_PROPERTY_MUTATORS</a></span></code> <div class="block">Feature that determines whether member mutators (fields and setters) may be "pulled in" even if they are not visible, as long as there is a visible accessor (getter or field) with same name.</div> </td> </tr> <tr class="rowColor"> <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> <div class="block">Feature that determines that forces call to <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 <code>public</code> accessors -- that is, even if no such call is needed from functionality perspective -- if call is allowed (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> </td> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#PROPAGATE_TRANSIENT_MARKER">PROPAGATE_TRANSIENT_MARKER</a></span></code> <div class="block">Feature that determines how <code>transient</code> modifier for fields is handled: if disabled, it is only taken to mean exclusion of the field as accessor; if true, it is taken to imply removal of the whole property.</div> </td> </tr> <tr class="rowColor"> <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> <div class="block">Feature that determines whether getters (getter methods) can be auto-detected if there is no matching mutator (setter, constructor parameter or field) or not: if set to true, only getters that match a mutator are auto-discovered; if false, all auto-detectable getters can be discovered.</div> </td> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#SORT_PROPERTIES_ALPHABETICALLY">SORT_PROPERTIES_ALPHABETICALLY</a></span></code> <div class="block">Feature that defines default property serialization order used 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> serialization!): if enabled, default ordering is alphabetic (similar to 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> works); if disabled, order is unspecified (based on what JDK gives us, which may be declaration order, but is not guaranteed).</div> </td> </tr> <tr class="rowColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_ANNOTATIONS">USE_ANNOTATIONS</a></span></code> <div class="block">Feature that determines whether annotation introspection is used for configuration; if enabled, configured <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a> will be used: if disabled, no annotations are considered.</div> </td> </tr> <tr class="altColor"> <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> <div class="block">Feature that specifies whether the declared base type of a polymorphic value is to be used as the "default" implementation, if no explicit default class is specified via <code>@JsonTypeInfo.defaultImpl</code> annotation.</div> </td> </tr> <tr class="rowColor"> <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> <div class="block">Feature that determines whether otherwise regular "getter" methods (but only ones that handle Collections and Maps, not getters of other type) can be used for purpose of getting a reference to a Collection and Map to modify the property, without requiring a setter method.</div> </td> </tr> <tr class="altColor"> <td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#USE_STATIC_TYPING">USE_STATIC_TYPING</a></span></code> <div class="block">Feature that determines whether the type detection for serialization should be using actual dynamic runtime type, or declared static type.</div> </td> </tr> <tr class="rowColor"> <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> <div class="block">Feature that may be enabled to enforce strict compatibility with Bean name introspection, instead of slightly different mechanism Jackson defaults to.</div> </td> </tr> <tr class="altColor"> <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> <div class="block">Feature that can be enabled to make property names be overridden by wrapper name (usually detected with annotations 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> </td> </tr> </table> </li> </ul> <!-- ========== METHOD SUMMARY =========== --> <ul class="blockList"> <li class="blockList"><a name="method.summary"> <!-- --> </a> <h3>Method Summary</h3> <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> <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> <tr> <th class="colFirst" scope="col">Modifier and Type</th> <th class="colLast" scope="col">Method and Description</th> </tr> <tr id="i0" class="altColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#enabledByDefault--">enabledByDefault</a></span>()</code> <div class="block">Accessor for checking whether this feature is enabled by default.</div> </td> </tr> <tr id="i1" class="rowColor"> <td class="colFirst"><code>boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#enabledIn-int-">enabledIn</a></span>(int flags)</code> <div class="block">Convenience method for checking whether feature is enabled in given bitmask</div> </td> </tr> <tr id="i2" class="altColor"> <td class="colFirst"><code>int</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#getMask--">getMask</a></span>()</code> <div class="block">Returns bit mask for this feature instance</div> </td> </tr> <tr id="i3" class="rowColor"> <td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a></code></td> <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> <div class="block">Returns the enum constant of this type with the specified name.</div> </td> </tr> <tr id="i4" class="altColor"> <td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>[]</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#values--">values</a></span>()</code> <div class="block">Returns an array containing the constants of this enum type, in the order they are declared.</div> </td> </tr> </table> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum"> <!-- --> </a> <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> <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> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> <!-- --> </a> <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> <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> </ul> </li> </ul> </li> </ul> </div> <div class="details"> <ul class="blockList"> <li class="blockList"> <!-- ============ ENUM CONSTANT DETAIL =========== --> <ul class="blockList"> <li class="blockList"><a name="enum.constant.detail"> <!-- --> </a> <h3>Enum Constant Detail</h3> <a name="USE_ANNOTATIONS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>USE_ANNOTATIONS</h4> <pre>public static final <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> USE_ANNOTATIONS</pre> <div class="block">Feature that determines whether annotation introspection is used for configuration; if enabled, configured <a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind"><code>AnnotationIntrospector</code></a> will be used: if disabled, no annotations are considered. <p> Feature is enabled by default.</div> </li> </ul> <a name="USE_GETTERS_AS_SETTERS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>USE_GETTERS_AS_SETTERS</h4> <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> <div class="block">Feature that determines whether otherwise regular "getter" methods (but only ones that handle Collections and Maps, not getters of other type) can be used for purpose of getting a reference to a Collection and Map to modify the property, without requiring a setter method. This is similar to how JAXB framework sets Collections and Maps: no setter is involved, just setter. <p> Note that such getters-as-setters methods have lower precedence than setters, so they are only used if no setter is found for the Map/Collection property. <p> Feature is enabled by default.</div> </li> </ul> <a name="PROPAGATE_TRANSIENT_MARKER"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>PROPAGATE_TRANSIENT_MARKER</h4> <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> <div class="block">Feature that determines how <code>transient</code> modifier for fields is handled: if disabled, it is only taken to mean exclusion of the field as accessor; if true, it is taken to imply removal of the whole property. <p> Feature is disabled by default, meaning that existence of `transient` for a field does not necessarily lead to ignoral of getters or setters but just ignoring the use of field for access.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.6</dd> </dl> </li> </ul> <a name="AUTO_DETECT_CREATORS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>AUTO_DETECT_CREATORS</h4> <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> <div class="block">Feature that determines whether "creator" methods are automatically detected by consider public constructors, and static single argument methods with name "valueOf". If disabled, only methods explicitly annotated are considered creator methods (except for the no-arg default constructor which is always considered a factory method). <p> Note that this feature has lower precedence than per-class annotations, and is only used if there isn't more granular configuration available. <P> Feature is enabled by default.</div> </li> </ul> <a name="AUTO_DETECT_FIELDS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>AUTO_DETECT_FIELDS</h4> <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> <div class="block">Feature that determines whether non-static fields are recognized as properties. If yes, then all public member fields are considered as properties. If disabled, only fields explicitly annotated are considered property fields. <p> Note that this feature has lower precedence than per-class annotations, and is only used if there isn't more granular configuration available. <p> Feature is enabled by default.</div> </li> </ul> <a name="AUTO_DETECT_GETTERS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>AUTO_DETECT_GETTERS</h4> <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> <div class="block">Feature that determines whether regular "getter" methods are automatically detected based on standard Bean naming convention or not. If yes, then all public zero-argument methods that start with prefix "get" are considered as getters. If disabled, only methods explicitly annotated are considered getters. <p> Note that since version 1.3, this does <b>NOT</b> include "is getters" (see <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html#AUTO_DETECT_IS_GETTERS"><code>AUTO_DETECT_IS_GETTERS</code></a> for details) <p> Note that this feature has lower precedence than per-class annotations, and is only used if there isn't more granular configuration available. <p> Feature is enabled by default.</div> </li> </ul> <a name="AUTO_DETECT_IS_GETTERS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>AUTO_DETECT_IS_GETTERS</h4> <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> <div class="block">Feature that determines whether "is getter" methods are automatically detected based on standard Bean naming convention or not. If yes, then all public zero-argument methods that start with prefix "is", and whose return type is boolean are considered as "is getters". If disabled, only methods explicitly annotated are considered getters. <p> Note that this feature has lower precedence than per-class annotations, and is only used if there isn't more granular configuration available. <p> Feature is enabled by default.</div> </li> </ul> <a name="AUTO_DETECT_SETTERS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>AUTO_DETECT_SETTERS</h4> <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> <div class="block">Feature that determines whether "setter" methods are automatically detected based on standard Bean naming convention or not. If yes, then all public one-argument methods that start with prefix "set" are considered setters. If disabled, only methods explicitly annotated are considered setters. <p> Note that this feature has lower precedence than per-class annotations, and is only used if there isn't more granular configuration available. <P> Feature is enabled by default.</div> </li> </ul> <a name="REQUIRE_SETTERS_FOR_GETTERS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>REQUIRE_SETTERS_FOR_GETTERS</h4> <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> <div class="block">Feature that determines whether getters (getter methods) can be auto-detected if there is no matching mutator (setter, constructor parameter or field) or not: if set to true, only getters that match a mutator are auto-discovered; if false, all auto-detectable getters can be discovered. <p> Feature is disabled by default.</div> </li> </ul> <a name="ALLOW_FINAL_FIELDS_AS_MUTATORS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ALLOW_FINAL_FIELDS_AS_MUTATORS</h4> <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> <div class="block">Feature that determines whether member fields declared as 'final' may be auto-detected to be used mutators (used to change value of the logical property) or not. If enabled, 'final' access modifier has no effect, and such fields may be detected according to usual visibility and inference rules; if disabled, such fields are NOT used as mutators except if explicitly annotated for such use. <p> Feature is enabled by default, for backwards compatibility reasons.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.2</dd> </dl> </li> </ul> <a name="INFER_PROPERTY_MUTATORS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>INFER_PROPERTY_MUTATORS</h4> <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> <div class="block">Feature that determines whether member mutators (fields and setters) may be "pulled in" even if they are not visible, as long as there is a visible accessor (getter or field) with same name. For example: field "value" may be inferred as mutator, if there is visible or explicitly marked getter "getValue()". If enabled, inferring is enabled; otherwise (disabled) only visible and explicitly annotated accessors are ever used. <p> Note that 'getters' are never inferred and need to be either visible (including bean-style naming) or explicitly annotated. <p> Feature is enabled by default.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.2</dd> </dl> </li> </ul> <a name="INFER_CREATOR_FROM_CONSTRUCTOR_PROPERTIES"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>INFER_CREATOR_FROM_CONSTRUCTOR_PROPERTIES</h4> <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> <div class="block">Feature that determines handling of <code>java.beans.ConstructorProperties</code> annotation: when enabled, it is considered as alias of <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 should be considered a property-based Creator; when disabled, only constructor parameter name information is used, but constructor is NOT considered an explicit Creator (although may be discovered as one using other annotations or heuristics). <p> Feature is mostly used to help inter-operability with frameworks like Lombok that may automatically generate <code>ConstructorProperties</code> annotation but without necessarily meaning that constructor should be used as Creator for deserialization. <p> Feature is enabled by default.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.9</dd> </dl> </li> </ul> <a name="CAN_OVERRIDE_ACCESS_MODIFIERS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>CAN_OVERRIDE_ACCESS_MODIFIERS</h4> <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> <div class="block">Feature that determines whether method and field access modifier settings can be overridden when accessing properties. If enabled, method <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> may be called to enable access to otherwise unaccessible objects. <p> Note that this setting may have significant performance implications, since access override helps remove costly access checks on each and every Reflection access. If you are considering disabling this feature, be sure to verify performance consequences if usage is performance sensitive. Also note that performance effects vary between Java platforms (JavaSE vs Android, for example), as well as JDK versions: older versions seemed to have more significant performance difference. <p> Conversely, on some platforms, it may be necessary to disable this feature as platform does not allow such calls. For example, when developing Applets (or other Java code that runs on tightly restricted sandbox), it may be necessary to disable the feature regardless of performance effects. <p> Feature is enabled by default.</div> </li> </ul> <a name="OVERRIDE_PUBLIC_ACCESS_MODIFIERS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>OVERRIDE_PUBLIC_ACCESS_MODIFIERS</h4> <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> <div class="block">Feature that determines that forces call to <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 <code>public</code> accessors -- that is, even if no such call is needed from functionality perspective -- if call is allowed (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). The main reason to enable this feature is possible performance improvement as JDK does not have to perform access checks; these checks are otherwise made for all accessors, including public ones, and may result in slower Reflection calls. Exact impact (if any) depends on Java platform (Java SE, Android) as well as JDK version. <p> Feature is enabled by default, for legacy reasons (it was the behavior until 2.6)</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.7</dd> </dl> </li> </ul> <a name="USE_STATIC_TYPING"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>USE_STATIC_TYPING</h4> <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> <div class="block">Feature that determines whether the type detection for serialization should be using actual dynamic runtime type, or declared static type. Note that deserialization always uses declared static types since no runtime types are available (as we are creating instances after using type information). <p> This global default value can be overridden at class, method or field level by using <a href="../../../../com/fasterxml/jackson/databind/annotation/JsonSerialize.html#typing--"><code>JsonSerialize.typing()</code></a> annotation property. <p> Feature is disabled by default which means that dynamic runtime types are used (instead of declared static types) for serialization.</div> </li> </ul> <a name="USE_BASE_TYPE_AS_DEFAULT_IMPL"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>USE_BASE_TYPE_AS_DEFAULT_IMPL</h4> <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> <div class="block">Feature that specifies whether the declared base type of a polymorphic value is to be used as the "default" implementation, if no explicit default class is specified via <code>@JsonTypeInfo.defaultImpl</code> annotation. <p> Note that feature only has effect on deserialization of regular polymorphic properties: it does NOT affect non-polymorphic cases, and is unlikely to work with Default Typing. <p> Feature is disabled by default for backwards compatibility.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.10</dd> </dl> </li> </ul> <a name="DEFAULT_VIEW_INCLUSION"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>DEFAULT_VIEW_INCLUSION</h4> <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> <div class="block">Feature that determines whether properties that have no view annotations are included in JSON serialization views (see <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 details on JSON Views). If enabled, non-annotated properties will be included; when disabled, they will be excluded. So this feature changes between "opt-in" (feature disabled) and "opt-out" (feature enabled) modes. <p> Default value is enabled, meaning that non-annotated properties are included in all views if there is no <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. <p> Feature is enabled by default.</div> </li> </ul> <a name="SORT_PROPERTIES_ALPHABETICALLY"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>SORT_PROPERTIES_ALPHABETICALLY</h4> <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> <div class="block">Feature that defines default property serialization order used 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> serialization!): if enabled, default ordering is alphabetic (similar to 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> works); if disabled, order is unspecified (based on what JDK gives us, which may be declaration order, but is not guaranteed). <p> Note that this is just the default behavior, and can be overridden by explicit overrides in classes (for example with <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) <p> Feature is disabled by default.</div> </li> </ul> <a name="ACCEPT_CASE_INSENSITIVE_PROPERTIES"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ACCEPT_CASE_INSENSITIVE_PROPERTIES</h4> <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> <div class="block">Feature that will allow for more forgiving deserialization of incoming JSON. If enabled, the bean properties will be matched using their lower-case equivalents, meaning that any case-combination (incoming and matching names are canonicalized by lower-casing) should work. <p> Note that there is additional performance overhead since incoming property names need to be lower-cased before comparison, for cases where there are upper-case letters. Overhead for names that are already lower-case should be negligible. <p> Feature is disabled by default.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.5</dd> </dl> </li> </ul> <a name="ACCEPT_CASE_INSENSITIVE_ENUMS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ACCEPT_CASE_INSENSITIVE_ENUMS</h4> <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> <div class="block">Feature that determines if Enum deserialization should be case sensitive or not. If enabled, Enum deserialization will ignore case, that is, case of incoming String value and enum id (depending on other settings, either `name()`, `toString()`, or explicit override) do not need to match. <p> Feature is disabled by default.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.9</dd> </dl> </li> </ul> <a name="ACCEPT_CASE_INSENSITIVE_VALUES"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ACCEPT_CASE_INSENSITIVE_VALUES</h4> <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> <div class="block">Feature that permits parsing some enumerated text-based value types but ignoring the case of the values on deserialization: for example, date/time type deserializers. Support for this feature depends on deserializer implementations using it. <p> 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> setting instead. <p> Feature is disabled by default.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.10</dd> </dl> </li> </ul> <a name="USE_WRAPPER_NAME_AS_PROPERTY_NAME"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>USE_WRAPPER_NAME_AS_PROPERTY_NAME</h4> <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> <div class="block">Feature that can be enabled to make property names be overridden by wrapper name (usually detected with annotations 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>. If enabled, all properties that have associated non-empty Wrapper name will use that wrapper name instead of property name. If disabled, wrapper name is only used for wrapping (if anything). <p> Feature is disabled by default.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.1</dd> </dl> </li> </ul> <a name="USE_STD_BEAN_NAMING"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>USE_STD_BEAN_NAMING</h4> <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> <div class="block">Feature that may be enabled to enforce strict compatibility with Bean name introspection, instead of slightly different mechanism Jackson defaults to. Specific difference is that Jackson always lower cases leading upper-case letters, so "getURL()" becomes "url" property; whereas standard Bean naming <b>only</b> lower-cases the first letter if it is NOT followed by another upper-case letter (so "getURL()" would result in "URL" property). <p> Feature is disabled by default for backwards compatibility purposes: earlier Jackson versions used Jackson's own mechanism.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.5</dd> </dl> </li> </ul> <a name="ALLOW_EXPLICIT_PROPERTY_RENAMING"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ALLOW_EXPLICIT_PROPERTY_RENAMING</h4> <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> <div class="block">Feature that when enabled will allow explicitly named properties (i.e., fields or methods 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 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. <p> Feature is disabled by default.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.7</dd> </dl> </li> </ul> <a name="ALLOW_COERCION_OF_SCALARS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>ALLOW_COERCION_OF_SCALARS</h4> <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> <div class="block">Feature that determines whether coercions from secondary representations are allowed for simple non-textual scalar types: numbers and booleans. This includes `primitive` types and their wrappers, but excludes `java.lang.String` and date/time types. <p> When feature is disabled, only strictly compatible input may be bound: numbers for numbers, boolean values for booleans. When feature is enabled, conversions from JSON String are allowed, as long as textual value matches (for example, String "true" is allowed as equivalent of JSON boolean token `true`; or String "1.0" for `double`). <p> Note that it is possible that other configurability options can override this in closer scope (like on per-type or per-property basis); this is just the global default. <p> Feature is enabled by default (for backwards compatibility since this was the default behavior)</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.9</dd> </dl> </li> </ul> <a name="IGNORE_DUPLICATE_MODULE_REGISTRATIONS"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>IGNORE_DUPLICATE_MODULE_REGISTRATIONS</h4> <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> <div class="block">Feature that determines whether multiple registrations of same module should be ignored or not; if enabled, only the first registration call results in module being called, and possible duplicate calls are silently ignored; if disabled, no checking is done and all registration calls are dispatched to module. <p> Definition of "same module" is based on using <a href="../../../../com/fasterxml/jackson/databind/Module.html#getTypeId--"><code>Module.getTypeId()</code></a>; modules with same non-null <code>type id</code> are considered same for purposes of duplicate registration. This also avoids having to keep track of actual module instances; only ids will be kept track of (and only if this feature is enabled). <p> Feature is enabled by default.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.5</dd> </dl> </li> </ul> <a name="IGNORE_MERGE_FOR_UNMERGEABLE"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>IGNORE_MERGE_FOR_UNMERGEABLE</h4> <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> <div class="block">Setting that determines what happens if an attempt is made to explicitly "merge" value of a property, where value does not support merging; either merging is skipped and new value is created (<code>true</code>) or an exception is thrown (false). <p> Feature is enabled by default, to allow use of merge defaults even in presence of some unmergeable properties.</div> <dl> <dt><span class="simpleTagLabel">Since:</span></dt> <dd>2.9</dd> </dl> </li> </ul> </li> </ul> <!-- ============ METHOD DETAIL ========== --> <ul class="blockList"> <li class="blockList"><a name="method.detail"> <!-- --> </a> <h3>Method Detail</h3> <a name="values--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>values</h4> <pre>public static <a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a>[] values()</pre> <div class="block">Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows: <pre> for (MapperFeature c : MapperFeature.values()) System.out.println(c); </pre></div> <dl> <dt><span class="returnLabel">Returns:</span></dt> <dd>an array containing the constants of this enum type, in the order they are declared</dd> </dl> </li> </ul> <a name="valueOf-java.lang.String-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>valueOf</h4> <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> <div class="block">Returns the enum constant of this type with the specified name. The string must match <i>exactly</i> an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> <dd><code>name</code> - the name of the enum constant to be returned.</dd> <dt><span class="returnLabel">Returns:</span></dt> <dd>the enum constant with the specified name</dd> <dt><span class="throwsLabel">Throws:</span></dt> <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> <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> </dl> </li> </ul> <a name="enabledByDefault--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>enabledByDefault</h4> <pre>public boolean enabledByDefault()</pre> <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> <div class="block">Accessor for checking whether this feature is enabled by default.</div> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> <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> </dl> </li> </ul> <a name="getMask--"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>getMask</h4> <pre>public int getMask()</pre> <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> <div class="block">Returns bit mask for this feature instance</div> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> <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> </dl> </li> </ul> <a name="enabledIn-int-"> <!-- --> </a> <ul class="blockListLast"> <li class="blockList"> <h4>enabledIn</h4> <pre>public boolean enabledIn(int flags)</pre> <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> <div class="block">Convenience method for checking whether feature is enabled in given bitmask</div> <dl> <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> <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> </dl> </li> </ul> </li> </ul> </li> </ul> </div> </div> <!-- ========= END OF CLASS DATA ========= --> <!-- ======= START OF BOTTOM NAVBAR ====== --> <div class="bottomNav"><a name="navbar.bottom"> <!-- --> </a> <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> <a name="navbar.bottom.firstrow"> <!-- --> </a> <ul class="navList" title="Navigation"> <li><a href="../../../../overview-summary.html">Overview</a></li> <li><a href="package-summary.html">Package</a></li> <li class="navBarCell1Rev">Class</li> <li><a href="class-use/MapperFeature.html">Use</a></li> <li><a href="package-tree.html">Tree</a></li> <li><a href="../../../../deprecated-list.html">Deprecated</a></li> <li><a href="../../../../index-all.html">Index</a></li> <li><a href="../../../../help-doc.html">Help</a></li> </ul> </div> <div class="subNav"> <ul class="navList"> <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> <li><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next Class</span></a></li> </ul> <ul class="navList"> <li><a href="../../../../index.html?com/fasterxml/jackson/databind/MapperFeature.html" target="_top">Frames</a></li> <li><a href="MapperFeature.html" target="_top">No Frames</a></li> </ul> <ul class="navList" id="allclasses_navbar_bottom"> <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> </ul> <div> <script type="text/javascript"><!-- allClassesLink = document.getElementById("allclasses_navbar_bottom"); if(window==top) { allClassesLink.style.display = "block"; } else { allClassesLink.style.display = "none"; } //--> </script> </div> <div> <ul class="subNavList"> <li>Summary: </li> <li>Nested | </li> <li><a href="#enum.constant.summary">Enum Constants</a> | </li> <li>Field | </li> <li><a href="#method.summary">Method</a></li> </ul> <ul class="subNavList"> <li>Detail: </li> <li><a href="#enum.constant.detail">Enum Constants</a> | </li> <li>Field | </li> <li><a href="#method.detail">Method</a></li> </ul> </div> <a name="skip.navbar.bottom"> <!-- --> </a></div> <!-- ======== END OF BOTTOM NAVBAR ======= --> <p class="legalCopy"><small>Copyright © 2008–2019 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> </body> </html>