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