• Home
  • History
  • Annotate
  • 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_10-ea) on Sun Jul 14 20:03:27 PDT 2013 -->
6<title>SerializationConfig.Feature (Jackson JSON Processor)</title>
7<meta name="date" content="2013-07-14">
8<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
9</head>
10<body>
11<script type="text/javascript"><!--
12    if (location.href.indexOf('is-external=true') == -1) {
13        parent.document.title="SerializationConfig.Feature (Jackson JSON Processor)";
14    }
15//-->
16</script>
17<noscript>
18<div>JavaScript is disabled on your browser.</div>
19</noscript>
20<!-- ========= START OF TOP NAVBAR ======= -->
21<div class="topNav"><a name="navbar_top">
22<!--   -->
23</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
24<!--   -->
25</a>
26<ul class="navList" title="Navigation">
27<li><a href="../../../../overview-summary.html">Overview</a></li>
28<li><a href="package-summary.html">Package</a></li>
29<li class="navBarCell1Rev">Class</li>
30<li><a href="class-use/SerializationConfig.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="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map"><span class="strong">Prev Class</span></a></li>
40<li><a href="../../../../org/codehaus/jackson/map/SerializerFactory.html" title="class in org.codehaus.jackson.map"><span class="strong">Next Class</span></a></li>
41</ul>
42<ul class="navList">
43<li><a href="../../../../index.html?org/codehaus/jackson/map/SerializationConfig.Feature.html" target="_top">Frames</a></li>
44<li><a href="SerializationConfig.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">org.codehaus.jackson.map</div>
83<h2 title="Enum SerializationConfig.Feature" class="title">Enum SerializationConfig.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="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a>&gt;</li>
91<li>
92<ul class="inheritance">
93<li>org.codehaus.jackson.map.SerializationConfig.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="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a>&gt;, <a href="../../../../org/codehaus/jackson/map/MapperConfig.ConfigFeature.html" title="interface in org.codehaus.jackson.map">MapperConfig.ConfigFeature</a></dd>
105</dl>
106<dl>
107<dt>Enclosing class:</dt>
108<dd><a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map">SerializationConfig</a></dd>
109</dl>
110<hr>
111<br>
112<pre>public static enum <span class="strong">SerializationConfig.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="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a>&gt;
114implements <a href="../../../../org/codehaus/jackson/map/MapperConfig.ConfigFeature.html" title="interface in org.codehaus.jackson.map">MapperConfig.ConfigFeature</a></pre>
115<div class="block">Enumeration that defines togglable features that guide
116 the serialization feature.</div>
117</li>
118</ul>
119</div>
120<div class="summary">
121<ul class="blockList">
122<li class="blockList">
123<!-- =========== ENUM CONSTANT SUMMARY =========== -->
124<ul class="blockList">
125<li class="blockList"><a name="enum_constant_summary">
126<!--   -->
127</a>
128<h3>Enum Constant Summary</h3>
129<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
130<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
131<tr>
132<th class="colOne" scope="col">Enum Constant and Description</th>
133</tr>
134<tr class="altColor">
135<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#AUTO_DETECT_FIELDS">AUTO_DETECT_FIELDS</a></strong></code>
136<div class="block">Feature that determines whether non-static fields are recognized as
137 properties.</div>
138</td>
139</tr>
140<tr class="rowColor">
141<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#AUTO_DETECT_GETTERS">AUTO_DETECT_GETTERS</a></strong></code>
142<div class="block">Feature that determines whether regualr "getter" methods are
143 automatically detected based on standard Bean naming convention
144 or not.</div>
145</td>
146</tr>
147<tr class="altColor">
148<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#AUTO_DETECT_IS_GETTERS">AUTO_DETECT_IS_GETTERS</a></strong></code>
149<div class="block">Feature that determines whether "is getter" methods are
150 automatically detected based on standard Bean naming convention
151 or not.</div>
152</td>
153</tr>
154<tr class="rowColor">
155<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#CAN_OVERRIDE_ACCESS_MODIFIERS">CAN_OVERRIDE_ACCESS_MODIFIERS</a></strong></code>
156<div class="block">Feature that determines whether method and field access
157 modifier settings can be overridden when accessing
158 properties.</div>
159</td>
160</tr>
161<tr class="altColor">
162<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#CLOSE_CLOSEABLE">CLOSE_CLOSEABLE</a></strong></code>
163<div class="block">Feature that determines whether <code>close</code> method of
164 serialized <b>root level</b> objects (ones for which <code>ObjectMapper</code>'s
165 writeValue() (or equivalent) method is called)
166 that implement <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io"><code>Closeable</code></a>
167 is called after serialization or not.</div>
168</td>
169</tr>
170<tr class="rowColor">
171<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#DEFAULT_VIEW_INCLUSION">DEFAULT_VIEW_INCLUSION</a></strong></code>
172<div class="block">Feature that determines whether properties that have no view
173 annotations are included in JSON serialization views (see
174 <a href="../../../../org/codehaus/jackson/map/annotate/JsonView.html" title="annotation in org.codehaus.jackson.map.annotate"><code>JsonView</code></a> for more
175 details on JSON Views).</div>
176</td>
177</tr>
178<tr class="altColor">
179<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#FAIL_ON_EMPTY_BEANS">FAIL_ON_EMPTY_BEANS</a></strong></code>
180<div class="block">Feature that determines what happens when no accessors are
181 found for a type (and there are no annotations to indicate
182 it is meant to be serialized).</div>
183</td>
184</tr>
185<tr class="rowColor">
186<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#FLUSH_AFTER_WRITE_VALUE">FLUSH_AFTER_WRITE_VALUE</a></strong></code>
187<div class="block">Feature that determines whether <code>JsonGenerator.flush()</code> is
188 called after <code>writeValue()</code> method <b>that takes JsonGenerator
189 as an argument</b> completes (i.e.</div>
190</td>
191</tr>
192<tr class="altColor">
193<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#INDENT_OUTPUT">INDENT_OUTPUT</a></strong></code>
194<div class="block">Feature that allows enabling (or disabling) indentation
195 for the underlying generator, using the default pretty
196 printer (see
197 <a href="../../../../org/codehaus/jackson/JsonGenerator.html#useDefaultPrettyPrinter()"><code>JsonGenerator.useDefaultPrettyPrinter()</code></a>
198 for details).</div>
199</td>
200</tr>
201<tr class="rowColor">
202<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#REQUIRE_SETTERS_FOR_GETTERS">REQUIRE_SETTERS_FOR_GETTERS</a></strong></code>
203<div class="block">Feature that determines whether getters (getter methods)
204 can be auto-detected if there is no matching mutator (setter,
205 constructor parameter or field) or not: if set to true,
206 only getters that match a mutator are auto-discovered; if
207 false, all auto-detectable getters can be discovered.</div>
208</td>
209</tr>
210<tr class="altColor">
211<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#SORT_PROPERTIES_ALPHABETICALLY">SORT_PROPERTIES_ALPHABETICALLY</a></strong></code>
212<div class="block">Feature that defines default property serialization order used
213 for POJO fields (note: does <b>not</b> apply to <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>
214 serialization!):
215 if enabled, default ordering is alphabetic (similar to
216 how <a href="../../../../org/codehaus/jackson/annotate/JsonPropertyOrder.html#alphabetic()"><code>JsonPropertyOrder.alphabetic()</code></a>
217 works); if disabled, order is unspecified (based on what JDK gives
218 us, which may be declaration order, but not guaranteed).</div>
219</td>
220</tr>
221<tr class="rowColor">
222<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#USE_ANNOTATIONS">USE_ANNOTATIONS</a></strong></code>
223<div class="block">Feature that determines whether annotation introspection
224 is used for configuration; if enabled, configured
225 <a href="../../../../org/codehaus/jackson/map/AnnotationIntrospector.html" title="class in org.codehaus.jackson.map"><code>AnnotationIntrospector</code></a> will be used: if disabled,
226 no annotations are considered.</div>
227</td>
228</tr>
229<tr class="altColor">
230<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#USE_STATIC_TYPING">USE_STATIC_TYPING</a></strong></code>
231<div class="block">Feature that determines whether the type detection for
232 serialization should be using actual dynamic runtime type,
233 or declared static type.</div>
234</td>
235</tr>
236<tr class="rowColor">
237<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRAP_EXCEPTIONS">WRAP_EXCEPTIONS</a></strong></code>
238<div class="block">Feature that determines whether Jackson code should catch
239 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!)
240 to add additional information about
241 location (within input) of problem or not.</div>
242</td>
243</tr>
244<tr class="altColor">
245<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRAP_ROOT_VALUE">WRAP_ROOT_VALUE</a></strong></code>
246<div class="block">Feature that can be enabled to make root value (usually JSON
247 Object but can be any type) wrapped within a single property
248 JSON object, where key as the "root name", as determined by
249 annotation introspector (esp.</div>
250</td>
251</tr>
252<tr class="rowColor">
253<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS">WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS</a></strong></code>
254<div class="block">Feature that determines how type <code>char[]</code> is serialized:
255 when enabled, will be serialized as an explict JSON array (with
256 single-character Strings as values); when disabled, defaults to
257 serializing them as Strings (which is more compact).</div>
258</td>
259</tr>
260<tr class="altColor">
261<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS">WRITE_DATE_KEYS_AS_TIMESTAMPS</a></strong></code>
262<div class="block">Feature that determines whether <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>s
263 (and sub-types) used as <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 are serialized
264 as timestamps or not (if not, will be serialized as textual
265 values).</div>
266</td>
267</tr>
268<tr class="rowColor">
269<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_DATES_AS_TIMESTAMPS">WRITE_DATES_AS_TIMESTAMPS</a></strong></code>
270<div class="block">Feature that determines whether <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> values
271 (and Date-based things like <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>s) are to be
272 serialized as numeric timestamps (true; the default),
273 or as something else (usually textual representation).</div>
274</td>
275</tr>
276<tr class="altColor">
277<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_EMPTY_JSON_ARRAYS">WRITE_EMPTY_JSON_ARRAYS</a></strong></code>
278<div class="block">Feature that determines whether Container properties (POJO properties
279 with declared value of Collection or array; i.e.</div>
280</td>
281</tr>
282<tr class="rowColor">
283<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_ENUMS_USING_INDEX">WRITE_ENUMS_USING_INDEX</a></strong></code>
284<div class="block">Feature that determines whethere Java Enum values are serialized
285 as numbers (true), or textual values (false).</div>
286</td>
287</tr>
288<tr class="altColor">
289<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_ENUMS_USING_TO_STRING">WRITE_ENUMS_USING_TO_STRING</a></strong></code>
290<div class="block">Feature that determines standard serialization mechanism used for
291 Enum values: if enabled, return value of <code>Enum.toString()</code>
292 is used; if disabled, return value of <code>Enum.name()</code> is used.</div>
293</td>
294</tr>
295<tr class="rowColor">
296<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_NULL_MAP_VALUES">WRITE_NULL_MAP_VALUES</a></strong></code>
297<div class="block">Feature that determines whether Map entries with null values are
298 to be serialized (true) or not (false).</div>
299</td>
300</tr>
301<tr class="altColor">
302<td class="colOne"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_NULL_PROPERTIES">WRITE_NULL_PROPERTIES</a></strong></code>
303<div class="block"><strong>Deprecated.</strong>&nbsp;
304<div class="block"><i>As of 1.1, use <a href="../../../../org/codehaus/jackson/map/SerializationConfig.html#setSerializationInclusion(org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion)"><code>SerializationConfig.setSerializationInclusion(org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion)</code></a>
305    instead</i></div>
306</div>
307</td>
308</tr>
309</table>
310</li>
311</ul>
312<!-- ========== METHOD SUMMARY =========== -->
313<ul class="blockList">
314<li class="blockList"><a name="method_summary">
315<!--   -->
316</a>
317<h3>Method Summary</h3>
318<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
319<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
320<tr>
321<th class="colFirst" scope="col">Modifier and Type</th>
322<th class="colLast" scope="col">Method and Description</th>
323</tr>
324<tr class="altColor">
325<td class="colFirst"><code>boolean</code></td>
326<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#enabledByDefault()">enabledByDefault</a></strong>()</code>
327<div class="block">Accessor for checking whether this feature is enabled by default.</div>
328</td>
329</tr>
330<tr class="rowColor">
331<td class="colFirst"><code>int</code></td>
332<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#getMask()">getMask</a></strong>()</code>
333<div class="block">Returns bit mask for this feature instance</div>
334</td>
335</tr>
336<tr class="altColor">
337<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a></code></td>
338<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.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>
339<div class="block">Returns the enum constant of this type with the specified name.</div>
340</td>
341</tr>
342<tr class="rowColor">
343<td class="colFirst"><code>static <a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a>[]</code></td>
344<td class="colLast"><code><strong><a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#values()">values</a></strong>()</code>
345<div class="block">Returns an array containing the constants of this enum type, in
346the order they are declared.</div>
347</td>
348</tr>
349</table>
350<ul class="blockList">
351<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum">
352<!--   -->
353</a>
354<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>
355<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>
356</ul>
357<ul class="blockList">
358<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
359<!--   -->
360</a>
361<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>
362<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>
363</ul>
364</li>
365</ul>
366</li>
367</ul>
368</div>
369<div class="details">
370<ul class="blockList">
371<li class="blockList">
372<!-- ============ ENUM CONSTANT DETAIL =========== -->
373<ul class="blockList">
374<li class="blockList"><a name="enum_constant_detail">
375<!--   -->
376</a>
377<h3>Enum Constant Detail</h3>
378<a name="USE_ANNOTATIONS">
379<!--   -->
380</a>
381<ul class="blockList">
382<li class="blockList">
383<h4>USE_ANNOTATIONS</h4>
384<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> USE_ANNOTATIONS</pre>
385<div class="block">Feature that determines whether annotation introspection
386 is used for configuration; if enabled, configured
387 <a href="../../../../org/codehaus/jackson/map/AnnotationIntrospector.html" title="class in org.codehaus.jackson.map"><code>AnnotationIntrospector</code></a> will be used: if disabled,
388 no annotations are considered.
389<P>
390 Feature is enabled by default.</div>
391<dl><dt><span class="strong">Since:</span></dt>
392  <dd>1.2</dd></dl>
393</li>
394</ul>
395<a name="AUTO_DETECT_GETTERS">
396<!--   -->
397</a>
398<ul class="blockList">
399<li class="blockList">
400<h4>AUTO_DETECT_GETTERS</h4>
401<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> AUTO_DETECT_GETTERS</pre>
402<div class="block">Feature that determines whether regualr "getter" methods are
403 automatically detected based on standard Bean naming convention
404 or not. If yes, then all public zero-argument methods that
405 start with prefix "get"
406 are considered as getters.
407 If disabled, only methods explicitly  annotated are considered getters.
408<p>
409 Note that since version 1.3, this does <b>NOT</b> include
410 "is getters" (see <a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#AUTO_DETECT_IS_GETTERS"><code>AUTO_DETECT_IS_GETTERS</code></a> for details)
411<p>
412 Note that this feature has lower precedence than per-class
413 annotations, and is only used if there isn't more granular
414 configuration available.
415<P>
416 Feature is enabled by default.</div>
417</li>
418</ul>
419<a name="AUTO_DETECT_IS_GETTERS">
420<!--   -->
421</a>
422<ul class="blockList">
423<li class="blockList">
424<h4>AUTO_DETECT_IS_GETTERS</h4>
425<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> AUTO_DETECT_IS_GETTERS</pre>
426<div class="block">Feature that determines whether "is getter" methods are
427 automatically detected based on standard Bean naming convention
428 or not. If yes, then all public zero-argument methods that
429 start with prefix "is", and whose return type is boolean
430 are considered as "is getters".
431 If disabled, only methods explicitly annotated are considered getters.
432<p>
433 Note that this feature has lower precedence than per-class
434 annotations, and is only used if there isn't more granular
435 configuration available.
436<P>
437 Feature is enabled by default.</div>
438</li>
439</ul>
440<a name="AUTO_DETECT_FIELDS">
441<!--   -->
442</a>
443<ul class="blockList">
444<li class="blockList">
445<h4>AUTO_DETECT_FIELDS</h4>
446<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> AUTO_DETECT_FIELDS</pre>
447<div class="block">Feature that determines whether non-static fields are recognized as
448 properties.
449 If yes, then all public member fields
450 are considered as properties. If disabled, only fields explicitly
451 annotated are considered property fields.
452<p>
453 Note that this feature has lower precedence than per-class
454 annotations, and is only used if there isn't more granular
455 configuration available.
456<p>
457 Feature is enabled by default.</div>
458<dl><dt><span class="strong">Since:</span></dt>
459  <dd>1.1</dd></dl>
460</li>
461</ul>
462<a name="CAN_OVERRIDE_ACCESS_MODIFIERS">
463<!--   -->
464</a>
465<ul class="blockList">
466<li class="blockList">
467<h4>CAN_OVERRIDE_ACCESS_MODIFIERS</h4>
468<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> CAN_OVERRIDE_ACCESS_MODIFIERS</pre>
469<div class="block">Feature that determines whether method and field access
470 modifier settings can be overridden when accessing
471 properties. If enabled, method
472 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/AccessibleObject.html?is-external=true#setAccessible(java.lang.reflect.AccessibleObject[], boolean)" title="class or interface in java.lang.reflect"><code>AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)</code></a>
473 may be called to enable access to otherwise unaccessible
474 objects.
475<p>
476 Feature is enabled by default.</div>
477</li>
478</ul>
479<a name="REQUIRE_SETTERS_FOR_GETTERS">
480<!--   -->
481</a>
482<ul class="blockList">
483<li class="blockList">
484<h4>REQUIRE_SETTERS_FOR_GETTERS</h4>
485<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> REQUIRE_SETTERS_FOR_GETTERS</pre>
486<div class="block">Feature that determines whether getters (getter methods)
487 can be auto-detected if there is no matching mutator (setter,
488 constructor parameter or field) or not: if set to true,
489 only getters that match a mutator are auto-discovered; if
490 false, all auto-detectable getters can be discovered.
491<p>
492 Feature is disabled by default for backwards compatibility
493 reasons.</div>
494<dl><dt><span class="strong">Since:</span></dt>
495  <dd>1.9</dd></dl>
496</li>
497</ul>
498<a name="WRITE_NULL_PROPERTIES">
499<!--   -->
500</a>
501<ul class="blockList">
502<li class="blockList">
503<h4>WRITE_NULL_PROPERTIES</h4>
504<pre><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a>
505public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> WRITE_NULL_PROPERTIES</pre>
506<div class="block"><span class="strong">Deprecated.</span>&nbsp;<i>As of 1.1, use <a href="../../../../org/codehaus/jackson/map/SerializationConfig.html#setSerializationInclusion(org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion)"><code>SerializationConfig.setSerializationInclusion(org.codehaus.jackson.map.annotate.JsonSerialize.Inclusion)</code></a>
507    instead</i></div>
508<div class="block">Feature that determines the default settings of whether Bean
509 properties with null values are to be written out.
510<p>
511 Feature is enabled by default (null properties written).
512<p>
513 Note too that there is annotation
514 <a href="../../../../org/codehaus/jackson/annotate/JsonWriteNullProperties.html" title="annotation in org.codehaus.jackson.annotate"><code>JsonWriteNullProperties</code></a>
515 that can be used for more granular control (annotates bean
516 classes or individual property access methods).</div>
517</li>
518</ul>
519<a name="USE_STATIC_TYPING">
520<!--   -->
521</a>
522<ul class="blockList">
523<li class="blockList">
524<h4>USE_STATIC_TYPING</h4>
525<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> USE_STATIC_TYPING</pre>
526<div class="block">Feature that determines whether the type detection for
527 serialization should be using actual dynamic runtime type,
528 or declared static type.
529 Default value is false, to use dynamic runtime type.
530<p>
531 This global default value can be overridden at class, method
532 or field level by using <a href="../../../../org/codehaus/jackson/map/annotate/JsonSerialize.html#typing()"><code>JsonSerialize.typing()</code></a> annotation
533 property</div>
534</li>
535</ul>
536<a name="DEFAULT_VIEW_INCLUSION">
537<!--   -->
538</a>
539<ul class="blockList">
540<li class="blockList">
541<h4>DEFAULT_VIEW_INCLUSION</h4>
542<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> DEFAULT_VIEW_INCLUSION</pre>
543<div class="block">Feature that determines whether properties that have no view
544 annotations are included in JSON serialization views (see
545 <a href="../../../../org/codehaus/jackson/map/annotate/JsonView.html" title="annotation in org.codehaus.jackson.map.annotate"><code>JsonView</code></a> for more
546 details on JSON Views).
547 If enabled, non-annotated properties will be included;
548 when disabled, they will be excluded. So this feature
549 changes between "opt-in" (feature disabled) and
550 "opt-out" (feature enabled) modes.
551<p>
552 Default value is enabled, meaning that non-annotated
553 properties are included in all views if there is no
554 <a href="../../../../org/codehaus/jackson/map/annotate/JsonView.html" title="annotation in org.codehaus.jackson.map.annotate"><code>JsonView</code></a> annotation.</div>
555<dl><dt><span class="strong">Since:</span></dt>
556  <dd>1.5</dd></dl>
557</li>
558</ul>
559<a name="WRAP_ROOT_VALUE">
560<!--   -->
561</a>
562<ul class="blockList">
563<li class="blockList">
564<h4>WRAP_ROOT_VALUE</h4>
565<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> WRAP_ROOT_VALUE</pre>
566<div class="block">Feature that can be enabled to make root value (usually JSON
567 Object but can be any type) wrapped within a single property
568 JSON object, where key as the "root name", as determined by
569 annotation introspector (esp. for JAXB that uses
570 <code>@XmlRootElement.name</code>) or fallback (non-qualified
571 class name).
572 Feature is mostly intended for JAXB compatibility.
573<p>
574 Default setting is false, meaning root value is not wrapped.</div>
575<dl><dt><span class="strong">Since:</span></dt>
576  <dd>1.7</dd></dl>
577</li>
578</ul>
579<a name="INDENT_OUTPUT">
580<!--   -->
581</a>
582<ul class="blockList">
583<li class="blockList">
584<h4>INDENT_OUTPUT</h4>
585<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> INDENT_OUTPUT</pre>
586<div class="block">Feature that allows enabling (or disabling) indentation
587 for the underlying generator, using the default pretty
588 printer (see
589 <a href="../../../../org/codehaus/jackson/JsonGenerator.html#useDefaultPrettyPrinter()"><code>JsonGenerator.useDefaultPrettyPrinter()</code></a>
590 for details).
591<p>
592 Note that this only affects cases where
593 <a href="../../../../org/codehaus/jackson/JsonGenerator.html" title="class in org.codehaus.jackson"><code>JsonGenerator</code></a>
594 is constructed implicitly by ObjectMapper: if explicit
595 generator is passed, its configuration is not changed.
596<p>
597 Also note that if you want to configure details of indentation,
598 you need to directly configure the generator: there is a
599 method to use any <code>PrettyPrinter</code> instance.
600 This feature will only allow using the default implementation.</div>
601</li>
602</ul>
603<a name="SORT_PROPERTIES_ALPHABETICALLY">
604<!--   -->
605</a>
606<ul class="blockList">
607<li class="blockList">
608<h4>SORT_PROPERTIES_ALPHABETICALLY</h4>
609<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> SORT_PROPERTIES_ALPHABETICALLY</pre>
610<div class="block">Feature that defines default property serialization order used
611 for POJO fields (note: does <b>not</b> apply to <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>
612 serialization!):
613 if enabled, default ordering is alphabetic (similar to
614 how <a href="../../../../org/codehaus/jackson/annotate/JsonPropertyOrder.html#alphabetic()"><code>JsonPropertyOrder.alphabetic()</code></a>
615 works); if disabled, order is unspecified (based on what JDK gives
616 us, which may be declaration order, but not guaranteed).
617<p>
618 Note that this is just the default behavior, and can be overridden by
619 explicit overrides in classes.</div>
620<dl><dt><span class="strong">Since:</span></dt>
621  <dd>1.8</dd></dl>
622</li>
623</ul>
624<a name="FAIL_ON_EMPTY_BEANS">
625<!--   -->
626</a>
627<ul class="blockList">
628<li class="blockList">
629<h4>FAIL_ON_EMPTY_BEANS</h4>
630<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> FAIL_ON_EMPTY_BEANS</pre>
631<div class="block">Feature that determines what happens when no accessors are
632 found for a type (and there are no annotations to indicate
633 it is meant to be serialized). If enabled (default), an
634 exception is thrown to indicate these as non-serializable
635 types; if disabled, they are serialized as empty Objects,
636 i.e. without any properties.
637<p>
638 Note that empty types that this feature has only effect on
639 those "empty" beans that do not have any recognized annotations
640 (like <code>@JsonSerialize</code>): ones that do have annotations
641 do not result in an exception being thrown.</div>
642<dl><dt><span class="strong">Since:</span></dt>
643  <dd>1.4</dd></dl>
644</li>
645</ul>
646<a name="WRAP_EXCEPTIONS">
647<!--   -->
648</a>
649<ul class="blockList">
650<li class="blockList">
651<h4>WRAP_EXCEPTIONS</h4>
652<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> WRAP_EXCEPTIONS</pre>
653<div class="block">Feature that determines whether Jackson code should catch
654 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!)
655 to add additional information about
656 location (within input) of problem or not. If enabled,
657 most exceptions will be caught and re-thrown (exception
658 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
659 as is, since they are declared as throwable); this can be
660 convenient both in that all exceptions will be checked and
661 declared, and so there is more contextual information.
662 However, sometimes calling application may just want "raw"
663 unchecked exceptions passed as is.
664<p>
665 Feature is enabled by default, and is similar in behavior
666 to default prior to 1.7.</div>
667<dl><dt><span class="strong">Since:</span></dt>
668  <dd>1.7</dd></dl>
669</li>
670</ul>
671<a name="CLOSE_CLOSEABLE">
672<!--   -->
673</a>
674<ul class="blockList">
675<li class="blockList">
676<h4>CLOSE_CLOSEABLE</h4>
677<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> CLOSE_CLOSEABLE</pre>
678<div class="block">Feature that determines whether <code>close</code> method of
679 serialized <b>root level</b> objects (ones for which <code>ObjectMapper</code>'s
680 writeValue() (or equivalent) method is called)
681 that implement <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io"><code>Closeable</code></a>
682 is called after serialization or not. If enabled, <b>close()</b> will
683 be called after serialization completes (whether succesfully, or
684 due to an error manifested by an exception being thrown). You can
685 think of this as sort of "finally" processing.
686<p>
687 NOTE: only affects behavior with <b>root</b> objects, and not other
688 objects reachable from the root object. Put another way, only one
689 call will be made for each 'writeValue' call.</div>
690<dl><dt><span class="strong">Since:</span></dt>
691  <dd>1.6 (see [JACKSON-282 for details])</dd></dl>
692</li>
693</ul>
694<a name="FLUSH_AFTER_WRITE_VALUE">
695<!--   -->
696</a>
697<ul class="blockList">
698<li class="blockList">
699<h4>FLUSH_AFTER_WRITE_VALUE</h4>
700<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> FLUSH_AFTER_WRITE_VALUE</pre>
701<div class="block">Feature that determines whether <code>JsonGenerator.flush()</code> is
702 called after <code>writeValue()</code> method <b>that takes JsonGenerator
703 as an argument</b> completes (i.e. does NOT affect methods
704 that use other destinations); same for methods in <a href="../../../../org/codehaus/jackson/map/ObjectWriter.html" title="class in org.codehaus.jackson.map"><code>ObjectWriter</code></a>.
705 This usually makes sense; but there are cases where flushing
706 should not be forced: for example when underlying stream is
707 compressing and flush() causes compression state to be flushed
708 (which occurs with some compression codecs).</div>
709<dl><dt><span class="strong">Since:</span></dt>
710  <dd>1.6 (see [JACKSON-401 for details])</dd></dl>
711</li>
712</ul>
713<a name="WRITE_DATES_AS_TIMESTAMPS">
714<!--   -->
715</a>
716<ul class="blockList">
717<li class="blockList">
718<h4>WRITE_DATES_AS_TIMESTAMPS</h4>
719<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> WRITE_DATES_AS_TIMESTAMPS</pre>
720<div class="block">Feature that determines whether <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> values
721 (and Date-based things like <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>s) are to be
722 serialized as numeric timestamps (true; the default),
723 or as something else (usually textual representation).
724 If textual representation is used, the actual format is
725 one returned by a call to <a href="../../../../org/codehaus/jackson/map/MapperConfig.html#getDateFormat()"><code>MapperConfig.getDateFormat()</code></a>.
726<p>
727 Note: whether this feature affects handling of other date-related
728 types depend on handlers of those types, although ideally they
729 should use this feature
730<p>
731 Note: whether <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 are serialized as Strings
732 or not is controlled using <a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a>.</div>
733</li>
734</ul>
735<a name="WRITE_DATE_KEYS_AS_TIMESTAMPS">
736<!--   -->
737</a>
738<ul class="blockList">
739<li class="blockList">
740<h4>WRITE_DATE_KEYS_AS_TIMESTAMPS</h4>
741<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> WRITE_DATE_KEYS_AS_TIMESTAMPS</pre>
742<div class="block">Feature that determines whether <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>s
743 (and sub-types) used as <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 are serialized
744 as timestamps or not (if not, will be serialized as textual
745 values).
746<p>
747 Default value is 'false', meaning that Date-valued Map keys are serialized
748 as textual (ISO-8601) values.</div>
749<dl><dt><span class="strong">Since:</span></dt>
750  <dd>1.9</dd></dl>
751</li>
752</ul>
753<a name="WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS">
754<!--   -->
755</a>
756<ul class="blockList">
757<li class="blockList">
758<h4>WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS</h4>
759<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS</pre>
760<div class="block">Feature that determines how type <code>char[]</code> is serialized:
761 when enabled, will be serialized as an explict JSON array (with
762 single-character Strings as values); when disabled, defaults to
763 serializing them as Strings (which is more compact).</div>
764<dl><dt><span class="strong">Since:</span></dt>
765  <dd>1.6 (see [JACKSON-289 for details])</dd></dl>
766</li>
767</ul>
768<a name="WRITE_ENUMS_USING_TO_STRING">
769<!--   -->
770</a>
771<ul class="blockList">
772<li class="blockList">
773<h4>WRITE_ENUMS_USING_TO_STRING</h4>
774<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> WRITE_ENUMS_USING_TO_STRING</pre>
775<div class="block">Feature that determines standard serialization mechanism used for
776 Enum values: if enabled, return value of <code>Enum.toString()</code>
777 is used; if disabled, return value of <code>Enum.name()</code> is used.
778 Since pre-1.6 method was to use Enum name, this is the default.
779<p>
780 Note: this feature should usually have same value
781 as <a href="../../../../org/codehaus/jackson/map/DeserializationConfig.Feature.html#READ_ENUMS_USING_TO_STRING"><code>DeserializationConfig.Feature.READ_ENUMS_USING_TO_STRING</code></a>.
782<p>
783 For further details, check out [JACKSON-212]</div>
784<dl><dt><span class="strong">Since:</span></dt>
785  <dd>1.6</dd></dl>
786</li>
787</ul>
788<a name="WRITE_ENUMS_USING_INDEX">
789<!--   -->
790</a>
791<ul class="blockList">
792<li class="blockList">
793<h4>WRITE_ENUMS_USING_INDEX</h4>
794<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> WRITE_ENUMS_USING_INDEX</pre>
795<div class="block">Feature that determines whethere Java Enum values are serialized
796 as numbers (true), or textual values (false). If textual values are
797 used, other settings are also considered.
798 If this feature is enabled,
799  return value of <code>Enum.ordinal()</code>
800 (an integer) will be used as the serialization.
801<p>
802 Note that this feature has precedence over <a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html#WRITE_ENUMS_USING_TO_STRING"><code>WRITE_ENUMS_USING_TO_STRING</code></a>,
803 which is only considered if this feature is set to false.</div>
804<dl><dt><span class="strong">Since:</span></dt>
805  <dd>1.9</dd></dl>
806</li>
807</ul>
808<a name="WRITE_NULL_MAP_VALUES">
809<!--   -->
810</a>
811<ul class="blockList">
812<li class="blockList">
813<h4>WRITE_NULL_MAP_VALUES</h4>
814<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> WRITE_NULL_MAP_VALUES</pre>
815<div class="block">Feature that determines whether Map entries with null values are
816 to be serialized (true) or not (false).
817<p>
818 For further details, check out [JACKSON-314]</div>
819<dl><dt><span class="strong">Since:</span></dt>
820  <dd>1.6</dd></dl>
821</li>
822</ul>
823<a name="WRITE_EMPTY_JSON_ARRAYS">
824<!--   -->
825</a>
826<ul class="blockListLast">
827<li class="blockList">
828<h4>WRITE_EMPTY_JSON_ARRAYS</h4>
829<pre>public static final&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a> WRITE_EMPTY_JSON_ARRAYS</pre>
830<div class="block">Feature that determines whether Container properties (POJO properties
831 with declared value of Collection or array; i.e. things that produce JSON
832 arrays) that are empty (have no elements)
833 will be serialized as empty JSON arrays (true), or suppressed from output (false).
834<p>
835 Note that this does not change behavior 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>s, or
836 "Collection-like" types.</div>
837<dl><dt><span class="strong">Since:</span></dt>
838  <dd>1.9</dd></dl>
839</li>
840</ul>
841</li>
842</ul>
843<!-- ============ METHOD DETAIL ========== -->
844<ul class="blockList">
845<li class="blockList"><a name="method_detail">
846<!--   -->
847</a>
848<h3>Method Detail</h3>
849<a name="values()">
850<!--   -->
851</a>
852<ul class="blockList">
853<li class="blockList">
854<h4>values</h4>
855<pre>public static&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.Feature</a>[]&nbsp;values()</pre>
856<div class="block">Returns an array containing the constants of this enum type, in
857the order they are declared.  This method may be used to iterate
858over the constants as follows:
859<pre>
860for (SerializationConfig.Feature c : SerializationConfig.Feature.values())
861&nbsp;   System.out.println(c);
862</pre></div>
863<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in
864the order they are declared</dd></dl>
865</li>
866</ul>
867<a name="valueOf(java.lang.String)">
868<!--   -->
869</a>
870<ul class="blockList">
871<li class="blockList">
872<h4>valueOf</h4>
873<pre>public static&nbsp;<a href="../../../../org/codehaus/jackson/map/SerializationConfig.Feature.html" title="enum in org.codehaus.jackson.map">SerializationConfig.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>
874<div class="block">Returns the enum constant of this type with the specified name.
875The string must match <i>exactly</i> an identifier used to declare an
876enum constant in this type.  (Extraneous whitespace characters are
877not permitted.)</div>
878<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd>
879<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd>
880<dt><span class="strong">Throws:</span></dt>
881<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
882with the specified name</dd>
883<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>
884</li>
885</ul>
886<a name="enabledByDefault()">
887<!--   -->
888</a>
889<ul class="blockList">
890<li class="blockList">
891<h4>enabledByDefault</h4>
892<pre>public&nbsp;boolean&nbsp;enabledByDefault()</pre>
893<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/codehaus/jackson/map/MapperConfig.ConfigFeature.html#enabledByDefault()">MapperConfig.ConfigFeature</a></code></strong></div>
894<div class="block">Accessor for checking whether this feature is enabled by default.</div>
895<dl>
896<dt><strong>Specified by:</strong></dt>
897<dd><code><a href="../../../../org/codehaus/jackson/map/MapperConfig.ConfigFeature.html#enabledByDefault()">enabledByDefault</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/map/MapperConfig.ConfigFeature.html" title="interface in org.codehaus.jackson.map">MapperConfig.ConfigFeature</a></code></dd>
898</dl>
899</li>
900</ul>
901<a name="getMask()">
902<!--   -->
903</a>
904<ul class="blockListLast">
905<li class="blockList">
906<h4>getMask</h4>
907<pre>public&nbsp;int&nbsp;getMask()</pre>
908<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../org/codehaus/jackson/map/MapperConfig.ConfigFeature.html#getMask()">MapperConfig.ConfigFeature</a></code></strong></div>
909<div class="block">Returns bit mask for this feature instance</div>
910<dl>
911<dt><strong>Specified by:</strong></dt>
912<dd><code><a href="../../../../org/codehaus/jackson/map/MapperConfig.ConfigFeature.html#getMask()">getMask</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/codehaus/jackson/map/MapperConfig.ConfigFeature.html" title="interface in org.codehaus.jackson.map">MapperConfig.ConfigFeature</a></code></dd>
913</dl>
914</li>
915</ul>
916</li>
917</ul>
918</li>
919</ul>
920</div>
921</div>
922<!-- ========= END OF CLASS DATA ========= -->
923<!-- ======= START OF BOTTOM NAVBAR ====== -->
924<div class="bottomNav"><a name="navbar_bottom">
925<!--   -->
926</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
927<!--   -->
928</a>
929<ul class="navList" title="Navigation">
930<li><a href="../../../../overview-summary.html">Overview</a></li>
931<li><a href="package-summary.html">Package</a></li>
932<li class="navBarCell1Rev">Class</li>
933<li><a href="class-use/SerializationConfig.Feature.html">Use</a></li>
934<li><a href="package-tree.html">Tree</a></li>
935<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
936<li><a href="../../../../index-all.html">Index</a></li>
937<li><a href="../../../../help-doc.html">Help</a></li>
938</ul>
939</div>
940<div class="subNav">
941<ul class="navList">
942<li><a href="../../../../org/codehaus/jackson/map/SerializationConfig.html" title="class in org.codehaus.jackson.map"><span class="strong">Prev Class</span></a></li>
943<li><a href="../../../../org/codehaus/jackson/map/SerializerFactory.html" title="class in org.codehaus.jackson.map"><span class="strong">Next Class</span></a></li>
944</ul>
945<ul class="navList">
946<li><a href="../../../../index.html?org/codehaus/jackson/map/SerializationConfig.Feature.html" target="_top">Frames</a></li>
947<li><a href="SerializationConfig.Feature.html" target="_top">No Frames</a></li>
948</ul>
949<ul class="navList" id="allclasses_navbar_bottom">
950<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
951</ul>
952<div>
953<script type="text/javascript"><!--
954  allClassesLink = document.getElementById("allclasses_navbar_bottom");
955  if(window==top) {
956    allClassesLink.style.display = "block";
957  }
958  else {
959    allClassesLink.style.display = "none";
960  }
961  //-->
962</script>
963</div>
964<div>
965<ul class="subNavList">
966<li>Summary:&nbsp;</li>
967<li>Nested&nbsp;|&nbsp;</li>
968<li><a href="#enum_constant_summary">Enum Constants</a>&nbsp;|&nbsp;</li>
969<li>Field&nbsp;|&nbsp;</li>
970<li><a href="#method_summary">Method</a></li>
971</ul>
972<ul class="subNavList">
973<li>Detail:&nbsp;</li>
974<li><a href="#enum_constant_detail">Enum Constants</a>&nbsp;|&nbsp;</li>
975<li>Field&nbsp;|&nbsp;</li>
976<li><a href="#method_detail">Method</a></li>
977</ul>
978</div>
979<a name="skip-navbar_bottom">
980<!--   -->
981</a></div>
982<!-- ======== END OF BOTTOM NAVBAR ======= -->
983</body>
984</html>
985