• 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 (1.8.0_162) on Wed Sep 25 19:26:34 PDT 2019 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>JsonFormat (Jackson-annotations 2.10.0 API)</title>
8<meta name="date" content="2019-09-25">
9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
10<script type="text/javascript" src="../../../../script.js"></script>
11</head>
12<body>
13<script type="text/javascript"><!--
14    try {
15        if (location.href.indexOf('is-external=true') == -1) {
16            parent.document.title="JsonFormat (Jackson-annotations 2.10.0 API)";
17        }
18    }
19    catch(err) {
20    }
21//-->
22</script>
23<noscript>
24<div>JavaScript is disabled on your browser.</div>
25</noscript>
26<!-- ========= START OF TOP NAVBAR ======= -->
27<div class="topNav"><a name="navbar.top">
28<!--   -->
29</a>
30<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
31<a name="navbar.top.firstrow">
32<!--   -->
33</a>
34<ul class="navList" title="Navigation">
35<li><a href="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li>
36<li class="navBarCell1Rev">Class</li>
37<li><a href="class-use/JsonFormat.html">Use</a></li>
38<li><a href="package-tree.html">Tree</a></li>
39<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
40<li><a href="../../../../index-all.html">Index</a></li>
41<li><a href="../../../../help-doc.html">Help</a></li>
42</ul>
43</div>
44<div class="subNav">
45<ul class="navList">
46<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFilter.html" title="annotation in com.fasterxml.jackson.annotation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
47<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
48</ul>
49<ul class="navList">
50<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.html" target="_top">Frames</a></li>
51<li><a href="JsonFormat.html" target="_top">No&nbsp;Frames</a></li>
52</ul>
53<ul class="navList" id="allclasses_navbar_top">
54<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
55</ul>
56<div>
57<script type="text/javascript"><!--
58  allClassesLink = document.getElementById("allclasses_navbar_top");
59  if(window==top) {
60    allClassesLink.style.display = "block";
61  }
62  else {
63    allClassesLink.style.display = "none";
64  }
65  //-->
66</script>
67</div>
68<div>
69<ul class="subNavList">
70<li>Summary:&nbsp;</li>
71<li><a href="#annotation.type.field.summary">Field</a>&nbsp;|&nbsp;</li>
72<li>Required&nbsp;|&nbsp;</li>
73<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
74</ul>
75<ul class="subNavList">
76<li>Detail:&nbsp;</li>
77<li><a href="#annotation.type.field.detail">Field</a>&nbsp;|&nbsp;</li>
78<li><a href="#annotation.type.element.detail">Element</a></li>
79</ul>
80</div>
81<a name="skip.navbar.top">
82<!--   -->
83</a></div>
84<!-- ========= END OF TOP NAVBAR ========= -->
85<!-- ======== START OF CLASS DATA ======== -->
86<div class="header">
87<div class="subTitle">com.fasterxml.jackson.annotation</div>
88<h2 title="Annotation Type JsonFormat" class="title">Annotation Type JsonFormat</h2>
89</div>
90<div class="contentContainer">
91<div class="description">
92<ul class="blockList">
93<li class="blockList">
94<hr>
95<br>
96<pre><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>={<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/ElementType.html?is-external=true#ANNOTATION_TYPE" title="class or interface in java.lang.annotation">ANNOTATION_TYPE</a>,<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/ElementType.html?is-external=true#FIELD" title="class or interface in java.lang.annotation">FIELD</a>,<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/ElementType.html?is-external=true#METHOD" title="class or interface in java.lang.annotation">METHOD</a>,<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/ElementType.html?is-external=true#PARAMETER" title="class or interface in java.lang.annotation">PARAMETER</a>,<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/ElementType.html?is-external=true#TYPE" title="class or interface in java.lang.annotation">TYPE</a>})
97 <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
98public @interface <span class="memberNameLabel">JsonFormat</span></pre>
99<div class="block">General-purpose annotation used for configuring details of how
100 values of properties are to be serialized.
101 Unlike most other Jackson annotations, annotation does not
102 have specific universal interpretation: instead, effect depends on datatype
103 of property being annotated (or more specifically, deserializer
104 and serializer being used).
105<p>
106 Common uses include choosing between alternate representations -- for example,
107 whether <a href="https://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> is to be serialized as number (Java timestamp)
108 or String (such as ISO-8601 compatible time value) -- as well as configuring
109 exact details with <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html#pattern--"><code>pattern()</code></a> property.
110<p>
111 As of Jackson 2.6, known special handling includes:
112<ul>
113 <li><a href="https://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a>: Shape can  be <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#STRING"><code>JsonFormat.Shape.STRING</code></a> or <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NUMBER"><code>JsonFormat.Shape.NUMBER</code></a>;
114    pattern may contain <a href="https://docs.oracle.com/javase/6/docs/api/java/text/SimpleDateFormat.html?is-external=true" title="class or interface in java.text"><code>SimpleDateFormat</code></a>-compatible pattern definition.
115   </li>
116 <li>Can be used on Classes (types) as well, for modified default behavior, possibly
117   overridden by per-property annotation
118   </li>
119 <li><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><code>Enum</code></a>s: Shapes <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#STRING"><code>JsonFormat.Shape.STRING</code></a> and <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NUMBER"><code>JsonFormat.Shape.NUMBER</code></a> can be
120    used to change between numeric (index) and textual (name or <code>toString()</code>);
121    but it is also possible to use <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#OBJECT"><code>JsonFormat.Shape.OBJECT</code></a> to serialize (but not deserialize)
122    <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><code>Enum</code></a>s as JSON Objects (as if they were POJOs). NOTE: serialization
123     as JSON Object only works with class annotation;
124    will not work as per-property annotation.
125   </li>
126 <li><a href="https://docs.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a>s can be serialized as (and deserialized from) JSON Objects,
127    if <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#OBJECT"><code>JsonFormat.Shape.OBJECT</code></a> is used. NOTE: can ONLY be used as class annotation;
128    will not work as per-property annotation.
129   </li>
130 <li><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang"><code>Number</code></a> subclasses can be serialized as full objects if
131    <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#OBJECT"><code>JsonFormat.Shape.OBJECT</code></a> is used. Otherwise the default behavior of serializing to a
132    scalar number value will be preferred. NOTE: can ONLY be used as class annotation;
133    will not work as per-property annotation.
134   </li>
135</ul></div>
136<dl>
137<dt><span class="simpleTagLabel">Since:</span></dt>
138<dd>2.0</dd>
139</dl>
140</li>
141</ul>
142</div>
143<div class="summary">
144<ul class="blockList">
145<li class="blockList">
146<!-- =========== ANNOTATION TYPE FIELD SUMMARY =========== -->
147<ul class="blockList">
148<li class="blockList"><a name="annotation.type.field.summary">
149<!--   -->
150</a>
151<h3>Field Summary</h3>
152<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
153<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
154<tr>
155<th class="colFirst" scope="col">Modifier and Type</th>
156<th class="colLast" scope="col">Fields and Description</th>
157</tr>
158<tr class="altColor">
159<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
160<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html#DEFAULT_LOCALE">DEFAULT_LOCALE</a></span></code>
161<div class="block">Value that indicates that default <a href="https://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util"><code>Locale</code></a>
162 (from deserialization or serialization context) should be used:
163 annotation does not define value to use.</div>
164</td>
165</tr>
166<tr class="rowColor">
167<td class="colFirst"><code>static <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
168<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html#DEFAULT_TIMEZONE">DEFAULT_TIMEZONE</a></span></code>
169<div class="block">Value that indicates that default <a href="https://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util"><code>TimeZone</code></a>
170 (from deserialization or serialization context) should be used:
171 annotation does not define value to use.</div>
172</td>
173</tr>
174</table>
175</li>
176</ul>
177<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->
178<ul class="blockList">
179<li class="blockList"><a name="annotation.type.optional.element.summary">
180<!--   -->
181</a>
182<h3>Optional Element Summary</h3>
183<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Optional Element Summary table, listing optional elements, and an explanation">
184<caption><span>Optional Elements</span><span class="tabEnd">&nbsp;</span></caption>
185<tr>
186<th class="colFirst" scope="col">Modifier and Type</th>
187<th class="colLast" scope="col">Optional Element and Description</th>
188</tr>
189<tr class="altColor">
190<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/annotation/OptBoolean.html" title="enum in com.fasterxml.jackson.annotation">OptBoolean</a></code></td>
191<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html#lenient--">lenient</a></span></code>
192<div class="block">Property that indicates whether "lenient" handling should be enabled or
193 disabled.</div>
194</td>
195</tr>
196<tr class="rowColor">
197<td class="colFirst"><code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
198<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html#locale--">locale</a></span></code>
199<div class="block"><a href="https://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util"><code>Locale</code></a> to use for serialization (if needed).</div>
200</td>
201</tr>
202<tr class="altColor">
203<td class="colFirst"><code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
204<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html#pattern--">pattern</a></span></code>
205<div class="block">Datatype-specific additional piece of configuration that may be used
206 to further refine formatting aspects.</div>
207</td>
208</tr>
209<tr class="rowColor">
210<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a></code></td>
211<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html#shape--">shape</a></span></code>
212<div class="block">Structure to use for serialization: definition of mapping depends on datatype,
213 but usually has straight-forward counterpart in data format (JSON).</div>
214</td>
215</tr>
216<tr class="altColor">
217<td class="colFirst"><code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
218<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html#timezone--">timezone</a></span></code>
219<div class="block"><a href="https://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util"><code>TimeZone</code></a> to use for serialization (if needed).</div>
220</td>
221</tr>
222<tr class="rowColor">
223<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>[]</code></td>
224<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html#with--">with</a></span></code>
225<div class="block">Set of <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation"><code>JsonFormat.Feature</code></a>s to explicitly enable with respect
226 to handling of annotated property.</div>
227</td>
228</tr>
229<tr class="altColor">
230<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>[]</code></td>
231<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html#without--">without</a></span></code>
232<div class="block">Set of <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation"><code>JsonFormat.Feature</code></a>s to explicitly disable with respect
233 to handling of annotated property.</div>
234</td>
235</tr>
236</table>
237</li>
238</ul>
239</li>
240</ul>
241</div>
242<div class="details">
243<ul class="blockList">
244<li class="blockList">
245<!-- ============ ANNOTATION TYPE FIELD DETAIL =========== -->
246<ul class="blockList">
247<li class="blockList"><a name="annotation.type.field.detail">
248<!--   -->
249</a>
250<h3>Field Detail</h3>
251<a name="DEFAULT_LOCALE">
252<!--   -->
253</a>
254<ul class="blockList">
255<li class="blockList">
256<h4>DEFAULT_LOCALE</h4>
257<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;DEFAULT_LOCALE</pre>
258<div class="block">Value that indicates that default <a href="https://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util"><code>Locale</code></a>
259 (from deserialization or serialization context) should be used:
260 annotation does not define value to use.</div>
261</li>
262</ul>
263</li>
264</ul>
265<ul class="blockList">
266<li class="blockList"><a name="DEFAULT_TIMEZONE">
267<!--   -->
268</a>
269<ul class="blockListLast">
270<li class="blockList">
271<h4>DEFAULT_TIMEZONE</h4>
272<pre>public static final&nbsp;<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;DEFAULT_TIMEZONE</pre>
273<div class="block">Value that indicates that default <a href="https://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util"><code>TimeZone</code></a>
274 (from deserialization or serialization context) should be used:
275 annotation does not define value to use.
276<p>
277 NOTE: default here does NOT mean JVM defaults but Jackson databindings
278 default, usually UTC, but may be changed on <code>ObjectMapper</code>.</div>
279</li>
280</ul>
281</li>
282</ul>
283<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
284<ul class="blockList">
285<li class="blockList"><a name="annotation.type.element.detail">
286<!--   -->
287</a>
288<h3>Element Detail</h3>
289<a name="pattern--">
290<!--   -->
291</a>
292<ul class="blockList">
293<li class="blockList">
294<h4>pattern</h4>
295<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;pattern</pre>
296<div class="block">Datatype-specific additional piece of configuration that may be used
297 to further refine formatting aspects. This may, for example, determine
298 low-level format String used for <a href="https://docs.oracle.com/javase/6/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util"><code>Date</code></a> serialization;
299 however, exact use is determined by specific <code>JsonSerializer</code></div>
300<dl>
301<dt>Default:</dt>
302<dd>""</dd>
303</dl>
304</li>
305</ul>
306</li>
307</ul>
308<ul class="blockList">
309<li class="blockList"><a name="shape--">
310<!--   -->
311</a>
312<ul class="blockList">
313<li class="blockList">
314<h4>shape</h4>
315<pre>public abstract&nbsp;<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a>&nbsp;shape</pre>
316<div class="block">Structure to use for serialization: definition of mapping depends on datatype,
317 but usually has straight-forward counterpart in data format (JSON).
318 Note that commonly only a subset of shapes is available; and if 'invalid' value
319 is chosen, defaults are usually used.</div>
320<dl>
321<dt>Default:</dt>
322<dd>com.fasterxml.jackson.annotation.JsonFormat.Shape.ANY</dd>
323</dl>
324</li>
325</ul>
326</li>
327</ul>
328<ul class="blockList">
329<li class="blockList"><a name="locale--">
330<!--   -->
331</a>
332<ul class="blockList">
333<li class="blockList">
334<h4>locale</h4>
335<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;locale</pre>
336<div class="block"><a href="https://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util"><code>Locale</code></a> to use for serialization (if needed).
337 Special value of <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html#DEFAULT_LOCALE"><code>DEFAULT_LOCALE</code></a>
338 can be used to mean "just use the default", where default is specified
339 by the serialization context, which in turn defaults to system
340 defaults (<a href="https://docs.oracle.com/javase/6/docs/api/java/util/Locale.html?is-external=true#getDefault--" title="class or interface in java.util"><code>Locale.getDefault()</code></a>) unless explicitly
341 set to another locale.</div>
342<dl>
343<dt>Default:</dt>
344<dd>"##default"</dd>
345</dl>
346</li>
347</ul>
348</li>
349</ul>
350<ul class="blockList">
351<li class="blockList"><a name="timezone--">
352<!--   -->
353</a>
354<ul class="blockList">
355<li class="blockList">
356<h4>timezone</h4>
357<pre>public abstract&nbsp;<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;timezone</pre>
358<div class="block"><a href="https://docs.oracle.com/javase/6/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util"><code>TimeZone</code></a> to use for serialization (if needed).
359 Special value of <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html#DEFAULT_TIMEZONE"><code>DEFAULT_TIMEZONE</code></a>
360 can be used to mean "just use the default", where default is specified
361 by the serialization context, which in turn defaults to system
362 default (UTC) unless explicitly set to another timezone.</div>
363<dl>
364<dt>Default:</dt>
365<dd>"##default"</dd>
366</dl>
367</li>
368</ul>
369</li>
370</ul>
371<ul class="blockList">
372<li class="blockList"><a name="lenient--">
373<!--   -->
374</a>
375<ul class="blockList">
376<li class="blockList">
377<h4>lenient</h4>
378<pre>public abstract&nbsp;<a href="../../../../com/fasterxml/jackson/annotation/OptBoolean.html" title="enum in com.fasterxml.jackson.annotation">OptBoolean</a>&nbsp;lenient</pre>
379<div class="block">Property that indicates whether "lenient" handling should be enabled or
380 disabled. This is relevant mostly for deserialization of some textual
381 datatypes, especially date/time types.
382<p>
383 Note that underlying default setting depends on datatype (or more precisely
384 deserializer for it): for most date/time types, default is for leniency
385 to be enabled.</div>
386<dl>
387<dt><span class="simpleTagLabel">Since:</span></dt>
388<dd>2.9</dd>
389</dl>
390<dl>
391<dt>Default:</dt>
392<dd>com.fasterxml.jackson.annotation.OptBoolean.DEFAULT</dd>
393</dl>
394</li>
395</ul>
396</li>
397</ul>
398<ul class="blockList">
399<li class="blockList"><a name="with--">
400<!--   -->
401</a>
402<ul class="blockList">
403<li class="blockList">
404<h4>with</h4>
405<pre>public abstract&nbsp;<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>[]&nbsp;with</pre>
406<div class="block">Set of <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation"><code>JsonFormat.Feature</code></a>s to explicitly enable with respect
407 to handling of annotated property. This will have precedence over possible
408 global configuration.</div>
409<dl>
410<dt><span class="simpleTagLabel">Since:</span></dt>
411<dd>2.6</dd>
412</dl>
413<dl>
414<dt>Default:</dt>
415<dd>{}</dd>
416</dl>
417</li>
418</ul>
419</li>
420</ul>
421<ul class="blockList">
422<li class="blockList"><a name="without--">
423<!--   -->
424</a>
425<ul class="blockListLast">
426<li class="blockList">
427<h4>without</h4>
428<pre>public abstract&nbsp;<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Feature</a>[]&nbsp;without</pre>
429<div class="block">Set of <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation"><code>JsonFormat.Feature</code></a>s to explicitly disable with respect
430 to handling of annotated property. This will have precedence over possible
431 global configuration.</div>
432<dl>
433<dt><span class="simpleTagLabel">Since:</span></dt>
434<dd>2.6</dd>
435</dl>
436<dl>
437<dt>Default:</dt>
438<dd>{}</dd>
439</dl>
440</li>
441</ul>
442</li>
443</ul>
444</li>
445</ul>
446</div>
447</div>
448<!-- ========= END OF CLASS DATA ========= -->
449<!-- ======= START OF BOTTOM NAVBAR ====== -->
450<div class="bottomNav"><a name="navbar.bottom">
451<!--   -->
452</a>
453<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
454<a name="navbar.bottom.firstrow">
455<!--   -->
456</a>
457<ul class="navList" title="Navigation">
458<li><a href="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li>
459<li class="navBarCell1Rev">Class</li>
460<li><a href="class-use/JsonFormat.html">Use</a></li>
461<li><a href="package-tree.html">Tree</a></li>
462<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
463<li><a href="../../../../index-all.html">Index</a></li>
464<li><a href="../../../../help-doc.html">Help</a></li>
465</ul>
466</div>
467<div class="subNav">
468<ul class="navList">
469<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFilter.html" title="annotation in com.fasterxml.jackson.annotation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
470<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Feature.html" title="enum in com.fasterxml.jackson.annotation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
471</ul>
472<ul class="navList">
473<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.html" target="_top">Frames</a></li>
474<li><a href="JsonFormat.html" target="_top">No&nbsp;Frames</a></li>
475</ul>
476<ul class="navList" id="allclasses_navbar_bottom">
477<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
478</ul>
479<div>
480<script type="text/javascript"><!--
481  allClassesLink = document.getElementById("allclasses_navbar_bottom");
482  if(window==top) {
483    allClassesLink.style.display = "block";
484  }
485  else {
486    allClassesLink.style.display = "none";
487  }
488  //-->
489</script>
490</div>
491<div>
492<ul class="subNavList">
493<li>Summary:&nbsp;</li>
494<li><a href="#annotation.type.field.summary">Field</a>&nbsp;|&nbsp;</li>
495<li>Required&nbsp;|&nbsp;</li>
496<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
497</ul>
498<ul class="subNavList">
499<li>Detail:&nbsp;</li>
500<li><a href="#annotation.type.field.detail">Field</a>&nbsp;|&nbsp;</li>
501<li><a href="#annotation.type.element.detail">Element</a></li>
502</ul>
503</div>
504<a name="skip.navbar.bottom">
505<!--   -->
506</a></div>
507<!-- ======== END OF BOTTOM NAVBAR ======= -->
508<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2019 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
509</body>
510</html>
511