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 (version 1.7.0_25) on Thu Jan 01 17:43:54 PST 2015 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>DeserializationFeature (jackson-databind 2.5.0 API)</title> 8<meta name="date" content="2015-01-01"> 9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 10</head> 11<body> 12<script type="text/javascript"><!-- 13 if (location.href.indexOf('is-external=true') == -1) { 14 parent.document.title="DeserializationFeature (jackson-databind 2.5.0 API)"; 15 } 16//--> 17</script> 18<noscript> 19<div>JavaScript is disabled on your browser.</div> 20</noscript> 21<!-- ========= START OF TOP NAVBAR ======= --> 22<div class="topNav"><a name="navbar_top"> 23<!-- --> 24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> 25<!-- --> 26</a> 27<ul class="navList" title="Navigation"> 28<li><a href="../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/DeserializationFeature.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../index-all.html">Index</a></li> 35<li><a href="../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../com/fasterxml/jackson/databind/InjectableValues.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../index.html?com/fasterxml/jackson/databind/DeserializationFeature.html" target="_top">Frames</a></li> 45<li><a href="DeserializationFeature.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Nested | </li> 66<li><a href="#enum_constant_summary">Enum Constants</a> | </li> 67<li>Field | </li> 68<li><a href="#method_summary">Method</a></li> 69</ul> 70<ul class="subNavList"> 71<li>Detail: </li> 72<li><a href="#enum_constant_detail">Enum Constants</a> | </li> 73<li>Field | </li> 74<li><a href="#method_detail">Method</a></li> 75</ul> 76</div> 77<a name="skip-navbar_top"> 78<!-- --> 79</a></div> 80<!-- ========= END OF TOP NAVBAR ========= --> 81<!-- ======== START OF CLASS DATA ======== --> 82<div class="header"> 83<div class="subTitle">com.fasterxml.jackson.databind</div> 84<h2 title="Enum DeserializationFeature" class="title">Enum DeserializationFeature</h2> 85</div> 86<div class="contentContainer"> 87<ul class="inheritance"> 88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 89<li> 90<ul class="inheritance"> 91<li><a href="http://docs.oracle.com/javase/6/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/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a>></li> 92<li> 93<ul class="inheritance"> 94<li>com.fasterxml.jackson.databind.DeserializationFeature</li> 95</ul> 96</li> 97</ul> 98</li> 99</ul> 100<div class="description"> 101<ul class="blockList"> 102<li class="blockList"> 103<dl> 104<dt>All Implemented Interfaces:</dt> 105<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/6/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/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a>></dd> 106</dl> 107<hr> 108<br> 109<pre>public enum <span class="strong">DeserializationFeature</span> 110extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a>> 111implements <a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a></pre> 112<div class="block">Enumeration that defines simple on/off features that affect 113 the way Java objects are deserialized from JSON 114<p> 115 Note that features can be set both through 116 <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> (as sort of defaults) and through 117 <a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a>. 118 In first case these defaults must follow "config-then-use" patterns 119 (i.e. defined once, not changed afterwards); all per-call 120 changes must be done using <a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a>. 121<p> 122 Note that features that do not indicate version of inclusion 123 were available in Jackson 2.0 (or earlier); only later additions 124 indicate version of inclusion.</div> 125</li> 126</ul> 127</div> 128<div class="summary"> 129<ul class="blockList"> 130<li class="blockList"> 131<!-- =========== ENUM CONSTANT SUMMARY =========== --> 132<ul class="blockList"> 133<li class="blockList"><a name="enum_constant_summary"> 134<!-- --> 135</a> 136<h3>Enum Constant Summary</h3> 137<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> 138<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> 139<tr> 140<th class="colOne" scope="col">Enum Constant and Description</th> 141</tr> 142<tr class="altColor"> 143<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#ACCEPT_EMPTY_ARRAY_AS_NULL_OBJECT">ACCEPT_EMPTY_ARRAY_AS_NULL_OBJECT</a></strong></code> 144<div class="block">Feature that can be enabled to allow empty JSON Array 145 value (that is, <code>[ ]</code>) to be bound to POJOs as null.</div> 146</td> 147</tr> 148<tr class="rowColor"> 149<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#ACCEPT_EMPTY_STRING_AS_NULL_OBJECT">ACCEPT_EMPTY_STRING_AS_NULL_OBJECT</a></strong></code> 150<div class="block">Feature that can be enabled to allow JSON empty String 151 value ("") to be bound to POJOs as null.</div> 152</td> 153</tr> 154<tr class="altColor"> 155<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#ACCEPT_SINGLE_VALUE_AS_ARRAY">ACCEPT_SINGLE_VALUE_AS_ARRAY</a></strong></code> 156<div class="block">Feature that determines whether it is acceptable to coerce non-array 157 (in JSON) values to work with Java collection (arrays, java.util.Collection) 158 types.</div> 159</td> 160</tr> 161<tr class="rowColor"> 162<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#ADJUST_DATES_TO_CONTEXT_TIME_ZONE">ADJUST_DATES_TO_CONTEXT_TIME_ZONE</a></strong></code> 163<div class="block">Feature that specifies whether context provided <a href="http://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util"><code>TimeZone</code></a> 164 (<a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html#getTimeZone()"><code>DeserializationContext.getTimeZone()</code></a> should be used to adjust Date/Time 165 values on deserialization, even if value itself contains timezone information.</div> 166</td> 167</tr> 168<tr class="altColor"> 169<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#EAGER_DESERIALIZER_FETCH">EAGER_DESERIALIZER_FETCH</a></strong></code> 170<div class="block">Feature that determines whether <a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a> should 171 try to eagerly fetch necessary <a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonDeserializer</code></a> when 172 possible.</div> 173</td> 174</tr> 175<tr class="rowColor"> 176<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#FAIL_ON_IGNORED_PROPERTIES">FAIL_ON_IGNORED_PROPERTIES</a></strong></code> 177<div class="block">Feature that determines what happens when a property that has been explicitly 178 marked as ignorable is encountered in input: if feature is enabled, 179 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a> is thrown; if false, property is quietly skipped.</div> 180</td> 181</tr> 182<tr class="altColor"> 183<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#FAIL_ON_INVALID_SUBTYPE">FAIL_ON_INVALID_SUBTYPE</a></strong></code> 184<div class="block">Feature that determines what happens when type of a polymorphic 185 value (indicated for example by <code>JsonTypeInfo</code>) 186 can not be found (missing) or resolved (invalid class name, unmappable id); 187 if enabled, an exception ir thrown; if false, null value is used instead.</div> 188</td> 189</tr> 190<tr class="rowColor"> 191<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#FAIL_ON_NULL_FOR_PRIMITIVES">FAIL_ON_NULL_FOR_PRIMITIVES</a></strong></code> 192<div class="block">Feature that determines whether encountering of JSON null 193 is an error when deserializing into Java primitive types 194 (like 'int' or 'double').</div> 195</td> 196</tr> 197<tr class="altColor"> 198<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#FAIL_ON_NUMBERS_FOR_ENUMS">FAIL_ON_NUMBERS_FOR_ENUMS</a></strong></code> 199<div class="block">Feature that determines whether JSON integer numbers are valid 200 values to be used for deserializing Java enum values.</div> 201</td> 202</tr> 203<tr class="rowColor"> 204<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#FAIL_ON_READING_DUP_TREE_KEY">FAIL_ON_READING_DUP_TREE_KEY</a></strong></code> 205<div class="block">Feature that determines what happens when reading JSON content into tree 206 (<code>TreeNode</code>) and a duplicate key 207 is encountered (property name that was already seen for the JSON Object).</div> 208</td> 209</tr> 210<tr class="altColor"> 211<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#FAIL_ON_UNKNOWN_PROPERTIES">FAIL_ON_UNKNOWN_PROPERTIES</a></strong></code> 212<div class="block">Feature that determines whether encountering of unknown 213 properties (ones that do not map to a property, and there is 214 no "any setter" or handler that can handle it) 215 should result in a failure (by throwing a 216 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>) or not.</div> 217</td> 218</tr> 219<tr class="rowColor"> 220<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#FAIL_ON_UNRESOLVED_OBJECT_IDS">FAIL_ON_UNRESOLVED_OBJECT_IDS</a></strong></code> 221<div class="block">Feature that determines what happens if an Object Id reference is encountered 222 that does not refer to an actual Object with that id ("unresolved Object Id"): 223 either an exception is thrown (<code>true</code>), or a null object is used 224 instead (<code>false</code>).</div> 225</td> 226</tr> 227<tr class="altColor"> 228<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#READ_DATE_TIMESTAMPS_AS_NANOSECONDS">READ_DATE_TIMESTAMPS_AS_NANOSECONDS</a></strong></code> 229<div class="block">Feature that controls whether numeric timestamp values are expected 230 to be written using nanosecond timestamps (enabled) or not (disabled), 231 <b>if and only if</b> datatype supports such resolution.</div> 232</td> 233</tr> 234<tr class="rowColor"> 235<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#READ_ENUMS_USING_TO_STRING">READ_ENUMS_USING_TO_STRING</a></strong></code> 236<div class="block">Feature that determines standard deserialization mechanism used for 237 Enum values: if enabled, Enums are assumed to have been serialized using 238 return value of <code>Enum.toString()</code>; 239 if disabled, return value of <code>Enum.name()</code> is assumed to have been used.</div> 240</td> 241</tr> 242<tr class="altColor"> 243<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#READ_UNKNOWN_ENUM_VALUES_AS_NULL">READ_UNKNOWN_ENUM_VALUES_AS_NULL</a></strong></code> 244<div class="block">Feature that allows unknown Enum values to be parsed as null values.</div> 245</td> 246</tr> 247<tr class="rowColor"> 248<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#UNWRAP_ROOT_VALUE">UNWRAP_ROOT_VALUE</a></strong></code> 249<div class="block">Feature to allow "unwrapping" root-level JSON value, to match setting of 250 <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRAP_ROOT_VALUE"><code>SerializationFeature.WRAP_ROOT_VALUE</code></a> used for serialization.</div> 251</td> 252</tr> 253<tr class="altColor"> 254<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#UNWRAP_SINGLE_VALUE_ARRAYS">UNWRAP_SINGLE_VALUE_ARRAYS</a></strong></code> 255<div class="block">Feature that determines whether it is acceptable to coerce single value array (in JSON) 256 values to the corresponding value type.</div> 257</td> 258</tr> 259<tr class="rowColor"> 260<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#USE_BIG_DECIMAL_FOR_FLOATS">USE_BIG_DECIMAL_FOR_FLOATS</a></strong></code> 261<div class="block">Feature that determines whether JSON floating point numbers 262 are to be deserialized into <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>s 263 if only generic type description (either <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a> or 264 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><code>Number</code></a>, or within untyped <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> 265 or <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> context) is available.</div> 266</td> 267</tr> 268<tr class="altColor"> 269<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#USE_BIG_INTEGER_FOR_INTS">USE_BIG_INTEGER_FOR_INTS</a></strong></code> 270<div class="block">Feature that determines whether JSON integral (non-floating-point) 271 numbers are to be deserialized into <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a>s 272 if only generic type description (either <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a> or 273 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><code>Number</code></a>, or within untyped <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> 274 or <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> context) is available.</div> 275</td> 276</tr> 277<tr class="rowColor"> 278<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#USE_JAVA_ARRAY_FOR_JSON_ARRAY">USE_JAVA_ARRAY_FOR_JSON_ARRAY</a></strong></code> 279<div class="block">Feature that determines whether JSON Array is mapped to 280 <code>Object[]</code> or <code>List<Object></code> when binding 281 "untyped" objects (ones with nominal type of <code>java.lang.Object</code>).</div> 282</td> 283</tr> 284<tr class="altColor"> 285<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#WRAP_EXCEPTIONS">WRAP_EXCEPTIONS</a></strong></code> 286<div class="block">Feature that determines whether Jackson code should catch 287 and wrap <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><code>Exception</code></a>s (but never <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang"><code>Error</code></a>s!) 288 to add additional information about 289 location (within input) of problem or not.</div> 290</td> 291</tr> 292</table> 293</li> 294</ul> 295<!-- ========== METHOD SUMMARY =========== --> 296<ul class="blockList"> 297<li class="blockList"><a name="method_summary"> 298<!-- --> 299</a> 300<h3>Method Summary</h3> 301<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 302<caption><span>Methods</span><span class="tabEnd"> </span></caption> 303<tr> 304<th class="colFirst" scope="col">Modifier and Type</th> 305<th class="colLast" scope="col">Method and Description</th> 306</tr> 307<tr class="altColor"> 308<td class="colFirst"><code>boolean</code></td> 309<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#enabledByDefault()">enabledByDefault</a></strong>()</code> 310<div class="block">Accessor for checking whether this feature is enabled by default.</div> 311</td> 312</tr> 313<tr class="rowColor"> 314<td class="colFirst"><code>boolean</code></td> 315<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#enabledIn(int)">enabledIn</a></strong>(int flags)</code> </td> 316</tr> 317<tr class="altColor"> 318<td class="colFirst"><code>int</code></td> 319<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#getMask()">getMask</a></strong>()</code> 320<div class="block">Returns bit mask for this feature instance</div> 321</td> 322</tr> 323<tr class="rowColor"> 324<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a></code></td> 325<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#valueOf(java.lang.String)">valueOf</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> 326<div class="block">Returns the enum constant of this type with the specified name.</div> 327</td> 328</tr> 329<tr class="altColor"> 330<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a>[]</code></td> 331<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#values()">values</a></strong>()</code> 332<div class="block">Returns an array containing the constants of this enum type, in 333the order they are declared.</div> 334</td> 335</tr> 336</table> 337<ul class="blockList"> 338<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum"> 339<!-- --> 340</a> 341<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3> 342<code><a href="http://docs.oracle.com/javase/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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> 343</ul> 344<ul class="blockList"> 345<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 346<!-- --> 347</a> 348<h3>Methods inherited from class java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 349<code><a href="http://docs.oracle.com/javase/6/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/6/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/6/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/6/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/6/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/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li> 350</ul> 351</li> 352</ul> 353</li> 354</ul> 355</div> 356<div class="details"> 357<ul class="blockList"> 358<li class="blockList"> 359<!-- ============ ENUM CONSTANT DETAIL =========== --> 360<ul class="blockList"> 361<li class="blockList"><a name="enum_constant_detail"> 362<!-- --> 363</a> 364<h3>Enum Constant Detail</h3> 365<a name="USE_BIG_DECIMAL_FOR_FLOATS"> 366<!-- --> 367</a> 368<ul class="blockList"> 369<li class="blockList"> 370<h4>USE_BIG_DECIMAL_FOR_FLOATS</h4> 371<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> USE_BIG_DECIMAL_FOR_FLOATS</pre> 372<div class="block">Feature that determines whether JSON floating point numbers 373 are to be deserialized into <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>s 374 if only generic type description (either <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a> or 375 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><code>Number</code></a>, or within untyped <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> 376 or <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> context) is available. 377 If enabled such values will be deserialized as <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a>s; 378 if disabled, will be deserialized as <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang"><code>Double</code></a>s. 379 <p> 380 Feature is disabled by default, meaning that "untyped" floating 381 point numbers will by default be deserialized as <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Double.html?is-external=true" title="class or interface in java.lang"><code>Double</code></a>s 382 (choice is for performance reason -- BigDecimals are slower than 383 Doubles).</div> 384</li> 385</ul> 386<a name="USE_BIG_INTEGER_FOR_INTS"> 387<!-- --> 388</a> 389<ul class="blockList"> 390<li class="blockList"> 391<h4>USE_BIG_INTEGER_FOR_INTS</h4> 392<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> USE_BIG_INTEGER_FOR_INTS</pre> 393<div class="block">Feature that determines whether JSON integral (non-floating-point) 394 numbers are to be deserialized into <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a>s 395 if only generic type description (either <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang"><code>Object</code></a> or 396 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><code>Number</code></a>, or within untyped <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> 397 or <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> context) is available. 398 If enabled such values will be deserialized as 399 <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a>s; 400 if disabled, will be deserialized as "smallest" available type, 401 which is either <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang"><code>Integer</code></a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang"><code>Long</code></a> or 402 <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigInteger.html?is-external=true" title="class or interface in java.math"><code>BigInteger</code></a>, depending on number of digits. 403 <p> 404 Feature is disabled by default, meaning that "untyped" floating 405 point numbers will by default be deserialized using whatever 406 is the most compact integral type, to optimize efficiency.</div> 407</li> 408</ul> 409<a name="USE_JAVA_ARRAY_FOR_JSON_ARRAY"> 410<!-- --> 411</a> 412<ul class="blockList"> 413<li class="blockList"> 414<h4>USE_JAVA_ARRAY_FOR_JSON_ARRAY</h4> 415<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> USE_JAVA_ARRAY_FOR_JSON_ARRAY</pre> 416<div class="block">Feature that determines whether JSON Array is mapped to 417 <code>Object[]</code> or <code>List<Object></code> when binding 418 "untyped" objects (ones with nominal type of <code>java.lang.Object</code>). 419 If true, binds as <code>Object[]</code>; if false, as <code>List<Object></code>. 420<p> 421 Feature is disabled by default, meaning that JSON arrays are bound as 422 <a href="http://docs.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util"><code>List</code></a>s.</div> 423</li> 424</ul> 425<a name="READ_ENUMS_USING_TO_STRING"> 426<!-- --> 427</a> 428<ul class="blockList"> 429<li class="blockList"> 430<h4>READ_ENUMS_USING_TO_STRING</h4> 431<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> READ_ENUMS_USING_TO_STRING</pre> 432<div class="block">Feature that determines standard deserialization mechanism used for 433 Enum values: if enabled, Enums are assumed to have been serialized using 434 return value of <code>Enum.toString()</code>; 435 if disabled, return value of <code>Enum.name()</code> is assumed to have been used. 436<p> 437 Note: this feature should usually have same value 438 as <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_ENUMS_USING_TO_STRING"><code>SerializationFeature.WRITE_ENUMS_USING_TO_STRING</code></a>. 439<p> 440 Feature is disabled by default.</div> 441</li> 442</ul> 443<a name="FAIL_ON_UNKNOWN_PROPERTIES"> 444<!-- --> 445</a> 446<ul class="blockList"> 447<li class="blockList"> 448<h4>FAIL_ON_UNKNOWN_PROPERTIES</h4> 449<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> FAIL_ON_UNKNOWN_PROPERTIES</pre> 450<div class="block">Feature that determines whether encountering of unknown 451 properties (ones that do not map to a property, and there is 452 no "any setter" or handler that can handle it) 453 should result in a failure (by throwing a 454 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>) or not. 455 This setting only takes effect after all other handling 456 methods for unknown properties have been tried, and 457 property remains unhandled. 458<p> 459 Feature is enabled by default (meaning that a 460 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a> will be thrown if an unknown property 461 is encountered).</div> 462</li> 463</ul> 464<a name="FAIL_ON_NULL_FOR_PRIMITIVES"> 465<!-- --> 466</a> 467<ul class="blockList"> 468<li class="blockList"> 469<h4>FAIL_ON_NULL_FOR_PRIMITIVES</h4> 470<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> FAIL_ON_NULL_FOR_PRIMITIVES</pre> 471<div class="block">Feature that determines whether encountering of JSON null 472 is an error when deserializing into Java primitive types 473 (like 'int' or 'double'). If it is, a JsonProcessingException 474 is thrown to indicate this; if not, default value is used 475 (0 for 'int', 0.0 for double, same defaulting as what JVM uses). 476<p> 477 Feature is disabled by default.</div> 478</li> 479</ul> 480<a name="FAIL_ON_NUMBERS_FOR_ENUMS"> 481<!-- --> 482</a> 483<ul class="blockList"> 484<li class="blockList"> 485<h4>FAIL_ON_NUMBERS_FOR_ENUMS</h4> 486<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> FAIL_ON_NUMBERS_FOR_ENUMS</pre> 487<div class="block">Feature that determines whether JSON integer numbers are valid 488 values to be used for deserializing Java enum values. 489 If set to 'false' numbers are acceptable and are used to map to 490 ordinal() of matching enumeration value; if 'true', numbers are 491 not allowed and a <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a> will be thrown. 492 Latter behavior makes sense if there is concern that accidental 493 mapping from integer values to enums might happen (and when enums 494 are always serialized as JSON Strings) 495<p> 496 Feature is disabled by default.</div> 497</li> 498</ul> 499<a name="FAIL_ON_INVALID_SUBTYPE"> 500<!-- --> 501</a> 502<ul class="blockList"> 503<li class="blockList"> 504<h4>FAIL_ON_INVALID_SUBTYPE</h4> 505<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> FAIL_ON_INVALID_SUBTYPE</pre> 506<div class="block">Feature that determines what happens when type of a polymorphic 507 value (indicated for example by <code>JsonTypeInfo</code>) 508 can not be found (missing) or resolved (invalid class name, unmappable id); 509 if enabled, an exception ir thrown; if false, null value is used instead. 510<p> 511 Feature is enabled by default so that exception is thrown for missing or invalid 512 type information.</div> 513<dl><dt><span class="strong">Since:</span></dt> 514 <dd>2.2</dd></dl> 515</li> 516</ul> 517<a name="FAIL_ON_READING_DUP_TREE_KEY"> 518<!-- --> 519</a> 520<ul class="blockList"> 521<li class="blockList"> 522<h4>FAIL_ON_READING_DUP_TREE_KEY</h4> 523<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> FAIL_ON_READING_DUP_TREE_KEY</pre> 524<div class="block">Feature that determines what happens when reading JSON content into tree 525 (<code>TreeNode</code>) and a duplicate key 526 is encountered (property name that was already seen for the JSON Object). 527 If enabled, <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a> will be thrown; if disabled, no exception 528 is thrown and the new (later) value overwrites the earlier value. 529<p> 530 Note that this property does NOT affect other aspects of data-binding; that is, 531 no detection is done with respect to POJO properties or <a href="http://docs.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util"><code>Map</code></a> 532 keys. New features may be added to control additional cases. 533<p> 534 Feature is disabled by default so that no exception is thrown.</div> 535<dl><dt><span class="strong">Since:</span></dt> 536 <dd>2.3</dd></dl> 537</li> 538</ul> 539<a name="FAIL_ON_IGNORED_PROPERTIES"> 540<!-- --> 541</a> 542<ul class="blockList"> 543<li class="blockList"> 544<h4>FAIL_ON_IGNORED_PROPERTIES</h4> 545<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> FAIL_ON_IGNORED_PROPERTIES</pre> 546<div class="block">Feature that determines what happens when a property that has been explicitly 547 marked as ignorable is encountered in input: if feature is enabled, 548 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a> is thrown; if false, property is quietly skipped. 549<p> 550 Feature is disabled by default so that no exception is thrown.</div> 551<dl><dt><span class="strong">Since:</span></dt> 552 <dd>2.3</dd></dl> 553</li> 554</ul> 555<a name="FAIL_ON_UNRESOLVED_OBJECT_IDS"> 556<!-- --> 557</a> 558<ul class="blockList"> 559<li class="blockList"> 560<h4>FAIL_ON_UNRESOLVED_OBJECT_IDS</h4> 561<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> FAIL_ON_UNRESOLVED_OBJECT_IDS</pre> 562<div class="block">Feature that determines what happens if an Object Id reference is encountered 563 that does not refer to an actual Object with that id ("unresolved Object Id"): 564 either an exception is thrown (<code>true</code>), or a null object is used 565 instead (<code>false</code>). 566 Note that if this is set to <code>false</code>, no further processing is done; 567 specifically, if reference is defined via setter method, that method will NOT 568 be called. 569<p> 570 Feature is enabled by default, so that unknown Object Ids will result in an 571 exception being thrown, at the end of deserialization.</div> 572<dl><dt><span class="strong">Since:</span></dt> 573 <dd>2.5</dd></dl> 574</li> 575</ul> 576<a name="WRAP_EXCEPTIONS"> 577<!-- --> 578</a> 579<ul class="blockList"> 580<li class="blockList"> 581<h4>WRAP_EXCEPTIONS</h4> 582<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> WRAP_EXCEPTIONS</pre> 583<div class="block">Feature that determines whether Jackson code should catch 584 and wrap <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang"><code>Exception</code></a>s (but never <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Error.html?is-external=true" title="class or interface in java.lang"><code>Error</code></a>s!) 585 to add additional information about 586 location (within input) of problem or not. If enabled, 587 most exceptions will be caught and re-thrown (exception 588 specifically being that <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>s may be passed 589 as is, since they are declared as throwable); this can be 590 convenient both in that all exceptions will be checked and 591 declared, and so there is more contextual information. 592 However, sometimes calling application may just want "raw" 593 unchecked exceptions passed as is. 594<p> 595 Feature is enabled by default.</div> 596</li> 597</ul> 598<a name="ACCEPT_SINGLE_VALUE_AS_ARRAY"> 599<!-- --> 600</a> 601<ul class="blockList"> 602<li class="blockList"> 603<h4>ACCEPT_SINGLE_VALUE_AS_ARRAY</h4> 604<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> ACCEPT_SINGLE_VALUE_AS_ARRAY</pre> 605<div class="block">Feature that determines whether it is acceptable to coerce non-array 606 (in JSON) values to work with Java collection (arrays, java.util.Collection) 607 types. If enabled, collection deserializers will try to handle non-array 608 values as if they had "implicit" surrounding JSON array. 609 This feature is meant to be used for compatibility/interoperability reasons, 610 to work with packages (such as XML-to-JSON converters) that leave out JSON 611 array in cases where there is just a single element in array. 612<p> 613 Feature is disabled by default.</div> 614</li> 615</ul> 616<a name="UNWRAP_SINGLE_VALUE_ARRAYS"> 617<!-- --> 618</a> 619<ul class="blockList"> 620<li class="blockList"> 621<h4>UNWRAP_SINGLE_VALUE_ARRAYS</h4> 622<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> UNWRAP_SINGLE_VALUE_ARRAYS</pre> 623<div class="block">Feature that determines whether it is acceptable to coerce single value array (in JSON) 624 values to the corresponding value type. This is basically the opposite of the <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#ACCEPT_SINGLE_VALUE_AS_ARRAY"><code>ACCEPT_SINGLE_VALUE_AS_ARRAY</code></a> 625 feature. If more than one value is found in the array, a JsonMappingException is thrown. 626 <p> 627 628 Feature is disabled by default</div> 629<dl><dt><span class="strong">Since:</span></dt> 630 <dd>2.4</dd></dl> 631</li> 632</ul> 633<a name="UNWRAP_ROOT_VALUE"> 634<!-- --> 635</a> 636<ul class="blockList"> 637<li class="blockList"> 638<h4>UNWRAP_ROOT_VALUE</h4> 639<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> UNWRAP_ROOT_VALUE</pre> 640<div class="block">Feature to allow "unwrapping" root-level JSON value, to match setting of 641 <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRAP_ROOT_VALUE"><code>SerializationFeature.WRAP_ROOT_VALUE</code></a> used for serialization. 642 Will verify that the root JSON value is a JSON Object, and that it has 643 a single property with expected root name. If not, a 644 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a> is thrown; otherwise value of the wrapped property 645 will be deserialized as if it was the root value. 646<p> 647 Feature is disabled by default.</div> 648</li> 649</ul> 650<a name="ACCEPT_EMPTY_STRING_AS_NULL_OBJECT"> 651<!-- --> 652</a> 653<ul class="blockList"> 654<li class="blockList"> 655<h4>ACCEPT_EMPTY_STRING_AS_NULL_OBJECT</h4> 656<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> ACCEPT_EMPTY_STRING_AS_NULL_OBJECT</pre> 657<div class="block">Feature that can be enabled to allow JSON empty String 658 value ("") to be bound to POJOs as null. 659 If disabled, standard POJOs can only be bound from JSON null or 660 JSON Object (standard meaning that no custom deserializers or 661 constructors are defined; both of which can add support for other 662 kinds of JSON values); if enabled, empty JSON String can be taken 663 to be equivalent of JSON null. 664<p> 665 Feature is disabled by default.</div> 666</li> 667</ul> 668<a name="ACCEPT_EMPTY_ARRAY_AS_NULL_OBJECT"> 669<!-- --> 670</a> 671<ul class="blockList"> 672<li class="blockList"> 673<h4>ACCEPT_EMPTY_ARRAY_AS_NULL_OBJECT</h4> 674<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> ACCEPT_EMPTY_ARRAY_AS_NULL_OBJECT</pre> 675<div class="block">Feature that can be enabled to allow empty JSON Array 676 value (that is, <code>[ ]</code>) to be bound to POJOs as null. 677 If disabled, standard POJOs can only be bound from JSON null or 678 JSON Object (standard meaning that no custom deserializers or 679 constructors are defined; both of which can add support for other 680 kinds of JSON values); if enabled, empty JSON Array will be taken 681 to be equivalent of JSON null. 682<p> 683 Feature is disabled by default.</div> 684<dl><dt><span class="strong">Since:</span></dt> 685 <dd>2.5</dd></dl> 686</li> 687</ul> 688<a name="READ_UNKNOWN_ENUM_VALUES_AS_NULL"> 689<!-- --> 690</a> 691<ul class="blockList"> 692<li class="blockList"> 693<h4>READ_UNKNOWN_ENUM_VALUES_AS_NULL</h4> 694<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> READ_UNKNOWN_ENUM_VALUES_AS_NULL</pre> 695<div class="block">Feature that allows unknown Enum values to be parsed as null values. 696 If disabled, unknown Enum values will throw exceptions. 697<p> 698 Note that in some cases this will basically ignore unknown Enum values; 699 this is the keys for keys of <a href="http://docs.oracle.com/javase/6/docs/api/java/util/EnumMap.html?is-external=true" title="class or interface in java.util"><code>EnumMap</code></a> and values 700 of <a href="http://docs.oracle.com/javase/6/docs/api/java/util/EnumSet.html?is-external=true" title="class or interface in java.util"><code>EnumSet</code></a> (because nulls are not accepted in these 701 cases). 702<p> 703 Feature is disabled by default.</div> 704<dl><dt><span class="strong">Since:</span></dt> 705 <dd>2.0</dd></dl> 706</li> 707</ul> 708<a name="READ_DATE_TIMESTAMPS_AS_NANOSECONDS"> 709<!-- --> 710</a> 711<ul class="blockList"> 712<li class="blockList"> 713<h4>READ_DATE_TIMESTAMPS_AS_NANOSECONDS</h4> 714<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> READ_DATE_TIMESTAMPS_AS_NANOSECONDS</pre> 715<div class="block">Feature that controls whether numeric timestamp values are expected 716 to be written using nanosecond timestamps (enabled) or not (disabled), 717 <b>if and only if</b> datatype supports such resolution. 718 Only newer datatypes (such as Java8 Date/Time) support such resolution -- 719 older types (pre-Java8 <b>java.util.Date</b> etc) and Joda do not -- 720 and this setting <b>has no effect</b> on such types. 721<p> 722 If disabled, standard millisecond timestamps are assumed. 723 This is the counterpart to <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS"><code>SerializationFeature.WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</code></a>. 724<p> 725 Feature is enabled by default, to support most accurate time values possible.</div> 726<dl><dt><span class="strong">Since:</span></dt> 727 <dd>2.2</dd></dl> 728</li> 729</ul> 730<a name="ADJUST_DATES_TO_CONTEXT_TIME_ZONE"> 731<!-- --> 732</a> 733<ul class="blockList"> 734<li class="blockList"> 735<h4>ADJUST_DATES_TO_CONTEXT_TIME_ZONE</h4> 736<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> ADJUST_DATES_TO_CONTEXT_TIME_ZONE</pre> 737<div class="block">Feature that specifies whether context provided <a href="http://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util"><code>TimeZone</code></a> 738 (<a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html#getTimeZone()"><code>DeserializationContext.getTimeZone()</code></a> should be used to adjust Date/Time 739 values on deserialization, even if value itself contains timezone information. 740 If enabled, contextual <code>TimeZone</code> will essentially override any other 741 TimeZone information; if disabled, it will only be used if value itself does not 742 contain any TimeZone information.</div> 743<dl><dt><span class="strong">Since:</span></dt> 744 <dd>2.2</dd></dl> 745</li> 746</ul> 747<a name="EAGER_DESERIALIZER_FETCH"> 748<!-- --> 749</a> 750<ul class="blockListLast"> 751<li class="blockList"> 752<h4>EAGER_DESERIALIZER_FETCH</h4> 753<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> EAGER_DESERIALIZER_FETCH</pre> 754<div class="block">Feature that determines whether <a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a> should 755 try to eagerly fetch necessary <a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonDeserializer</code></a> when 756 possible. This improves performance in cases where similarly 757 configured <a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a> instance is used multiple 758 times; and should not significantly affect single-use cases. 759<p> 760 Note that there should not be any need to normally disable this 761 feature: only consider that if there are actual perceived problems. 762<p> 763 Feature is enabled by default.</div> 764<dl><dt><span class="strong">Since:</span></dt> 765 <dd>2.1</dd></dl> 766</li> 767</ul> 768</li> 769</ul> 770<!-- ============ METHOD DETAIL ========== --> 771<ul class="blockList"> 772<li class="blockList"><a name="method_detail"> 773<!-- --> 774</a> 775<h3>Method Detail</h3> 776<a name="values()"> 777<!-- --> 778</a> 779<ul class="blockList"> 780<li class="blockList"> 781<h4>values</h4> 782<pre>public static <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a>[] values()</pre> 783<div class="block">Returns an array containing the constants of this enum type, in 784the order they are declared. This method may be used to iterate 785over the constants as follows: 786<pre> 787for (DeserializationFeature c : DeserializationFeature.values()) 788 System.out.println(c); 789</pre></div> 790<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in 791the order they are declared</dd></dl> 792</li> 793</ul> 794<a name="valueOf(java.lang.String)"> 795<!-- --> 796</a> 797<ul class="blockList"> 798<li class="blockList"> 799<h4>valueOf</h4> 800<pre>public static <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> valueOf(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> 801<div class="block">Returns the enum constant of this type with the specified name. 802The string must match <i>exactly</i> an identifier used to declare an 803enum constant in this type. (Extraneous whitespace characters are 804not permitted.)</div> 805<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd> 806<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd> 807<dt><span class="strong">Throws:</span></dt> 808<dd><code><a href="http://docs.oracle.com/javase/6/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 809with the specified name</dd> 810<dd><code><a href="http://docs.oracle.com/javase/6/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> 811</li> 812</ul> 813<a name="enabledByDefault()"> 814<!-- --> 815</a> 816<ul class="blockList"> 817<li class="blockList"> 818<h4>enabledByDefault</h4> 819<pre>public boolean enabledByDefault()</pre> 820<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledByDefault()">ConfigFeature</a></code></strong></div> 821<div class="block">Accessor for checking whether this feature is enabled by default.</div> 822<dl> 823<dt><strong>Specified by:</strong></dt> 824<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> 825</dl> 826</li> 827</ul> 828<a name="getMask()"> 829<!-- --> 830</a> 831<ul class="blockList"> 832<li class="blockList"> 833<h4>getMask</h4> 834<pre>public int getMask()</pre> 835<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#getMask()">ConfigFeature</a></code></strong></div> 836<div class="block">Returns bit mask for this feature instance</div> 837<dl> 838<dt><strong>Specified by:</strong></dt> 839<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> 840</dl> 841</li> 842</ul> 843<a name="enabledIn(int)"> 844<!-- --> 845</a> 846<ul class="blockListLast"> 847<li class="blockList"> 848<h4>enabledIn</h4> 849<pre>public boolean enabledIn(int flags)</pre> 850<dl><dt><span class="strong">Since:</span></dt> 851 <dd>2.5</dd></dl> 852</li> 853</ul> 854</li> 855</ul> 856</li> 857</ul> 858</div> 859</div> 860<!-- ========= END OF CLASS DATA ========= --> 861<!-- ======= START OF BOTTOM NAVBAR ====== --> 862<div class="bottomNav"><a name="navbar_bottom"> 863<!-- --> 864</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 865<!-- --> 866</a> 867<ul class="navList" title="Navigation"> 868<li><a href="../../../../overview-summary.html">Overview</a></li> 869<li><a href="package-summary.html">Package</a></li> 870<li class="navBarCell1Rev">Class</li> 871<li><a href="class-use/DeserializationFeature.html">Use</a></li> 872<li><a href="package-tree.html">Tree</a></li> 873<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 874<li><a href="../../../../index-all.html">Index</a></li> 875<li><a href="../../../../help-doc.html">Help</a></li> 876</ul> 877</div> 878<div class="subNav"> 879<ul class="navList"> 880<li><a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 881<li><a href="../../../../com/fasterxml/jackson/databind/InjectableValues.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 882</ul> 883<ul class="navList"> 884<li><a href="../../../../index.html?com/fasterxml/jackson/databind/DeserializationFeature.html" target="_top">Frames</a></li> 885<li><a href="DeserializationFeature.html" target="_top">No Frames</a></li> 886</ul> 887<ul class="navList" id="allclasses_navbar_bottom"> 888<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 889</ul> 890<div> 891<script type="text/javascript"><!-- 892 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 893 if(window==top) { 894 allClassesLink.style.display = "block"; 895 } 896 else { 897 allClassesLink.style.display = "none"; 898 } 899 //--> 900</script> 901</div> 902<div> 903<ul class="subNavList"> 904<li>Summary: </li> 905<li>Nested | </li> 906<li><a href="#enum_constant_summary">Enum Constants</a> | </li> 907<li>Field | </li> 908<li><a href="#method_summary">Method</a></li> 909</ul> 910<ul class="subNavList"> 911<li>Detail: </li> 912<li><a href="#enum_constant_detail">Enum Constants</a> | </li> 913<li>Field | </li> 914<li><a href="#method_detail">Method</a></li> 915</ul> 916</div> 917<a name="skip-navbar_bottom"> 918<!-- --> 919</a></div> 920<!-- ======== END OF BOTTOM NAVBAR ======= --> 921<p class="legalCopy"><small>Copyright © 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 922</body> 923</html> 924