1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!-- NewPage --> 3<html lang="en"> 4<head> 5<!-- Generated by javadoc (1.8.0_162) on Sat Apr 25 16:37:31 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>JsonFormat.Feature (Jackson-annotations 2.11.0 API)</title> 8<meta name="date" content="2020-04-25"> 9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="JsonFormat.Feature (Jackson-annotations 2.11.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":9,"i1":9}; 23var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li> 42<li class="navBarCell1Rev">Class</li> 43<li><a href="class-use/JsonFormat.Feature.html">Use</a></li> 44<li><a href="package-tree.html">Tree</a></li> 45<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 46<li><a href="../../../../index-all.html">Index</a></li> 47<li><a href="../../../../help-doc.html">Help</a></li> 48</ul> 49</div> 50<div class="subNav"> 51<ul class="navList"> 52<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation"><span class="typeNameLink">Prev Class</span></a></li> 53<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Features.html" title="class in com.fasterxml.jackson.annotation"><span class="typeNameLink">Next Class</span></a></li> 54</ul> 55<ul class="navList"> 56<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.Feature.html" target="_top">Frames</a></li> 57<li><a href="JsonFormat.Feature.html" target="_top">No Frames</a></li> 58</ul> 59<ul class="navList" id="allclasses_navbar_top"> 60<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 61</ul> 62<div> 63<script type="text/javascript"><!-- 64 allClassesLink = document.getElementById("allclasses_navbar_top"); 65 if(window==top) { 66 allClassesLink.style.display = "block"; 67 } 68 else { 69 allClassesLink.style.display = "none"; 70 } 71 //--> 72</script> 73</div> 74<div> 75<ul class="subNavList"> 76<li>Summary: </li> 77<li>Nested | </li> 78<li><a href="#enum.constant.summary">Enum Constants</a> | </li> 79<li>Field | </li> 80<li><a href="#method.summary">Method</a></li> 81</ul> 82<ul class="subNavList"> 83<li>Detail: </li> 84<li><a href="#enum.constant.detail">Enum Constants</a> | </li> 85<li>Field | </li> 86<li><a href="#method.detail">Method</a></li> 87</ul> 88</div> 89<a name="skip.navbar.top"> 90<!-- --> 91</a></div> 92<!-- ========= END OF TOP NAVBAR ========= --> 93<!-- ======== START OF CLASS DATA ======== --> 94<div class="header"> 95<div class="subTitle">com.fasterxml.jackson.annotation</div> 96<h2 title="Enum JsonFormat.Feature" class="title">Enum JsonFormat.Feature</h2> 97</div> 98<div class="contentContainer"> 99<ul class="inheritance"> 100<li><a href="https://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> 101<li> 102<ul class="inheritance"> 103<li><a href="https://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/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>></li> 104<li> 105<ul class="inheritance"> 106<li>com.fasterxml.jackson.annotation.JsonFormat.Feature</li> 107</ul> 108</li> 109</ul> 110</li> 111</ul> 112<div class="description"> 113<ul class="blockList"> 114<li class="blockList"> 115<dl> 116<dt>All Implemented Interfaces:</dt> 117<dd><a href="https://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="https://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/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>></dd> 118</dl> 119<dl> 120<dt>Enclosing class:</dt> 121<dd><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation">JsonFormat</a></dd> 122</dl> 123<hr> 124<br> 125<pre>public static enum <span class="typeNameLabel">JsonFormat.Feature</span> 126extends <a href="https://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/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>></pre> 127<div class="block">Set of features that can be enabled/disabled for property annotated. 128 These often relate to specific <code>SerializationFeature</code> 129 or <code>DeserializationFeature</code>, as noted by entries. 130<p> 131 Note that whether specific setting has an effect depends on whether 132 <code>JsonSerializer</code> / <code>JsonDeserializer</code> being used 133 takes the format setting into account. If not, please file an issue 134 for adding support via issue tracker for package that has handlers 135 (if you know which one; if not, just use `jackson-databind`).</div> 136<dl> 137<dt><span class="simpleTagLabel">Since:</span></dt> 138<dd>2.6</dd> 139</dl> 140</li> 141</ul> 142</div> 143<div class="summary"> 144<ul class="blockList"> 145<li class="blockList"> 146<!-- =========== ENUM CONSTANT SUMMARY =========== --> 147<ul class="blockList"> 148<li class="blockList"><a name="enum.constant.summary"> 149<!-- --> 150</a> 151<h3>Enum Constant Summary</h3> 152<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> 153<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> 154<tr> 155<th class="colOne" scope="col">Enum Constant and Description</th> 156</tr> 157<tr class="altColor"> 158<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#ACCEPT_CASE_INSENSITIVE_PROPERTIES">ACCEPT_CASE_INSENSITIVE_PROPERTIES</a></span></code> 159<div class="block">Override for <code>MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES</code>, 160 which allows case-insensitive matching of property names (but NOT values, 161 see <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#ACCEPT_CASE_INSENSITIVE_VALUES"><code>ACCEPT_CASE_INSENSITIVE_VALUES</code></a> for that).</div> 162</td> 163</tr> 164<tr class="rowColor"> 165<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#ACCEPT_CASE_INSENSITIVE_VALUES">ACCEPT_CASE_INSENSITIVE_VALUES</a></span></code> 166<div class="block">Override for <code>MapperFeature.ACCEPT_CASE_INSENSITIVE_VALUES</code>, 167 which allows case-sensitive matching of (some) property values, such 168 as <code>Enum</code>s.</div> 169</td> 170</tr> 171<tr class="altColor"> 172<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#ACCEPT_SINGLE_VALUE_AS_ARRAY">ACCEPT_SINGLE_VALUE_AS_ARRAY</a></span></code> 173<div class="block">Override for <code>DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY</code> 174 which will allow deserialization of JSON non-array values into single-element 175 Java arrays and <a href="https://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>s.</div> 176</td> 177</tr> 178<tr class="rowColor"> 179<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#ADJUST_DATES_TO_CONTEXT_TIME_ZONE">ADJUST_DATES_TO_CONTEXT_TIME_ZONE</a></span></code> 180<div class="block">Override for <code>DeserializationFeature.ADJUST_DATES_TO_CONTEXT_TIMEZONE</code> 181 that specifies whether context provided timezone 182 <code>DeserializationContext.getTimeZone()</code> should be used to adjust Date/Time 183 values on deserialization, even if value itself contains timezone informatio</div> 184</td> 185</tr> 186<tr class="altColor"> 187<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS">WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</a></span></code> 188<div class="block">Override for <code>SerializationFeature.WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</code>, 189 similar constraints apply.</div> 190</td> 191</tr> 192<tr class="rowColor"> 193<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#WRITE_DATES_WITH_ZONE_ID">WRITE_DATES_WITH_ZONE_ID</a></span></code> 194<div class="block">Override for <code>SerializationFeature.WRITE_DATES_WITH_ZONE_ID</code>, 195 similar constraints apply.</div> 196</td> 197</tr> 198<tr class="altColor"> 199<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED">WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</a></span></code> 200<div class="block">Override for <code>SerializationFeature.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</code> 201 which will force serialization of single-element arrays and <a href="https://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>s 202 as that single element and excluding array wrapper.</div> 203</td> 204</tr> 205<tr class="rowColor"> 206<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#WRITE_SORTED_MAP_ENTRIES">WRITE_SORTED_MAP_ENTRIES</a></span></code> 207<div class="block">Override for <code>SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS</code>, 208 enabling of which will force sorting of <a href="https://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> keys before 209 serialization.</div> 210</td> 211</tr> 212</table> 213</li> 214</ul> 215<!-- ========== METHOD SUMMARY =========== --> 216<ul class="blockList"> 217<li class="blockList"><a name="method.summary"> 218<!-- --> 219</a> 220<h3>Method Summary</h3> 221<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 222<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> 223<tr> 224<th class="colFirst" scope="col">Modifier and Type</th> 225<th class="colLast" scope="col">Method and Description</th> 226</tr> 227<tr id="i0" class="altColor"> 228<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a></code></td> 229<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="https://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> 230<div class="block">Returns the enum constant of this type with the specified name.</div> 231</td> 232</tr> 233<tr id="i1" class="rowColor"> 234<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>[]</code></td> 235<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#values--">values</a></span>()</code> 236<div class="block">Returns an array containing the constants of this enum type, in 237the order they are declared.</div> 238</td> 239</tr> 240</table> 241<ul class="blockList"> 242<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum"> 243<!-- --> 244</a> 245<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3> 246<code><a href="https://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="https://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="https://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="https://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="https://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="https://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="https://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="https://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="https://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="https://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> 247</ul> 248<ul class="blockList"> 249<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 250<!-- --> 251</a> 252<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 253<code><a href="https://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="https://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="https://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="https://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="https://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="https://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> 254</ul> 255</li> 256</ul> 257</li> 258</ul> 259</div> 260<div class="details"> 261<ul class="blockList"> 262<li class="blockList"> 263<!-- ============ ENUM CONSTANT DETAIL =========== --> 264<ul class="blockList"> 265<li class="blockList"><a name="enum.constant.detail"> 266<!-- --> 267</a> 268<h3>Enum Constant Detail</h3> 269<a name="ACCEPT_SINGLE_VALUE_AS_ARRAY"> 270<!-- --> 271</a> 272<ul class="blockList"> 273<li class="blockList"> 274<h4>ACCEPT_SINGLE_VALUE_AS_ARRAY</h4> 275<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> ACCEPT_SINGLE_VALUE_AS_ARRAY</pre> 276<div class="block">Override for <code>DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY</code> 277 which will allow deserialization of JSON non-array values into single-element 278 Java arrays and <a href="https://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>s.</div> 279</li> 280</ul> 281<a name="ACCEPT_CASE_INSENSITIVE_PROPERTIES"> 282<!-- --> 283</a> 284<ul class="blockList"> 285<li class="blockList"> 286<h4>ACCEPT_CASE_INSENSITIVE_PROPERTIES</h4> 287<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> ACCEPT_CASE_INSENSITIVE_PROPERTIES</pre> 288<div class="block">Override for <code>MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES</code>, 289 which allows case-insensitive matching of property names (but NOT values, 290 see <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#ACCEPT_CASE_INSENSITIVE_VALUES"><code>ACCEPT_CASE_INSENSITIVE_VALUES</code></a> for that). 291<p> 292 Only affects deserialization, has no effect on serialization.</div> 293<dl> 294<dt><span class="simpleTagLabel">Since:</span></dt> 295<dd>2.8</dd> 296</dl> 297</li> 298</ul> 299<a name="ACCEPT_CASE_INSENSITIVE_VALUES"> 300<!-- --> 301</a> 302<ul class="blockList"> 303<li class="blockList"> 304<h4>ACCEPT_CASE_INSENSITIVE_VALUES</h4> 305<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> ACCEPT_CASE_INSENSITIVE_VALUES</pre> 306<div class="block">Override for <code>MapperFeature.ACCEPT_CASE_INSENSITIVE_VALUES</code>, 307 which allows case-sensitive matching of (some) property values, such 308 as <code>Enum</code>s. 309 Only affects deserialization, has no effect on serialization.</div> 310<dl> 311<dt><span class="simpleTagLabel">Since:</span></dt> 312<dd>2.10</dd> 313</dl> 314</li> 315</ul> 316<a name="WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS"> 317<!-- --> 318</a> 319<ul class="blockList"> 320<li class="blockList"> 321<h4>WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</h4> 322<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</pre> 323<div class="block">Override for <code>SerializationFeature.WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</code>, 324 similar constraints apply.</div> 325</li> 326</ul> 327<a name="WRITE_DATES_WITH_ZONE_ID"> 328<!-- --> 329</a> 330<ul class="blockList"> 331<li class="blockList"> 332<h4>WRITE_DATES_WITH_ZONE_ID</h4> 333<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> WRITE_DATES_WITH_ZONE_ID</pre> 334<div class="block">Override for <code>SerializationFeature.WRITE_DATES_WITH_ZONE_ID</code>, 335 similar constraints apply.</div> 336</li> 337</ul> 338<a name="WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED"> 339<!-- --> 340</a> 341<ul class="blockList"> 342<li class="blockList"> 343<h4>WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</h4> 344<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</pre> 345<div class="block">Override for <code>SerializationFeature.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</code> 346 which will force serialization of single-element arrays and <a href="https://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>s 347 as that single element and excluding array wrapper.</div> 348</li> 349</ul> 350<a name="WRITE_SORTED_MAP_ENTRIES"> 351<!-- --> 352</a> 353<ul class="blockList"> 354<li class="blockList"> 355<h4>WRITE_SORTED_MAP_ENTRIES</h4> 356<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> WRITE_SORTED_MAP_ENTRIES</pre> 357<div class="block">Override for <code>SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS</code>, 358 enabling of which will force sorting of <a href="https://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> keys before 359 serialization.</div> 360</li> 361</ul> 362<a name="ADJUST_DATES_TO_CONTEXT_TIME_ZONE"> 363<!-- --> 364</a> 365<ul class="blockListLast"> 366<li class="blockList"> 367<h4>ADJUST_DATES_TO_CONTEXT_TIME_ZONE</h4> 368<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> ADJUST_DATES_TO_CONTEXT_TIME_ZONE</pre> 369<div class="block">Override for <code>DeserializationFeature.ADJUST_DATES_TO_CONTEXT_TIMEZONE</code> 370 that specifies whether context provided timezone 371 <code>DeserializationContext.getTimeZone()</code> should be used to adjust Date/Time 372 values on deserialization, even if value itself contains timezone informatio 373<p> 374 NOTE: due to limitations of "old" JDK date/time types (that is, 375 <a href="https://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> and <a href="https://docs.oracle.com/javase/6/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util"><code>Calendar</code></a>), this setting is only 376 applicable to <code>Joda</code> and <code>Java 8 date/time</code> values, 377 but not to <code>java.util.Date</code> or <code>java.util.Calendar</code>.</div> 378<dl> 379<dt><span class="simpleTagLabel">Since:</span></dt> 380<dd>2.8</dd> 381</dl> 382</li> 383</ul> 384</li> 385</ul> 386<!-- ============ METHOD DETAIL ========== --> 387<ul class="blockList"> 388<li class="blockList"><a name="method.detail"> 389<!-- --> 390</a> 391<h3>Method Detail</h3> 392<a name="values--"> 393<!-- --> 394</a> 395<ul class="blockList"> 396<li class="blockList"> 397<h4>values</h4> 398<pre>public static <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>[] values()</pre> 399<div class="block">Returns an array containing the constants of this enum type, in 400the order they are declared. This method may be used to iterate 401over the constants as follows: 402<pre> 403for (JsonFormat.Feature c : JsonFormat.Feature.values()) 404 System.out.println(c); 405</pre></div> 406<dl> 407<dt><span class="returnLabel">Returns:</span></dt> 408<dd>an array containing the constants of this enum type, in the order they are declared</dd> 409</dl> 410</li> 411</ul> 412<a name="valueOf-java.lang.String-"> 413<!-- --> 414</a> 415<ul class="blockListLast"> 416<li class="blockList"> 417<h4>valueOf</h4> 418<pre>public static <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> valueOf(<a href="https://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> 419<div class="block">Returns the enum constant of this type with the specified name. 420The string must match <i>exactly</i> an identifier used to declare an 421enum constant in this type. (Extraneous whitespace characters are 422not permitted.)</div> 423<dl> 424<dt><span class="paramLabel">Parameters:</span></dt> 425<dd><code>name</code> - the name of the enum constant to be returned.</dd> 426<dt><span class="returnLabel">Returns:</span></dt> 427<dd>the enum constant with the specified name</dd> 428<dt><span class="throwsLabel">Throws:</span></dt> 429<dd><code><a href="https://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 with the specified name</dd> 430<dd><code><a href="https://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> 431</dl> 432</li> 433</ul> 434</li> 435</ul> 436</li> 437</ul> 438</div> 439</div> 440<!-- ========= END OF CLASS DATA ========= --> 441<!-- ======= START OF BOTTOM NAVBAR ====== --> 442<div class="bottomNav"><a name="navbar.bottom"> 443<!-- --> 444</a> 445<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 446<a name="navbar.bottom.firstrow"> 447<!-- --> 448</a> 449<ul class="navList" title="Navigation"> 450<li><a href="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li> 451<li class="navBarCell1Rev">Class</li> 452<li><a href="class-use/JsonFormat.Feature.html">Use</a></li> 453<li><a href="package-tree.html">Tree</a></li> 454<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 455<li><a href="../../../../index-all.html">Index</a></li> 456<li><a href="../../../../help-doc.html">Help</a></li> 457</ul> 458</div> 459<div class="subNav"> 460<ul class="navList"> 461<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation"><span class="typeNameLink">Prev Class</span></a></li> 462<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Features.html" title="class in com.fasterxml.jackson.annotation"><span class="typeNameLink">Next Class</span></a></li> 463</ul> 464<ul class="navList"> 465<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.Feature.html" target="_top">Frames</a></li> 466<li><a href="JsonFormat.Feature.html" target="_top">No Frames</a></li> 467</ul> 468<ul class="navList" id="allclasses_navbar_bottom"> 469<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 470</ul> 471<div> 472<script type="text/javascript"><!-- 473 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 474 if(window==top) { 475 allClassesLink.style.display = "block"; 476 } 477 else { 478 allClassesLink.style.display = "none"; 479 } 480 //--> 481</script> 482</div> 483<div> 484<ul class="subNavList"> 485<li>Summary: </li> 486<li>Nested | </li> 487<li><a href="#enum.constant.summary">Enum Constants</a> | </li> 488<li>Field | </li> 489<li><a href="#method.summary">Method</a></li> 490</ul> 491<ul class="subNavList"> 492<li>Detail: </li> 493<li><a href="#enum.constant.detail">Enum Constants</a> | </li> 494<li>Field | </li> 495<li><a href="#method.detail">Method</a></li> 496</ul> 497</div> 498<a name="skip.navbar.bottom"> 499<!-- --> 500</a></div> 501<!-- ======== END OF BOTTOM NAVBAR ======= --> 502<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 503</body> 504</html> 505