• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_79) on Tue Jan 23 20:10:06 PST 2018 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>JsonFormat.Feature (Jackson-annotations 2.9.0 API)</title>
8<meta name="date" content="2018-01-23">
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="JsonFormat.Feature (Jackson-annotations 2.9.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="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li>
29<li class="navBarCell1Rev">Class</li>
30<li><a href="class-use/JsonFormat.Feature.html">Use</a></li>
31<li><a href="package-tree.html">Tree</a></li>
32<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
33<li><a href="../../../../index-all.html">Index</a></li>
34<li><a href="../../../../help-doc.html">Help</a></li>
35</ul>
36</div>
37<div class="subNav">
38<ul class="navList">
39<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation"><span class="strong">Prev Class</span></a></li>
40<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Features.html" title="class in com.fasterxml.jackson.annotation"><span class="strong">Next Class</span></a></li>
41</ul>
42<ul class="navList">
43<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.Feature.html" target="_top">Frames</a></li>
44<li><a href="JsonFormat.Feature.html" target="_top">No Frames</a></li>
45</ul>
46<ul class="navList" id="allclasses_navbar_top">
47<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
48</ul>
49<div>
50<script type="text/javascript"><!--
51  allClassesLink = document.getElementById("allclasses_navbar_top");
52  if(window==top) {
53    allClassesLink.style.display = "block";
54  }
55  else {
56    allClassesLink.style.display = "none";
57  }
58  //-->
59</script>
60</div>
61<div>
62<ul class="subNavList">
63<li>Summary:&nbsp;</li>
64<li>Nested&nbsp;|&nbsp;</li>
65<li><a href="#enum_constant_summary">Enum Constants</a>&nbsp;|&nbsp;</li>
66<li>Field&nbsp;|&nbsp;</li>
67<li><a href="#method_summary">Method</a></li>
68</ul>
69<ul class="subNavList">
70<li>Detail:&nbsp;</li>
71<li><a href="#enum_constant_detail">Enum Constants</a>&nbsp;|&nbsp;</li>
72<li>Field&nbsp;|&nbsp;</li>
73<li><a href="#method_detail">Method</a></li>
74</ul>
75</div>
76<a name="skip-navbar_top">
77<!--   -->
78</a></div>
79<!-- ========= END OF TOP NAVBAR ========= -->
80<!-- ======== START OF CLASS DATA ======== -->
81<div class="header">
82<div class="subTitle">com.fasterxml.jackson.annotation</div>
83<h2 title="Enum JsonFormat.Feature" class="title">Enum JsonFormat.Feature</h2>
84</div>
85<div class="contentContainer">
86<ul class="inheritance">
87<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>
88<li>
89<ul class="inheritance">
90<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>&lt;<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>&gt;</li>
91<li>
92<ul class="inheritance">
93<li>com.fasterxml.jackson.annotation.JsonFormat.Feature</li>
94</ul>
95</li>
96</ul>
97</li>
98</ul>
99<div class="description">
100<ul class="blockList">
101<li class="blockList">
102<dl>
103<dt>All Implemented Interfaces:</dt>
104<dd><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>&lt;<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>&gt;</dd>
105</dl>
106<dl>
107<dt>Enclosing class:</dt>
108<dd><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation">JsonFormat</a></dd>
109</dl>
110<hr>
111<br>
112<pre>public static enum <span class="strong">JsonFormat.Feature</span>
113extends <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>&lt;<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>&gt;</pre>
114<div class="block">Set of features that can be enabled/disabled for property annotated.
115 These often relate to specific <code>SerializationFeature</code>
116 or <code>DeserializationFeature</code>, as noted by entries.
117<p>
118 Note that whether specific setting has an effect depends on whether
119 <code>JsonSerializer</code> / <code>JsonDeserializer</code> being used
120 takes the format setting into account. If not, please file an issue
121 for adding support via issue tracker for package that has handlers
122 (if you know which one; if not, just use `jackson-databind`).</div>
123<dl><dt><span class="strong">Since:</span></dt>
124  <dd>2.6</dd></dl>
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">&nbsp;</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/annotation/JsonFormat.Feature.html#ACCEPT_CASE_INSENSITIVE_PROPERTIES">ACCEPT_CASE_INSENSITIVE_PROPERTIES</a></strong></code>
144<div class="block">Override for <code>MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES</code>.</div>
145</td>
146</tr>
147<tr class="rowColor">
148<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#ACCEPT_SINGLE_VALUE_AS_ARRAY">ACCEPT_SINGLE_VALUE_AS_ARRAY</a></strong></code>
149<div class="block">Override for <code>DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY</code>
150 which will allow deserialization of JSON non-array values into single-element
151 Java arrays and <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>s.</div>
152</td>
153</tr>
154<tr class="altColor">
155<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#ADJUST_DATES_TO_CONTEXT_TIME_ZONE">ADJUST_DATES_TO_CONTEXT_TIME_ZONE</a></strong></code>
156<div class="block">Override for <code>DeserializationFeature.ADJUST_DATES_TO_CONTEXT_TIMEZONE</code>
157 that specifies whether context provided timezone
158 <code>DeserializationContext.getTimeZone()</code> should be used to adjust Date/Time
159 values on deserialization, even if value itself contains timezone informatio</div>
160</td>
161</tr>
162<tr class="rowColor">
163<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS">WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</a></strong></code>
164<div class="block">Override for <code>SerializationFeature.WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</code>,
165 similar constraints apply.</div>
166</td>
167</tr>
168<tr class="altColor">
169<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#WRITE_DATES_WITH_ZONE_ID">WRITE_DATES_WITH_ZONE_ID</a></strong></code>
170<div class="block">Override for <code>SerializationFeature.WRITE_DATES_WITH_ZONE_ID</code>,
171 similar constraints apply.</div>
172</td>
173</tr>
174<tr class="rowColor">
175<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED">WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</a></strong></code>
176<div class="block">Override for <code>SerializationFeature.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</code>
177 which will force serialization of single-element arrays and <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>s
178 as that single element and excluding array wrapper.</div>
179</td>
180</tr>
181<tr class="altColor">
182<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#WRITE_SORTED_MAP_ENTRIES">WRITE_SORTED_MAP_ENTRIES</a></strong></code>
183<div class="block">Override for <code>SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS</code>,
184 enabling of which will force sorting of <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> keys before
185 serialization.</div>
186</td>
187</tr>
188</table>
189</li>
190</ul>
191<!-- ========== METHOD SUMMARY =========== -->
192<ul class="blockList">
193<li class="blockList"><a name="method_summary">
194<!--   -->
195</a>
196<h3>Method Summary</h3>
197<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
198<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
199<tr>
200<th class="colFirst" scope="col">Modifier and Type</th>
201<th class="colLast" scope="col">Method and Description</th>
202</tr>
203<tr class="altColor">
204<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>
205<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.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>&nbsp;name)</code>
206<div class="block">Returns the enum constant of this type with the specified name.</div>
207</td>
208</tr>
209<tr class="rowColor">
210<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>
211<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html#values()">values</a></strong>()</code>
212<div class="block">Returns an array containing the constants of this enum type, in
213the order they are declared.</div>
214</td>
215</tr>
216</table>
217<ul class="blockList">
218<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum">
219<!--   -->
220</a>
221<h3>Methods inherited from class&nbsp;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>
222<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,%20java.lang.String)" title="class or interface in java.lang">valueOf</a></code></li>
223</ul>
224<ul class="blockList">
225<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
226<!--   -->
227</a>
228<h3>Methods inherited from class&nbsp;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>
229<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,%20int)" title="class or interface in java.lang">wait</a></code></li>
230</ul>
231</li>
232</ul>
233</li>
234</ul>
235</div>
236<div class="details">
237<ul class="blockList">
238<li class="blockList">
239<!-- ============ ENUM CONSTANT DETAIL =========== -->
240<ul class="blockList">
241<li class="blockList"><a name="enum_constant_detail">
242<!--   -->
243</a>
244<h3>Enum Constant Detail</h3>
245<a name="ACCEPT_SINGLE_VALUE_AS_ARRAY">
246<!--   -->
247</a>
248<ul class="blockList">
249<li class="blockList">
250<h4>ACCEPT_SINGLE_VALUE_AS_ARRAY</h4>
251<pre>public static final&nbsp;<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>
252<div class="block">Override for <code>DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY</code>
253 which will allow deserialization of JSON non-array values into single-element
254 Java arrays and <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>s.</div>
255</li>
256</ul>
257<a name="ACCEPT_CASE_INSENSITIVE_PROPERTIES">
258<!--   -->
259</a>
260<ul class="blockList">
261<li class="blockList">
262<h4>ACCEPT_CASE_INSENSITIVE_PROPERTIES</h4>
263<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> ACCEPT_CASE_INSENSITIVE_PROPERTIES</pre>
264<div class="block">Override for <code>MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES</code>.
265 Only affects deserialization, has no effect on serialization.
266<p>
267 NOTE: starting with 2.9 can also effect Enum handling (and potentially other
268 places where case-insensitive property values are accepted).</div>
269<dl><dt><span class="strong">Since:</span></dt>
270  <dd>2.8</dd></dl>
271</li>
272</ul>
273<a name="WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS">
274<!--   -->
275</a>
276<ul class="blockList">
277<li class="blockList">
278<h4>WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</h4>
279<pre>public static final&nbsp;<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>
280<div class="block">Override for <code>SerializationFeature.WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</code>,
281 similar constraints apply.</div>
282</li>
283</ul>
284<a name="WRITE_DATES_WITH_ZONE_ID">
285<!--   -->
286</a>
287<ul class="blockList">
288<li class="blockList">
289<h4>WRITE_DATES_WITH_ZONE_ID</h4>
290<pre>public static final&nbsp;<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>
291<div class="block">Override for <code>SerializationFeature.WRITE_DATES_WITH_ZONE_ID</code>,
292 similar constraints apply.</div>
293</li>
294</ul>
295<a name="WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED">
296<!--   -->
297</a>
298<ul class="blockList">
299<li class="blockList">
300<h4>WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</h4>
301<pre>public static final&nbsp;<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>
302<div class="block">Override for <code>SerializationFeature.WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</code>
303 which will force serialization of single-element arrays and <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>s
304 as that single element and excluding array wrapper.</div>
305</li>
306</ul>
307<a name="WRITE_SORTED_MAP_ENTRIES">
308<!--   -->
309</a>
310<ul class="blockList">
311<li class="blockList">
312<h4>WRITE_SORTED_MAP_ENTRIES</h4>
313<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a> WRITE_SORTED_MAP_ENTRIES</pre>
314<div class="block">Override for <code>SerializationFeature.ORDER_MAP_ENTRIES_BY_KEYS</code>,
315 enabling of which will force sorting of <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> keys before
316 serialization.</div>
317</li>
318</ul>
319<a name="ADJUST_DATES_TO_CONTEXT_TIME_ZONE">
320<!--   -->
321</a>
322<ul class="blockListLast">
323<li class="blockList">
324<h4>ADJUST_DATES_TO_CONTEXT_TIME_ZONE</h4>
325<pre>public static final&nbsp;<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>
326<div class="block">Override for <code>DeserializationFeature.ADJUST_DATES_TO_CONTEXT_TIMEZONE</code>
327 that specifies whether context provided timezone
328 <code>DeserializationContext.getTimeZone()</code> should be used to adjust Date/Time
329 values on deserialization, even if value itself contains timezone informatio
330<p>
331 NOTE: due to limitations of "old" JDK date/time types (that is,
332 <a href="http://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="http://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
333 applicable to <code>Joda</code> and <code>Java 8 date/time</code> values,
334 but not to <code>java.util.Date</code> or <code>java.util.Calendar</code>.</div>
335<dl><dt><span class="strong">Since:</span></dt>
336  <dd>2.8</dd></dl>
337</li>
338</ul>
339</li>
340</ul>
341<!-- ============ METHOD DETAIL ========== -->
342<ul class="blockList">
343<li class="blockList"><a name="method_detail">
344<!--   -->
345</a>
346<h3>Method Detail</h3>
347<a name="values()">
348<!--   -->
349</a>
350<ul class="blockList">
351<li class="blockList">
352<h4>values</h4>
353<pre>public static&nbsp;<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>[]&nbsp;values()</pre>
354<div class="block">Returns an array containing the constants of this enum type, in
355the order they are declared.  This method may be used to iterate
356over the constants as follows:
357<pre>
358for (JsonFormat.Feature c : JsonFormat.Feature.values())
359&nbsp;   System.out.println(c);
360</pre></div>
361<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in the order they are declared</dd></dl>
362</li>
363</ul>
364<a name="valueOf(java.lang.String)">
365<!--   -->
366</a>
367<ul class="blockListLast">
368<li class="blockList">
369<h4>valueOf</h4>
370<pre>public static&nbsp;<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>&nbsp;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>&nbsp;name)</pre>
371<div class="block">Returns the enum constant of this type with the specified name.
372The string must match <i>exactly</i> an identifier used to declare an
373enum constant in this type.  (Extraneous whitespace characters are
374not permitted.)</div>
375<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd>
376<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd>
377<dt><span class="strong">Throws:</span></dt>
378<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 with the specified name</dd>
379<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>
380</li>
381</ul>
382</li>
383</ul>
384</li>
385</ul>
386</div>
387</div>
388<!-- ========= END OF CLASS DATA ========= -->
389<!-- ======= START OF BOTTOM NAVBAR ====== -->
390<div class="bottomNav"><a name="navbar_bottom">
391<!--   -->
392</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
393<!--   -->
394</a>
395<ul class="navList" title="Navigation">
396<li><a href="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li>
397<li class="navBarCell1Rev">Class</li>
398<li><a href="class-use/JsonFormat.Feature.html">Use</a></li>
399<li><a href="package-tree.html">Tree</a></li>
400<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
401<li><a href="../../../../index-all.html">Index</a></li>
402<li><a href="../../../../help-doc.html">Help</a></li>
403</ul>
404</div>
405<div class="subNav">
406<ul class="navList">
407<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation"><span class="strong">Prev Class</span></a></li>
408<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Features.html" title="class in com.fasterxml.jackson.annotation"><span class="strong">Next Class</span></a></li>
409</ul>
410<ul class="navList">
411<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.Feature.html" target="_top">Frames</a></li>
412<li><a href="JsonFormat.Feature.html" target="_top">No Frames</a></li>
413</ul>
414<ul class="navList" id="allclasses_navbar_bottom">
415<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
416</ul>
417<div>
418<script type="text/javascript"><!--
419  allClassesLink = document.getElementById("allclasses_navbar_bottom");
420  if(window==top) {
421    allClassesLink.style.display = "block";
422  }
423  else {
424    allClassesLink.style.display = "none";
425  }
426  //-->
427</script>
428</div>
429<div>
430<ul class="subNavList">
431<li>Summary:&nbsp;</li>
432<li>Nested&nbsp;|&nbsp;</li>
433<li><a href="#enum_constant_summary">Enum Constants</a>&nbsp;|&nbsp;</li>
434<li>Field&nbsp;|&nbsp;</li>
435<li><a href="#method_summary">Method</a></li>
436</ul>
437<ul class="subNavList">
438<li>Detail:&nbsp;</li>
439<li><a href="#enum_constant_detail">Enum Constants</a>&nbsp;|&nbsp;</li>
440<li>Field&nbsp;|&nbsp;</li>
441<li><a href="#method_detail">Method</a></li>
442</ul>
443</div>
444<a name="skip-navbar_bottom">
445<!--   -->
446</a></div>
447<!-- ======== END OF BOTTOM NAVBAR ======= -->
448<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2018 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
449</body>
450</html>
451