• 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_10-ea) on Mon Apr 22 19:50:33 PDT 2013 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>SerializationFeature (jackson-databind 2.2.0 API)</title>
8<meta name="date" content="2013-04-22">
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="SerializationFeature (jackson-databind 2.2.0 API)";
15    }
16//-->
17</script>
18<noscript>
19<div>JavaScript is disabled on your browser.</div>
20</noscript>
21<!-- ========= START OF TOP NAVBAR ======= -->
22<div class="topNav"><a name="navbar_top">
23<!--   -->
24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
25<!--   -->
26</a>
27<ul class="navList" title="Navigation">
28<li><a href="../../../../overview-summary.html">Overview</a></li>
29<li><a href="package-summary.html">Package</a></li>
30<li class="navBarCell1Rev">Class</li>
31<li><a href="class-use/SerializationFeature.html">Use</a></li>
32<li><a href="package-tree.html">Tree</a></li>
33<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
34<li><a href="../../../../index-all.html">Index</a></li>
35<li><a href="../../../../help-doc.html">Help</a></li>
36</ul>
37</div>
38<div class="subNav">
39<ul class="navList">
40<li><a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li>
41<li><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../index.html?com/fasterxml/jackson/databind/SerializationFeature.html" target="_top">Frames</a></li>
45<li><a href="SerializationFeature.html" target="_top">No Frames</a></li>
46</ul>
47<ul class="navList" id="allclasses_navbar_top">
48<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
49</ul>
50<div>
51<script type="text/javascript"><!--
52  allClassesLink = document.getElementById("allclasses_navbar_top");
53  if(window==top) {
54    allClassesLink.style.display = "block";
55  }
56  else {
57    allClassesLink.style.display = "none";
58  }
59  //-->
60</script>
61</div>
62<div>
63<ul class="subNavList">
64<li>Summary:&nbsp;</li>
65<li>Nested&nbsp;|&nbsp;</li>
66<li><a href="#enum_constant_summary">Enum Constants</a>&nbsp;|&nbsp;</li>
67<li>Field&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li><a href="#enum_constant_detail">Enum Constants</a>&nbsp;|&nbsp;</li>
73<li>Field&nbsp;|&nbsp;</li>
74<li><a href="#method_detail">Method</a></li>
75</ul>
76</div>
77<a name="skip-navbar_top">
78<!--   -->
79</a></div>
80<!-- ========= END OF TOP NAVBAR ========= -->
81<!-- ======== START OF CLASS DATA ======== -->
82<div class="header">
83<div class="subTitle">com.fasterxml.jackson.databind</div>
84<h2 title="Enum SerializationFeature" class="title">Enum SerializationFeature</h2>
85</div>
86<div class="contentContainer">
87<ul class="inheritance">
88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
89<li>
90<ul class="inheritance">
91<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&gt;</li>
92<li>
93<ul class="inheritance">
94<li>com.fasterxml.jackson.databind.SerializationFeature</li>
95</ul>
96</li>
97</ul>
98</li>
99</ul>
100<div class="description">
101<ul class="blockList">
102<li class="blockList">
103<dl>
104<dt>All Implemented Interfaces:</dt>
105<dd><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&gt;</dd>
106</dl>
107<hr>
108<br>
109<pre>public enum <span class="strong">SerializationFeature</span>
110extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a>&lt;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>&gt;
111implements <a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a></pre>
112<div class="block">Enumeration that defines simple on/off features that affect
113 the way Java objects are serialized.
114<p>
115 Note that features can be set both through
116 <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> (as sort of defaults) and through
117 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.
118 In first case these defaults must follow "config-then-use" patterns
119 (i.e. defined once, not changed afterwards); all per-call
120 changes must be done using <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div>
121</li>
122</ul>
123</div>
124<div class="summary">
125<ul class="blockList">
126<li class="blockList">
127<!-- =========== ENUM CONSTANT SUMMARY =========== -->
128<ul class="blockList">
129<li class="blockList"><a name="enum_constant_summary">
130<!--   -->
131</a>
132<h3>Enum Constant Summary</h3>
133<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
134<caption><span>Enum Constants</span><span class="tabEnd">&nbsp;</span></caption>
135<tr>
136<th class="colOne" scope="col">Enum Constant and Description</th>
137</tr>
138<tr class="altColor">
139<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#CLOSE_CLOSEABLE">CLOSE_CLOSEABLE</a></strong></code>
140<div class="block">Feature that determines whether <code>close</code> method of
141 serialized <b>root level</b> objects (ones for which <code>ObjectMapper</code>'s
142 writeValue() (or equivalent) method is called)
143 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>
144 is called after serialization or not.</div>
145</td>
146</tr>
147<tr class="rowColor">
148<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#EAGER_SERIALIZER_FETCH">EAGER_SERIALIZER_FETCH</a></strong></code>
149<div class="block">Feature that determines whether <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> should
150 try to eagerly fetch necessary <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> when
151 possible.</div>
152</td>
153</tr>
154<tr class="altColor">
155<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#FAIL_ON_EMPTY_BEANS">FAIL_ON_EMPTY_BEANS</a></strong></code>
156<div class="block">Feature that determines what happens when no accessors are
157 found for a type (and there are no annotations to indicate
158 it is meant to be serialized).</div>
159</td>
160</tr>
161<tr class="rowColor">
162<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#FLUSH_AFTER_WRITE_VALUE">FLUSH_AFTER_WRITE_VALUE</a></strong></code>
163<div class="block">Feature that determines whether <code>JsonGenerator.flush()</code> is
164 called after <code>writeValue()</code> method <b>that takes JsonGenerator
165 as an argument</b> completes (i.e.</div>
166</td>
167</tr>
168<tr class="altColor">
169<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#INDENT_OUTPUT">INDENT_OUTPUT</a></strong></code>
170<div class="block">Feature that allows enabling (or disabling) indentation
171 for the underlying generator, using the default pretty
172 printer (see
173 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true#useDefaultPrettyPrinter()" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator.useDefaultPrettyPrinter()</code></a>
174 for details).</div>
175</td>
176</tr>
177<tr class="rowColor">
178<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#ORDER_MAP_ENTRIES_BY_KEYS">ORDER_MAP_ENTRIES_BY_KEYS</a></strong></code>
179<div class="block">Feature that determines 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> entries are first
180 sorted by key before serialization or not: if enabled, additional sorting
181 step is performed if necessary (not necessary for <a href="http://docs.oracle.com/javase/6/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util"><code>SortedMap</code></a>s),
182 if disabled, no additional sorting is needed.</div>
183</td>
184</tr>
185<tr class="altColor">
186<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRAP_EXCEPTIONS">WRAP_EXCEPTIONS</a></strong></code>
187<div class="block">Feature that determines whether Jackson code should catch
188 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!)
189 to add additional information about
190 location (within input) of problem or not.</div>
191</td>
192</tr>
193<tr class="rowColor">
194<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRAP_ROOT_VALUE">WRAP_ROOT_VALUE</a></strong></code>
195<div class="block">Feature that can be enabled to make root value (usually JSON
196 Object but can be any type) wrapped within a single property
197 JSON object, where key as the "root name", as determined by
198 annotation introspector (esp.</div>
199</td>
200</tr>
201<tr class="altColor">
202<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_BIGDECIMAL_AS_PLAIN">WRITE_BIGDECIMAL_AS_PLAIN</a></strong></code>
203<div class="block">Feature that determines whether <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a> entries are
204 serialized using <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true#toPlainString()" title="class or interface in java.math"><code>BigDecimal.toPlainString()</code></a> to prevent
205 values to be written using scientific notation.</div>
206</td>
207</tr>
208<tr class="rowColor">
209<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS">WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS</a></strong></code>
210<div class="block">Feature that determines how type <code>char[]</code> is serialized:
211 when enabled, will be serialized as an explict JSON array (with
212 single-character Strings as values); when disabled, defaults to
213 serializing them as Strings (which is more compact).</div>
214</td>
215</tr>
216<tr class="altColor">
217<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS">WRITE_DATE_KEYS_AS_TIMESTAMPS</a></strong></code>
218<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
219 (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
220 as timestamps or not (if not, will be serialized as textual
221 values).</div>
222</td>
223</tr>
224<tr class="rowColor">
225<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS">WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</a></strong></code>
226<div class="block">Feature that controls whether numeric timestamp values are
227 to be written using nanosecond timestamps (enabled) or not (disabled);
228 <b>if and only if</b> datatype supports such resolution.</div>
229</td>
230</tr>
231<tr class="altColor">
232<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATES_AS_TIMESTAMPS">WRITE_DATES_AS_TIMESTAMPS</a></strong></code>
233<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
234 (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
235 serialized as numeric timestamps (true; the default),
236 or as something else (usually textual representation).</div>
237</td>
238</tr>
239<tr class="rowColor">
240<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_EMPTY_JSON_ARRAYS">WRITE_EMPTY_JSON_ARRAYS</a></strong></code>
241<div class="block">Feature that determines whether Container properties (POJO properties
242 with declared value of Collection or array; i.e.</div>
243</td>
244</tr>
245<tr class="altColor">
246<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_ENUMS_USING_INDEX">WRITE_ENUMS_USING_INDEX</a></strong></code>
247<div class="block">Feature that determines whethere Java Enum values are serialized
248 as numbers (true), or textual values (false).</div>
249</td>
250</tr>
251<tr class="rowColor">
252<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_ENUMS_USING_TO_STRING">WRITE_ENUMS_USING_TO_STRING</a></strong></code>
253<div class="block">Feature that determines standard serialization mechanism used for
254 Enum values: if enabled, return value of <code>Enum.toString()</code>
255 is used; if disabled, return value of <code>Enum.name()</code> is used.</div>
256</td>
257</tr>
258<tr class="altColor">
259<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_NULL_MAP_VALUES">WRITE_NULL_MAP_VALUES</a></strong></code>
260<div class="block">Feature that determines whether Map entries with null values are
261 to be serialized (true) or not (false).</div>
262</td>
263</tr>
264<tr class="rowColor">
265<td class="colOne"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED">WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</a></strong></code>
266<div class="block">Feature added for interoperability, to work with oddities of
267 so-called "BadgerFish" convention.</div>
268</td>
269</tr>
270</table>
271</li>
272</ul>
273<!-- ========== METHOD SUMMARY =========== -->
274<ul class="blockList">
275<li class="blockList"><a name="method_summary">
276<!--   -->
277</a>
278<h3>Method Summary</h3>
279<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
280<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
281<tr>
282<th class="colFirst" scope="col">Modifier and Type</th>
283<th class="colLast" scope="col">Method and Description</th>
284</tr>
285<tr class="altColor">
286<td class="colFirst"><code>boolean</code></td>
287<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#enabledByDefault()">enabledByDefault</a></strong>()</code>
288<div class="block">Accessor for checking whether this feature is enabled by default.</div>
289</td>
290</tr>
291<tr class="rowColor">
292<td class="colFirst"><code>int</code></td>
293<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#getMask()">getMask</a></strong>()</code>
294<div class="block">Returns bit mask for this feature instance</div>
295</td>
296</tr>
297<tr class="altColor">
298<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a></code></td>
299<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.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>
300<div class="block">Returns the enum constant of this type with the specified name.</div>
301</td>
302</tr>
303<tr class="rowColor">
304<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>[]</code></td>
305<td class="colLast"><code><strong><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#values()">values</a></strong>()</code>
306<div class="block">Returns an array containing the constants of this enum type, in
307the order they are declared.</div>
308</td>
309</tr>
310</table>
311<ul class="blockList">
312<li class="blockList"><a name="methods_inherited_from_class_java.lang.Enum">
313<!--   -->
314</a>
315<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>
316<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>
317</ul>
318<ul class="blockList">
319<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
320<!--   -->
321</a>
322<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>
323<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>
324</ul>
325</li>
326</ul>
327</li>
328</ul>
329</div>
330<div class="details">
331<ul class="blockList">
332<li class="blockList">
333<!-- ============ ENUM CONSTANT DETAIL =========== -->
334<ul class="blockList">
335<li class="blockList"><a name="enum_constant_detail">
336<!--   -->
337</a>
338<h3>Enum Constant Detail</h3>
339<a name="WRAP_ROOT_VALUE">
340<!--   -->
341</a>
342<ul class="blockList">
343<li class="blockList">
344<h4>WRAP_ROOT_VALUE</h4>
345<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> WRAP_ROOT_VALUE</pre>
346<div class="block">Feature that can be enabled to make root value (usually JSON
347 Object but can be any type) wrapped within a single property
348 JSON object, where key as the "root name", as determined by
349 annotation introspector (esp. for JAXB that uses
350 <code>@XmlRootElement.name</code>) or fallback (non-qualified
351 class name).
352 Feature is mostly intended for JAXB compatibility.
353<p>
354 Feature is disabled by default.</div>
355</li>
356</ul>
357<a name="INDENT_OUTPUT">
358<!--   -->
359</a>
360<ul class="blockList">
361<li class="blockList">
362<h4>INDENT_OUTPUT</h4>
363<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> INDENT_OUTPUT</pre>
364<div class="block">Feature that allows enabling (or disabling) indentation
365 for the underlying generator, using the default pretty
366 printer (see
367 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true#useDefaultPrettyPrinter()" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator.useDefaultPrettyPrinter()</code></a>
368 for details).
369<p>
370 Note that this only affects cases where
371 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>
372 is constructed implicitly by ObjectMapper: if explicit
373 generator is passed, its configuration is not changed.
374<p>
375 Also note that if you want to configure details of indentation,
376 you need to directly configure the generator: there is a
377 method to use any <code>PrettyPrinter</code> instance.
378 This feature will only allow using the default implementation.
379<p>
380 Feature is enabled by default.</div>
381</li>
382</ul>
383<a name="FAIL_ON_EMPTY_BEANS">
384<!--   -->
385</a>
386<ul class="blockList">
387<li class="blockList">
388<h4>FAIL_ON_EMPTY_BEANS</h4>
389<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> FAIL_ON_EMPTY_BEANS</pre>
390<div class="block">Feature that determines what happens when no accessors are
391 found for a type (and there are no annotations to indicate
392 it is meant to be serialized). If enabled (default), an
393 exception is thrown to indicate these as non-serializable
394 types; if disabled, they are serialized as empty Objects,
395 i.e. without any properties.
396<p>
397 Note that empty types that this feature has only effect on
398 those "empty" beans that do not have any recognized annotations
399 (like <code>@JsonSerialize</code>): ones that do have annotations
400 do not result in an exception being thrown.
401<p>
402 Feature is enabled by default.</div>
403</li>
404</ul>
405<a name="WRAP_EXCEPTIONS">
406<!--   -->
407</a>
408<ul class="blockList">
409<li class="blockList">
410<h4>WRAP_EXCEPTIONS</h4>
411<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> WRAP_EXCEPTIONS</pre>
412<div class="block">Feature that determines whether Jackson code should catch
413 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!)
414 to add additional information about
415 location (within input) of problem or not. If enabled,
416 most exceptions will be caught and re-thrown (exception
417 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
418 as is, since they are declared as throwable); this can be
419 convenient both in that all exceptions will be checked and
420 declared, and so there is more contextual information.
421 However, sometimes calling application may just want "raw"
422 unchecked exceptions passed as is.
423<p>
424<p>
425 Feature is enabled by default.</div>
426</li>
427</ul>
428<a name="CLOSE_CLOSEABLE">
429<!--   -->
430</a>
431<ul class="blockList">
432<li class="blockList">
433<h4>CLOSE_CLOSEABLE</h4>
434<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> CLOSE_CLOSEABLE</pre>
435<div class="block">Feature that determines whether <code>close</code> method of
436 serialized <b>root level</b> objects (ones for which <code>ObjectMapper</code>'s
437 writeValue() (or equivalent) method is called)
438 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>
439 is called after serialization or not. If enabled, <b>close()</b> will
440 be called after serialization completes (whether succesfully, or
441 due to an error manifested by an exception being thrown). You can
442 think of this as sort of "finally" processing.
443<p>
444 NOTE: only affects behavior with <b>root</b> objects, and not other
445 objects reachable from the root object. Put another way, only one
446 call will be made for each 'writeValue' call.
447<p>
448 Feature is disabled by default.</div>
449</li>
450</ul>
451<a name="FLUSH_AFTER_WRITE_VALUE">
452<!--   -->
453</a>
454<ul class="blockList">
455<li class="blockList">
456<h4>FLUSH_AFTER_WRITE_VALUE</h4>
457<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> FLUSH_AFTER_WRITE_VALUE</pre>
458<div class="block">Feature that determines whether <code>JsonGenerator.flush()</code> is
459 called after <code>writeValue()</code> method <b>that takes JsonGenerator
460 as an argument</b> completes (i.e. does NOT affect methods
461 that use other destinations); same for methods in <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.
462 This usually makes sense; but there are cases where flushing
463 should not be forced: for example when underlying stream is
464 compressing and flush() causes compression state to be flushed
465 (which occurs with some compression codecs).
466<p>
467 Feature is enabled by default.</div>
468</li>
469</ul>
470<a name="WRITE_DATES_AS_TIMESTAMPS">
471<!--   -->
472</a>
473<ul class="blockList">
474<li class="blockList">
475<h4>WRITE_DATES_AS_TIMESTAMPS</h4>
476<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> WRITE_DATES_AS_TIMESTAMPS</pre>
477<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
478 (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
479 serialized as numeric timestamps (true; the default),
480 or as something else (usually textual representation).
481 If textual representation is used, the actual format is
482 one returned by a call to
483 <a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfig.html#getDateFormat()"><code>MapperConfig.getDateFormat()</code></a>.
484<p>
485 Note: whether this feature affects handling of other date-related
486 types depend on handlers of those types, although ideally they
487 should use this feature
488<p>
489 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
490 or not is controlled using <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_KEYS_AS_TIMESTAMPS"><code>WRITE_DATE_KEYS_AS_TIMESTAMPS</code></a>.
491<p>
492 Feature is enabled by default.</div>
493</li>
494</ul>
495<a name="WRITE_DATE_KEYS_AS_TIMESTAMPS">
496<!--   -->
497</a>
498<ul class="blockList">
499<li class="blockList">
500<h4>WRITE_DATE_KEYS_AS_TIMESTAMPS</h4>
501<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> WRITE_DATE_KEYS_AS_TIMESTAMPS</pre>
502<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
503 (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
504 as timestamps or not (if not, will be serialized as textual
505 values).
506<p>
507 Default value is 'false', meaning that Date-valued Map keys are serialized
508 as textual (ISO-8601) values.
509<p>
510 Feature is disabled by default.</div>
511</li>
512</ul>
513<a name="WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS">
514<!--   -->
515</a>
516<ul class="blockList">
517<li class="blockList">
518<h4>WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS</h4>
519<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> WRITE_CHAR_ARRAYS_AS_JSON_ARRAYS</pre>
520<div class="block">Feature that determines how type <code>char[]</code> is serialized:
521 when enabled, will be serialized as an explict JSON array (with
522 single-character Strings as values); when disabled, defaults to
523 serializing them as Strings (which is more compact).
524<p>
525 Feature is disabled by default.</div>
526</li>
527</ul>
528<a name="WRITE_ENUMS_USING_TO_STRING">
529<!--   -->
530</a>
531<ul class="blockList">
532<li class="blockList">
533<h4>WRITE_ENUMS_USING_TO_STRING</h4>
534<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> WRITE_ENUMS_USING_TO_STRING</pre>
535<div class="block">Feature that determines standard serialization mechanism used for
536 Enum values: if enabled, return value of <code>Enum.toString()</code>
537 is used; if disabled, return value of <code>Enum.name()</code> is used.
538<p>
539 Note: this feature should usually have same value
540 as <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#READ_ENUMS_USING_TO_STRING"><code>DeserializationFeature.READ_ENUMS_USING_TO_STRING</code></a>.
541<p>
542 Feature is disabled by default.</div>
543</li>
544</ul>
545<a name="WRITE_ENUMS_USING_INDEX">
546<!--   -->
547</a>
548<ul class="blockList">
549<li class="blockList">
550<h4>WRITE_ENUMS_USING_INDEX</h4>
551<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> WRITE_ENUMS_USING_INDEX</pre>
552<div class="block">Feature that determines whethere Java Enum values are serialized
553 as numbers (true), or textual values (false). If textual values are
554 used, other settings are also considered.
555 If this feature is enabled,
556  return value of <code>Enum.ordinal()</code>
557 (an integer) will be used as the serialization.
558<p>
559 Note that this feature has precedence over <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_ENUMS_USING_TO_STRING"><code>WRITE_ENUMS_USING_TO_STRING</code></a>,
560 which is only considered if this feature is set to false.
561<p>
562 Feature is disabled by default.</div>
563</li>
564</ul>
565<a name="WRITE_NULL_MAP_VALUES">
566<!--   -->
567</a>
568<ul class="blockList">
569<li class="blockList">
570<h4>WRITE_NULL_MAP_VALUES</h4>
571<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> WRITE_NULL_MAP_VALUES</pre>
572<div class="block">Feature that determines whether Map entries with null values are
573 to be serialized (true) or not (false).
574<p>
575 For further details, check out [JACKSON-314]
576<p>
577 Feature is enabled by default.</div>
578</li>
579</ul>
580<a name="WRITE_EMPTY_JSON_ARRAYS">
581<!--   -->
582</a>
583<ul class="blockList">
584<li class="blockList">
585<h4>WRITE_EMPTY_JSON_ARRAYS</h4>
586<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> WRITE_EMPTY_JSON_ARRAYS</pre>
587<div class="block">Feature that determines whether Container properties (POJO properties
588 with declared value of Collection or array; i.e. things that produce JSON
589 arrays) that are empty (have no elements)
590 will be serialized as empty JSON arrays (true), or suppressed from output (false).
591<p>
592 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
593 "Collection-like" types.
594<p>
595 Feature is enabled by default.</div>
596</li>
597</ul>
598<a name="WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED">
599<!--   -->
600</a>
601<ul class="blockList">
602<li class="blockList">
603<h4>WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</h4>
604<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> WRITE_SINGLE_ELEM_ARRAYS_UNWRAPPED</pre>
605<div class="block">Feature added for interoperability, to work with oddities of
606 so-called "BadgerFish" convention.
607 Feature determines handling of single element <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
608 and arrays: if enabled, <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 and arrays that contain exactly
609 one element will be serialized as if that element itself was serialized.
610<p>
611 When enabled, a POJO with array that normally looks like this:
612<pre>
613  { "arrayProperty" : [ 1 ] }
614</pre>
615 will instead be serialized as
616<pre>
617  { "arrayProperty" : 1 }
618</pre>
619<p>
620 Note that this feature is counterpart to <a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html#ACCEPT_SINGLE_VALUE_AS_ARRAY"><code>DeserializationFeature.ACCEPT_SINGLE_VALUE_AS_ARRAY</code></a>
621 (that is, usually both are enabled, or neither is).
622<p>
623 Feature is disabled by default, so that no special handling is done.</div>
624</li>
625</ul>
626<a name="WRITE_BIGDECIMAL_AS_PLAIN">
627<!--   -->
628</a>
629<ul class="blockList">
630<li class="blockList">
631<h4>WRITE_BIGDECIMAL_AS_PLAIN</h4>
632<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> WRITE_BIGDECIMAL_AS_PLAIN</pre>
633<div class="block">Feature that determines whether <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true" title="class or interface in java.math"><code>BigDecimal</code></a> entries are
634 serialized using <a href="http://docs.oracle.com/javase/6/docs/api/java/math/BigDecimal.html?is-external=true#toPlainString()" title="class or interface in java.math"><code>BigDecimal.toPlainString()</code></a> to prevent
635 values to be written using scientific notation.
636 <p>
637 Feature is disabled by default.</div>
638</li>
639</ul>
640<a name="WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS">
641<!--   -->
642</a>
643<ul class="blockList">
644<li class="blockList">
645<h4>WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</h4>
646<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</pre>
647<div class="block">Feature that controls whether numeric timestamp values are
648 to be written using nanosecond timestamps (enabled) or not (disabled);
649 <b>if and only if</b> datatype supports such resolution.
650 Only newer datatypes (such as Java8 Date/Time) support such resolution --
651 older types (pre-Java8 <b>java.util.Date</b> etc) and Joda do not --
652 and this setting <b>has no effect</b> on such types.
653<p>
654 If disabled, standard millisecond timestamps are assumed.
655 This is the counterpart to <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html#WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS"><code>WRITE_DATE_TIMESTAMPS_AS_NANOSECONDS</code></a>.
656<p>
657 Feature is enabled by default, to support most accurate time values possible.</div>
658<dl><dt><span class="strong">Since:</span></dt>
659  <dd>2.2</dd></dl>
660</li>
661</ul>
662<a name="ORDER_MAP_ENTRIES_BY_KEYS">
663<!--   -->
664</a>
665<ul class="blockList">
666<li class="blockList">
667<h4>ORDER_MAP_ENTRIES_BY_KEYS</h4>
668<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> ORDER_MAP_ENTRIES_BY_KEYS</pre>
669<div class="block">Feature that determines 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> entries are first
670 sorted by key before serialization or not: if enabled, additional sorting
671 step is performed if necessary (not necessary for <a href="http://docs.oracle.com/javase/6/docs/api/java/util/SortedMap.html?is-external=true" title="class or interface in java.util"><code>SortedMap</code></a>s),
672 if disabled, no additional sorting is needed.
673<p>
674 Feature is disabled by default.</div>
675</li>
676</ul>
677<a name="EAGER_SERIALIZER_FETCH">
678<!--   -->
679</a>
680<ul class="blockListLast">
681<li class="blockList">
682<h4>EAGER_SERIALIZER_FETCH</h4>
683<pre>public static final&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> EAGER_SERIALIZER_FETCH</pre>
684<div class="block">Feature that determines whether <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> should
685 try to eagerly fetch necessary <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a> when
686 possible. This improves performance in cases where similarly
687 configured <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> instance is used multiple
688 times; and should not significantly affect single-use cases.
689<p>
690 Note that there should not be any need to normally disable this
691 feature: only consider that if there are actual perceived problems.
692<p>
693 Feature is enabled by default.</div>
694<dl><dt><span class="strong">Since:</span></dt>
695  <dd>2.1</dd></dl>
696</li>
697</ul>
698</li>
699</ul>
700<!-- ============ METHOD DETAIL ========== -->
701<ul class="blockList">
702<li class="blockList"><a name="method_detail">
703<!--   -->
704</a>
705<h3>Method Detail</h3>
706<a name="values()">
707<!--   -->
708</a>
709<ul class="blockList">
710<li class="blockList">
711<h4>values</h4>
712<pre>public static&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>[]&nbsp;values()</pre>
713<div class="block">Returns an array containing the constants of this enum type, in
714the order they are declared.  This method may be used to iterate
715over the constants as follows:
716<pre>
717for (SerializationFeature c : SerializationFeature.values())
718&nbsp;   System.out.println(c);
719</pre></div>
720<dl><dt><span class="strong">Returns:</span></dt><dd>an array containing the constants of this enum type, in
721the order they are declared</dd></dl>
722</li>
723</ul>
724<a name="valueOf(java.lang.String)">
725<!--   -->
726</a>
727<ul class="blockList">
728<li class="blockList">
729<h4>valueOf</h4>
730<pre>public static&nbsp;<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</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>
731<div class="block">Returns the enum constant of this type with the specified name.
732The string must match <i>exactly</i> an identifier used to declare an
733enum constant in this type.  (Extraneous whitespace characters are
734not permitted.)</div>
735<dl><dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - the name of the enum constant to be returned.</dd>
736<dt><span class="strong">Returns:</span></dt><dd>the enum constant with the specified name</dd>
737<dt><span class="strong">Throws:</span></dt>
738<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
739with the specified name</dd>
740<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>
741</li>
742</ul>
743<a name="enabledByDefault()">
744<!--   -->
745</a>
746<ul class="blockList">
747<li class="blockList">
748<h4>enabledByDefault</h4>
749<pre>public&nbsp;boolean&nbsp;enabledByDefault()</pre>
750<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledByDefault()">ConfigFeature</a></code></strong></div>
751<div class="block">Accessor for checking whether this feature is enabled by default.</div>
752<dl>
753<dt><strong>Specified by:</strong></dt>
754<dd><code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#enabledByDefault()">enabledByDefault</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a></code></dd>
755</dl>
756</li>
757</ul>
758<a name="getMask()">
759<!--   -->
760</a>
761<ul class="blockListLast">
762<li class="blockList">
763<h4>getMask</h4>
764<pre>public&nbsp;int&nbsp;getMask()</pre>
765<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#getMask()">ConfigFeature</a></code></strong></div>
766<div class="block">Returns bit mask for this feature instance</div>
767<dl>
768<dt><strong>Specified by:</strong></dt>
769<dd><code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html#getMask()">getMask</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../com/fasterxml/jackson/databind/cfg/ConfigFeature.html" title="interface in com.fasterxml.jackson.databind.cfg">ConfigFeature</a></code></dd>
770</dl>
771</li>
772</ul>
773</li>
774</ul>
775</li>
776</ul>
777</div>
778</div>
779<!-- ========= END OF CLASS DATA ========= -->
780<!-- ======= START OF BOTTOM NAVBAR ====== -->
781<div class="bottomNav"><a name="navbar_bottom">
782<!--   -->
783</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
784<!--   -->
785</a>
786<ul class="navList" title="Navigation">
787<li><a href="../../../../overview-summary.html">Overview</a></li>
788<li><a href="package-summary.html">Package</a></li>
789<li class="navBarCell1Rev">Class</li>
790<li><a href="class-use/SerializationFeature.html">Use</a></li>
791<li><a href="package-tree.html">Tree</a></li>
792<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
793<li><a href="../../../../index-all.html">Index</a></li>
794<li><a href="../../../../help-doc.html">Help</a></li>
795</ul>
796</div>
797<div class="subNav">
798<ul class="navList">
799<li><a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Prev Class</span></a></li>
800<li><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><span class="strong">Next Class</span></a></li>
801</ul>
802<ul class="navList">
803<li><a href="../../../../index.html?com/fasterxml/jackson/databind/SerializationFeature.html" target="_top">Frames</a></li>
804<li><a href="SerializationFeature.html" target="_top">No Frames</a></li>
805</ul>
806<ul class="navList" id="allclasses_navbar_bottom">
807<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
808</ul>
809<div>
810<script type="text/javascript"><!--
811  allClassesLink = document.getElementById("allclasses_navbar_bottom");
812  if(window==top) {
813    allClassesLink.style.display = "block";
814  }
815  else {
816    allClassesLink.style.display = "none";
817  }
818  //-->
819</script>
820</div>
821<div>
822<ul class="subNavList">
823<li>Summary:&nbsp;</li>
824<li>Nested&nbsp;|&nbsp;</li>
825<li><a href="#enum_constant_summary">Enum Constants</a>&nbsp;|&nbsp;</li>
826<li>Field&nbsp;|&nbsp;</li>
827<li><a href="#method_summary">Method</a></li>
828</ul>
829<ul class="subNavList">
830<li>Detail:&nbsp;</li>
831<li><a href="#enum_constant_detail">Enum Constants</a>&nbsp;|&nbsp;</li>
832<li>Field&nbsp;|&nbsp;</li>
833<li><a href="#method_detail">Method</a></li>
834</ul>
835</div>
836<a name="skip-navbar_bottom">
837<!--   -->
838</a></div>
839<!-- ======== END OF BOTTOM NAVBAR ======= -->
840<p class="legalCopy"><small>Copyright &#169; 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
841</body>
842</html>
843