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 Mon Jun 02 17:48:54 PDT 2014 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>DeserializationFeature (jackson-databind 2.4.0 API)</title> 8<meta name="date" content="2014-06-02"> 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.4.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_STRING_AS_NULL_OBJECT">ACCEPT_EMPTY_STRING_AS_NULL_OBJECT</a></strong></code> 144<div class="block">Feature that can be enabled to allow JSON empty String 145 value ("") 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_SINGLE_VALUE_AS_ARRAY">ACCEPT_SINGLE_VALUE_AS_ARRAY</a></strong></code> 150<div class="block">Feature that determines whether it is acceptable to coerce non-array 151 (in JSON) values to work with Java collection (arrays, java.util.Collection) 152 types.</div> 153</td> 154</tr> 155<tr class="altColor"> 156<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> 157<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> 158 (<a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html#getTimeZone()"><code>DeserializationContext.getTimeZone()</code></a> should be used to adjust Date/Time 159 values on deserialization, even if value itself contains timezone information.</div> 160</td> 161</tr> 162<tr class="rowColor"> 163<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#EAGER_DESERIALIZER_FETCH">EAGER_DESERIALIZER_FETCH</a></strong></code> 164<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 165 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 166 possible.</div> 167</td> 168</tr> 169<tr class="altColor"> 170<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#FAIL_ON_IGNORED_PROPERTIES">FAIL_ON_IGNORED_PROPERTIES</a></strong></code> 171<div class="block">Feature that determines what happens when a property that has been explicitly 172 marked as ignorable is encountered in input: if feature is enabled, 173 <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> 174</td> 175</tr> 176<tr class="rowColor"> 177<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#FAIL_ON_INVALID_SUBTYPE">FAIL_ON_INVALID_SUBTYPE</a></strong></code> 178<div class="block">Feature that determines what happens when type of a polymorphic 179 value (indicated for example by <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.4/com/fasterxml/jackson/annotation/JsonTypeInfo.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonTypeInfo</code></a>) 180 can not be found (missing) or resolved (invalid class name, unmappable id); 181 if enabled, an exception ir thrown; if false, null value is used instead.</div> 182</td> 183</tr> 184<tr class="altColor"> 185<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> 186<div class="block">Feature that determines whether encountering of JSON null 187 is an error when deserializing into Java primitive types 188 (like 'int' or 'double').</div> 189</td> 190</tr> 191<tr class="rowColor"> 192<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> 193<div class="block">Feature that determines whether JSON integer numbers are valid 194 values to be used for deserializing Java enum values.</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_READING_DUP_TREE_KEY">FAIL_ON_READING_DUP_TREE_KEY</a></strong></code> 199<div class="block">Feature that determines what happens when reading JSON content into tree 200 (<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>TreeNode</code></a>) and a duplicate key 201 is encountered (property name that was already seen for the JSON Object).</div> 202</td> 203</tr> 204<tr class="rowColor"> 205<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#FAIL_ON_UNKNOWN_PROPERTIES">FAIL_ON_UNKNOWN_PROPERTIES</a></strong></code> 206<div class="block">Feature that determines whether encountering of unknown 207 properties (ones that do not map to a property, and there is 208 no "any setter" or handler that can handle it) 209 should result in a failure (by throwing a 210 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>) or not.</div> 211</td> 212</tr> 213<tr class="altColor"> 214<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> 215<div class="block">Feature that controls whether numeric timestamp values are expected 216 to be written using nanosecond timestamps (enabled) or not (disabled), 217 <b>if and only if</b> datatype supports such resolution.</div> 218</td> 219</tr> 220<tr class="rowColor"> 221<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> 222<div class="block">Feature that determines standard deserialization mechanism used for 223 Enum values: if enabled, Enums are assumed to have been serialized using 224 return value of <code>Enum.toString()</code>; 225 if disabled, return value of <code>Enum.name()</code> is assumed to have been used.</div> 226</td> 227</tr> 228<tr class="altColor"> 229<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> 230<div class="block">Feature that allows unknown Enum values to be parsed as null values.</div> 231</td> 232</tr> 233<tr class="rowColor"> 234<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#UNWRAP_ROOT_VALUE">UNWRAP_ROOT_VALUE</a></strong></code> 235<div class="block">Feature to allow "unwrapping" root-level JSON value, to match setting of 236 <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRAP_ROOT_VALUE"><code>SerializationFeature.WRAP_ROOT_VALUE</code></a> used for serialization.</div> 237</td> 238</tr> 239<tr class="altColor"> 240<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#UNWRAP_SINGLE_VALUE_ARRAYS">UNWRAP_SINGLE_VALUE_ARRAYS</a></strong></code> 241<div class="block">Feature that determines whether it is acceptable to coerce single value array (in JSON) 242 values to the corresponding value type.</div> 243</td> 244</tr> 245<tr class="rowColor"> 246<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> 247<div class="block">Feature that determines whether JSON floating point numbers 248 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 249 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 250 <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> 251 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> 252</td> 253</tr> 254<tr class="altColor"> 255<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> 256<div class="block">Feature that determines whether JSON integral (non-floating-point) 257 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 258 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 259 <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> 260 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> 261</td> 262</tr> 263<tr class="rowColor"> 264<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> 265<div class="block">Feature that determines whether JSON Array is mapped to 266 <code>Object[]</code> or <code>List<Object></code> when binding 267 "untyped" objects (ones with nominal type of <code>java.lang.Object</code>).</div> 268</td> 269</tr> 270<tr class="altColor"> 271<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#WRAP_EXCEPTIONS">WRAP_EXCEPTIONS</a></strong></code> 272<div class="block">Feature that determines whether Jackson code should catch 273 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!) 274 to add additional information about 275 location (within input) of problem or not.</div> 276</td> 277</tr> 278</table> 279</li> 280</ul> 281<!-- ========== METHOD SUMMARY =========== --> 282<ul class="blockList"> 283<li class="blockList"><a name="method_summary"> 284<!-- --> 285</a> 286<h3>Method Summary</h3> 287<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 288<caption><span>Methods</span><span class="tabEnd"> </span></caption> 289<tr> 290<th class="colFirst" scope="col">Modifier and Type</th> 291<th class="colLast" scope="col">Method and Description</th> 292</tr> 293<tr class="altColor"> 294<td class="colFirst"><code>boolean</code></td> 295<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#enabledByDefault()">enabledByDefault</a></strong>()</code> 296<div class="block">Accessor for checking whether this feature is enabled by default.</div> 297</td> 298</tr> 299<tr class="rowColor"> 300<td class="colFirst"><code>int</code></td> 301<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#getMask()">getMask</a></strong>()</code> 302<div class="block">Returns bit mask for this feature instance</div> 303</td> 304</tr> 305<tr class="altColor"> 306<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a></code></td> 307<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> 308<div class="block">Returns the enum constant of this type with the specified name.</div> 309</td> 310</tr> 311<tr class="rowColor"> 312<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a>[]</code></td> 313<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#values()">values</a></strong>()</code> 314<div class="block">Returns an array containing the constants of this enum type, in 315the order they are declared.</div> 316</td> 317</tr> 318</table> 319<ul class="blockList"> 320<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum"> 321<!-- --> 322</a> 323<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> 324<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> 325</ul> 326<ul class="blockList"> 327<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object"> 328<!-- --> 329</a> 330<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> 331<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> 332</ul> 333</li> 334</ul> 335</li> 336</ul> 337</div> 338<div class="details"> 339<ul class="blockList"> 340<li class="blockList"> 341<!-- ============ ENUM CONSTANT DETAIL =========== --> 342<ul class="blockList"> 343<li class="blockList"><a name="enum_constant_detail"> 344<!-- --> 345</a> 346<h3>Enum Constant Detail</h3> 347<a name="USE_BIG_DECIMAL_FOR_FLOATS"> 348<!-- --> 349</a> 350<ul class="blockList"> 351<li class="blockList"> 352<h4>USE_BIG_DECIMAL_FOR_FLOATS</h4> 353<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> 354<div class="block">Feature that determines whether JSON floating point numbers 355 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 356 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 357 <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> 358 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. 359 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; 360 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. 361 <p> 362 Feature is disabled by default, meaning that "untyped" floating 363 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 364 (choice is for performance reason -- BigDecimals are slower than 365 Doubles).</div> 366</li> 367</ul> 368<a name="USE_BIG_INTEGER_FOR_INTS"> 369<!-- --> 370</a> 371<ul class="blockList"> 372<li class="blockList"> 373<h4>USE_BIG_INTEGER_FOR_INTS</h4> 374<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> 375<div class="block">Feature that determines whether JSON integral (non-floating-point) 376 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 377 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 378 <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> 379 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. 380 If enabled such values will be deserialized as 381 <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; 382 if disabled, will be deserialized as "smallest" available type, 383 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 384 <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. 385 <p> 386 Feature is disabled by default, meaning that "untyped" floating 387 point numbers will by default be deserialized using whatever 388 is the most compact integral type, to optimize efficiency.</div> 389</li> 390</ul> 391<a name="USE_JAVA_ARRAY_FOR_JSON_ARRAY"> 392<!-- --> 393</a> 394<ul class="blockList"> 395<li class="blockList"> 396<h4>USE_JAVA_ARRAY_FOR_JSON_ARRAY</h4> 397<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> 398<div class="block">Feature that determines whether JSON Array is mapped to 399 <code>Object[]</code> or <code>List<Object></code> when binding 400 "untyped" objects (ones with nominal type of <code>java.lang.Object</code>). 401 If true, binds as <code>Object[]</code>; if false, as <code>List<Object></code>. 402<p> 403 Feature is disabled by default, meaning that JSON arrays are bound as 404 <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> 405</li> 406</ul> 407<a name="READ_ENUMS_USING_TO_STRING"> 408<!-- --> 409</a> 410<ul class="blockList"> 411<li class="blockList"> 412<h4>READ_ENUMS_USING_TO_STRING</h4> 413<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> 414<div class="block">Feature that determines standard deserialization mechanism used for 415 Enum values: if enabled, Enums are assumed to have been serialized using 416 return value of <code>Enum.toString()</code>; 417 if disabled, return value of <code>Enum.name()</code> is assumed to have been used. 418<p> 419 Note: this feature should usually have same value 420 as <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_ENUMS_USING_TO_STRING"><code>SerializationFeature.WRITE_ENUMS_USING_TO_STRING</code></a>. 421<p> 422 Feature is disabled by default.</div> 423</li> 424</ul> 425<a name="FAIL_ON_UNKNOWN_PROPERTIES"> 426<!-- --> 427</a> 428<ul class="blockList"> 429<li class="blockList"> 430<h4>FAIL_ON_UNKNOWN_PROPERTIES</h4> 431<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> 432<div class="block">Feature that determines whether encountering of unknown 433 properties (ones that do not map to a property, and there is 434 no "any setter" or handler that can handle it) 435 should result in a failure (by throwing a 436 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a>) or not. 437 This setting only takes effect after all other handling 438 methods for unknown properties have been tried, and 439 property remains unhandled. 440<p> 441 Feature is enabled by default (meaning that a 442 <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 443 is encountered).</div> 444</li> 445</ul> 446<a name="FAIL_ON_NULL_FOR_PRIMITIVES"> 447<!-- --> 448</a> 449<ul class="blockList"> 450<li class="blockList"> 451<h4>FAIL_ON_NULL_FOR_PRIMITIVES</h4> 452<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> 453<div class="block">Feature that determines whether encountering of JSON null 454 is an error when deserializing into Java primitive types 455 (like 'int' or 'double'). If it is, a JsonProcessingException 456 is thrown to indicate this; if not, default value is used 457 (0 for 'int', 0.0 for double, same defaulting as what JVM uses). 458<p> 459 Feature is disabled by default.</div> 460</li> 461</ul> 462<a name="FAIL_ON_NUMBERS_FOR_ENUMS"> 463<!-- --> 464</a> 465<ul class="blockList"> 466<li class="blockList"> 467<h4>FAIL_ON_NUMBERS_FOR_ENUMS</h4> 468<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> 469<div class="block">Feature that determines whether JSON integer numbers are valid 470 values to be used for deserializing Java enum values. 471 If set to 'false' numbers are acceptable and are used to map to 472 ordinal() of matching enumeration value; if 'true', numbers are 473 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. 474 Latter behavior makes sense if there is concern that accidental 475 mapping from integer values to enums might happen (and when enums 476 are always serialized as JSON Strings) 477<p> 478 Feature is disabled by default.</div> 479</li> 480</ul> 481<a name="FAIL_ON_INVALID_SUBTYPE"> 482<!-- --> 483</a> 484<ul class="blockList"> 485<li class="blockList"> 486<h4>FAIL_ON_INVALID_SUBTYPE</h4> 487<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> 488<div class="block">Feature that determines what happens when type of a polymorphic 489 value (indicated for example by <a href="http://fasterxml.github.com/jackson-annotations/javadoc/2.4/com/fasterxml/jackson/annotation/JsonTypeInfo.html?is-external=true" title="class or interface in com.fasterxml.jackson.annotation"><code>JsonTypeInfo</code></a>) 490 can not be found (missing) or resolved (invalid class name, unmappable id); 491 if enabled, an exception ir thrown; if false, null value is used instead. 492<p> 493 Feature is enabled by default so that exception is thrown for missing or invalid 494 type information.</div> 495<dl><dt><span class="strong">Since:</span></dt> 496 <dd>2.2</dd></dl> 497</li> 498</ul> 499<a name="FAIL_ON_READING_DUP_TREE_KEY"> 500<!-- --> 501</a> 502<ul class="blockList"> 503<li class="blockList"> 504<h4>FAIL_ON_READING_DUP_TREE_KEY</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_READING_DUP_TREE_KEY</pre> 506<div class="block">Feature that determines what happens when reading JSON content into tree 507 (<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/TreeNode.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>TreeNode</code></a>) and a duplicate key 508 is encountered (property name that was already seen for the JSON Object). 509 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 510 is thrown and the new (later) value overwrites the earlier value. 511<p> 512 Note that this property does NOT affect other aspects of data-binding; that is, 513 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> 514 keys. New features may be added to control additional cases. 515<p> 516 Feature is disabled by default so that no exception is thrown.</div> 517<dl><dt><span class="strong">Since:</span></dt> 518 <dd>2.3</dd></dl> 519</li> 520</ul> 521<a name="FAIL_ON_IGNORED_PROPERTIES"> 522<!-- --> 523</a> 524<ul class="blockList"> 525<li class="blockList"> 526<h4>FAIL_ON_IGNORED_PROPERTIES</h4> 527<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> 528<div class="block">Feature that determines what happens when a property that has been explicitly 529 marked as ignorable is encountered in input: if feature is enabled, 530 <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. 531<p> 532 Feature is disabled by default so that no exception is thrown.</div> 533<dl><dt><span class="strong">Since:</span></dt> 534 <dd>2.3</dd></dl> 535</li> 536</ul> 537<a name="WRAP_EXCEPTIONS"> 538<!-- --> 539</a> 540<ul class="blockList"> 541<li class="blockList"> 542<h4>WRAP_EXCEPTIONS</h4> 543<pre>public static final <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a> WRAP_EXCEPTIONS</pre> 544<div class="block">Feature that determines whether Jackson code should catch 545 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!) 546 to add additional information about 547 location (within input) of problem or not. If enabled, 548 most exceptions will be caught and re-thrown (exception 549 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 550 as is, since they are declared as throwable); this can be 551 convenient both in that all exceptions will be checked and 552 declared, and so there is more contextual information. 553 However, sometimes calling application may just want "raw" 554 unchecked exceptions passed as is. 555<p> 556 Feature is enabled by default.</div> 557</li> 558</ul> 559<a name="ACCEPT_SINGLE_VALUE_AS_ARRAY"> 560<!-- --> 561</a> 562<ul class="blockList"> 563<li class="blockList"> 564<h4>ACCEPT_SINGLE_VALUE_AS_ARRAY</h4> 565<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> 566<div class="block">Feature that determines whether it is acceptable to coerce non-array 567 (in JSON) values to work with Java collection (arrays, java.util.Collection) 568 types. If enabled, collection deserializers will try to handle non-array 569 values as if they had "implicit" surrounding JSON array. 570 This feature is meant to be used for compatibility/interoperability reasons, 571 to work with packages (such as XML-to-JSON converters) that leave out JSON 572 array in cases where there is just a single element in array. 573<p> 574 Feature is disabled by default.</div> 575</li> 576</ul> 577<a name="UNWRAP_SINGLE_VALUE_ARRAYS"> 578<!-- --> 579</a> 580<ul class="blockList"> 581<li class="blockList"> 582<h4>UNWRAP_SINGLE_VALUE_ARRAYS</h4> 583<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> 584<div class="block">Feature that determines whether it is acceptable to coerce single value array (in JSON) 585 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> 586 feature. If more than one value is found in the array, a JsonMappingException is thrown. 587 <p> 588 589 Feature is disabled by default</div> 590<dl><dt><span class="strong">Since:</span></dt> 591 <dd>2.4</dd></dl> 592</li> 593</ul> 594<a name="UNWRAP_ROOT_VALUE"> 595<!-- --> 596</a> 597<ul class="blockList"> 598<li class="blockList"> 599<h4>UNWRAP_ROOT_VALUE</h4> 600<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> 601<div class="block">Feature to allow "unwrapping" root-level JSON value, to match setting of 602 <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRAP_ROOT_VALUE"><code>SerializationFeature.WRAP_ROOT_VALUE</code></a> used for serialization. 603 Will verify that the root JSON value is a JSON Object, and that it has 604 a single property with expected root name. If not, a 605 <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 606 will be deserialized as if it was the root value. 607<p> 608 Feature is disabled by default.</div> 609</li> 610</ul> 611<a name="ACCEPT_EMPTY_STRING_AS_NULL_OBJECT"> 612<!-- --> 613</a> 614<ul class="blockList"> 615<li class="blockList"> 616<h4>ACCEPT_EMPTY_STRING_AS_NULL_OBJECT</h4> 617<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> 618<div class="block">Feature that can be enabled to allow JSON empty String 619 value ("") to be bound to POJOs as null. 620 If disabled, standard POJOs can only be bound from JSON null or 621 JSON Object (standard meaning that no custom deserializers or 622 constructors are defined; both of which can add support for other 623 kinds of JSON values); if enable, empty JSON String can be taken 624 to be equivalent of JSON null. 625<p> 626 Feature is enabled by default.</div> 627</li> 628</ul> 629<a name="READ_UNKNOWN_ENUM_VALUES_AS_NULL"> 630<!-- --> 631</a> 632<ul class="blockList"> 633<li class="blockList"> 634<h4>READ_UNKNOWN_ENUM_VALUES_AS_NULL</h4> 635<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> 636<div class="block">Feature that allows unknown Enum values to be parsed as null values. 637 If disabled, unknown Enum values will throw exceptions. 638<p> 639 Note that in some cases this will basically ignore unknown Enum values; 640 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 641 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 642 cases). 643<p> 644 Feature is disabled by default.</div> 645<dl><dt><span class="strong">Since:</span></dt> 646 <dd>2.0</dd></dl> 647</li> 648</ul> 649<a name="READ_DATE_TIMESTAMPS_AS_NANOSECONDS"> 650<!-- --> 651</a> 652<ul class="blockList"> 653<li class="blockList"> 654<h4>READ_DATE_TIMESTAMPS_AS_NANOSECONDS</h4> 655<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> 656<div class="block">Feature that controls whether numeric timestamp values are expected 657 to be written using nanosecond timestamps (enabled) or not (disabled), 658 <b>if and only if</b> datatype supports such resolution. 659 Only newer datatypes (such as Java8 Date/Time) support such resolution -- 660 older types (pre-Java8 <b>java.util.Date</b> etc) and Joda do not -- 661 and this setting <b>has no effect</b> on such types. 662<p> 663 If disabled, standard millisecond timestamps are assumed. 664 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>. 665<p> 666 Feature is enabled by default, to support most accurate time values possible.</div> 667<dl><dt><span class="strong">Since:</span></dt> 668 <dd>2.2</dd></dl> 669</li> 670</ul> 671<a name="ADJUST_DATES_TO_CONTEXT_TIME_ZONE"> 672<!-- --> 673</a> 674<ul class="blockList"> 675<li class="blockList"> 676<h4>ADJUST_DATES_TO_CONTEXT_TIME_ZONE</h4> 677<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> 678<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> 679 (<a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html#getTimeZone()"><code>DeserializationContext.getTimeZone()</code></a> should be used to adjust Date/Time 680 values on deserialization, even if value itself contains timezone information. 681 If enabled, contextual <code>TimeZone</code> will essentially override any other 682 TimeZone information; if disabled, it will only be used if value itself does not 683 contain any TimeZone information.</div> 684<dl><dt><span class="strong">Since:</span></dt> 685 <dd>2.2</dd></dl> 686</li> 687</ul> 688<a name="EAGER_DESERIALIZER_FETCH"> 689<!-- --> 690</a> 691<ul class="blockListLast"> 692<li class="blockList"> 693<h4>EAGER_DESERIALIZER_FETCH</h4> 694<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> 695<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 696 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 697 possible. This improves performance in cases where similarly 698 configured <a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a> instance is used multiple 699 times; and should not significantly affect single-use cases. 700<p> 701 Note that there should not be any need to normally disable this 702 feature: only consider that if there are actual perceived problems. 703<p> 704 Feature is enabled by default.</div> 705<dl><dt><span class="strong">Since:</span></dt> 706 <dd>2.1</dd></dl> 707</li> 708</ul> 709</li> 710</ul> 711<!-- ============ METHOD DETAIL ========== --> 712<ul class="blockList"> 713<li class="blockList"><a name="method_detail"> 714<!-- --> 715</a> 716<h3>Method Detail</h3> 717<a name="values()"> 718<!-- --> 719</a> 720<ul class="blockList"> 721<li class="blockList"> 722<h4>values</h4> 723<pre>public static <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a>[] values()</pre> 724<div class="block">Returns an array containing the constants of this enum type, in 725the order they are declared. This method may be used to iterate 726over the constants as follows: 727<pre> 728for (DeserializationFeature c : DeserializationFeature.values()) 729 System.out.println(c); 730</pre></div> 731<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in 732the order they are declared</dd></dl> 733</li> 734</ul> 735<a name="valueOf(java.lang.String)"> 736<!-- --> 737</a> 738<ul class="blockList"> 739<li class="blockList"> 740<h4>valueOf</h4> 741<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> 742<div class="block">Returns the enum constant of this type with the specified name. 743The string must match <i>exactly</i> an identifier used to declare an 744enum constant in this type. (Extraneous whitespace characters are 745not permitted.)</div> 746<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd> 747<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd> 748<dt><span class="strong">Throws:</span></dt> 749<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 750with the specified name</dd> 751<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> 752</li> 753</ul> 754<a name="enabledByDefault()"> 755<!-- --> 756</a> 757<ul class="blockList"> 758<li class="blockList"> 759<h4>enabledByDefault</h4> 760<pre>public boolean enabledByDefault()</pre> 761<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledByDefault()">ConfigFeature</a></code></strong></div> 762<div class="block">Accessor for checking whether this feature is enabled by default.</div> 763<dl> 764<dt><strong>Specified by:</strong></dt> 765<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> 766</dl> 767</li> 768</ul> 769<a name="getMask()"> 770<!-- --> 771</a> 772<ul class="blockListLast"> 773<li class="blockList"> 774<h4>getMask</h4> 775<pre>public int getMask()</pre> 776<div class="block"><strong>Description copied from interface: <code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#getMask()">ConfigFeature</a></code></strong></div> 777<div class="block">Returns bit mask for this feature instance</div> 778<dl> 779<dt><strong>Specified by:</strong></dt> 780<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> 781</dl> 782</li> 783</ul> 784</li> 785</ul> 786</li> 787</ul> 788</div> 789</div> 790<!-- ========= END OF CLASS DATA ========= --> 791<!-- ======= START OF BOTTOM NAVBAR ====== --> 792<div class="bottomNav"><a name="navbar_bottom"> 793<!-- --> 794</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 795<!-- --> 796</a> 797<ul class="navList" title="Navigation"> 798<li><a href="../../../../overview-summary.html">Overview</a></li> 799<li><a href="package-summary.html">Package</a></li> 800<li class="navBarCell1Rev">Class</li> 801<li><a href="class-use/DeserializationFeature.html">Use</a></li> 802<li><a href="package-tree.html">Tree</a></li> 803<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 804<li><a href="../../../../index-all.html">Index</a></li> 805<li><a href="../../../../help-doc.html">Help</a></li> 806</ul> 807</div> 808<div class="subNav"> 809<ul class="navList"> 810<li><a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li> 811<li><a href="../../../../com/fasterxml/jackson/databind/InjectableValues.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li> 812</ul> 813<ul class="navList"> 814<li><a href="../../../../index.html?com/fasterxml/jackson/databind/DeserializationFeature.html" target="_top">Frames</a></li> 815<li><a href="DeserializationFeature.html" target="_top">No Frames</a></li> 816</ul> 817<ul class="navList" id="allclasses_navbar_bottom"> 818<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 819</ul> 820<div> 821<script type="text/javascript"><!-- 822 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 823 if(window==top) { 824 allClassesLink.style.display = "block"; 825 } 826 else { 827 allClassesLink.style.display = "none"; 828 } 829 //--> 830</script> 831</div> 832<div> 833<ul class="subNavList"> 834<li>Summary: </li> 835<li>Nested | </li> 836<li><a href="#enum_constant_summary">Enum Constants</a> | </li> 837<li>Field | </li> 838<li><a href="#method_summary">Method</a></li> 839</ul> 840<ul class="subNavList"> 841<li>Detail: </li> 842<li><a href="#enum_constant_detail">Enum Constants</a> | </li> 843<li>Field | </li> 844<li><a href="#method_detail">Method</a></li> 845</ul> 846</div> 847<a name="skip-navbar_bottom"> 848<!-- --> 849</a></div> 850<!-- ======== END OF BOTTOM NAVBAR ======= --> 851<p class="legalCopy"><small>Copyright © 2014 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 852</body> 853</html> 854