• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_79) on Sat Jan 09 21:46:11 PST 2016 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>Uses of Class com.fasterxml.jackson.annotation.JacksonAnnotation (Jackson-annotations 2.7.0 API)</title>
8<meta name="date" content="2016-01-09">
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="Uses of Class com.fasterxml.jackson.annotation.JacksonAnnotation (Jackson-annotations 2.7.0 API)";
15    }
16//-->
17</script>
18<noscript>
19<div>JavaScript is disabled on your browser.</div>
20</noscript>
21<!-- ========= START OF TOP NAVBAR ======= -->
22<div class="topNav"><a name="navbar_top">
23<!--   -->
24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
25<!--   -->
26</a>
27<ul class="navList" title="Navigation">
28<li><a href="../../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li>
29<li><a href="../../../../../com/fasterxml/jackson/annotation/JacksonAnnotation.html" title="annotation in com.fasterxml.jackson.annotation">Class</a></li>
30<li class="navBarCell1Rev">Use</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>Prev</li>
40<li>Next</li>
41</ul>
42<ul class="navList">
43<li><a href="../../../../../index.html?com/fasterxml/jackson/annotation/class-use/JacksonAnnotation.html" target="_top">Frames</a></li>
44<li><a href="JacksonAnnotation.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<a name="skip-navbar_top">
62<!--   -->
63</a></div>
64<!-- ========= END OF TOP NAVBAR ========= -->
65<div class="header">
66<h2 title="Uses of Class com.fasterxml.jackson.annotation.JacksonAnnotation" class="title">Uses of Class<br>com.fasterxml.jackson.annotation.JacksonAnnotation</h2>
67</div>
68<div class="classUseContainer">
69<ul class="blockList">
70<li class="blockList">
71<ul class="blockList">
72<li class="blockList"><a name="com.fasterxml.jackson.annotation">
73<!--   -->
74</a>
75<h3>Uses of <a href="../../../../../com/fasterxml/jackson/annotation/JacksonAnnotation.html" title="annotation in com.fasterxml.jackson.annotation">JacksonAnnotation</a> in <a href="../../../../../com/fasterxml/jackson/annotation/package-summary.html">com.fasterxml.jackson.annotation</a></h3>
76<table border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
77<caption><span>Classes in <a href="../../../../../com/fasterxml/jackson/annotation/package-summary.html">com.fasterxml.jackson.annotation</a> with annotations of type <a href="../../../../../com/fasterxml/jackson/annotation/JacksonAnnotation.html" title="annotation in com.fasterxml.jackson.annotation">JacksonAnnotation</a></span><span class="tabEnd">&nbsp;</span></caption>
78<tr>
79<th class="colFirst" scope="col">Modifier and Type</th>
80<th class="colLast" scope="col">Class and Description</th>
81</tr>
82<tbody>
83<tr class="altColor">
84<td class="colFirst"><code>interface&nbsp;</code></td>
85<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JacksonAnnotationsInside.html" title="annotation in com.fasterxml.jackson.annotation">JacksonAnnotationsInside</a></strong></code>
86<div class="block">Meta-annotation (annotations used on other annotations)
87 used for indicating that instead of using target annotation
88 (annotation annotated with this annotation),
89 Jackson should use meta-annotations it has.</div>
90</td>
91</tr>
92<tr class="rowColor">
93<td class="colFirst"><code>interface&nbsp;</code></td>
94<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JacksonInject.html" title="annotation in com.fasterxml.jackson.annotation">JacksonInject</a></strong></code>
95<div class="block">Jackson-specific annotation used for indicating that value of
96 annotated property will be "injected", i.e.</div>
97</td>
98</tr>
99<tr class="altColor">
100<td class="colFirst"><code>interface&nbsp;</code></td>
101<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonAnyGetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonAnyGetter</a></strong></code>
102<div class="block">Marker annotation that can be used to define a non-static,
103 no-argument method or member field as something of a reverse of
104 <a href="../../../../../com/fasterxml/jackson/annotation/JsonAnySetter.html" title="annotation in com.fasterxml.jackson.annotation"><code>JsonAnySetter</code></a> method; basically being used like a
105 getter but such that contents of the returned Map (type <b>must</b> be
106 <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>) are serialized as if they were actual properties
107 of the bean that contains method/field with this annotations.</div>
108</td>
109</tr>
110<tr class="rowColor">
111<td class="colFirst"><code>interface&nbsp;</code></td>
112<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonAnySetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonAnySetter</a></strong></code>
113<div class="block">Marker annotation that can be used to define a non-static,
114 two-argument method (first argument name of property, second value
115 to set), to be used as a "fallback" handler
116 for all otherwise unrecognized properties found from JSON content.</div>
117</td>
118</tr>
119<tr class="altColor">
120<td class="colFirst"><code>interface&nbsp;</code></td>
121<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonAutoDetect.html" title="annotation in com.fasterxml.jackson.annotation">JsonAutoDetect</a></strong></code>
122<div class="block">Class annotation that can be used to define which kinds of Methods
123 are to be detected by auto-detection, and with what minimum access level.</div>
124</td>
125</tr>
126<tr class="rowColor">
127<td class="colFirst"><code>interface&nbsp;</code></td>
128<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonBackReference.html" title="annotation in com.fasterxml.jackson.annotation">JsonBackReference</a></strong></code>
129<div class="block">Annotation used to indicate that associated property is part of
130 two-way linkage between fields; and that its role is "child" (or "back") link.</div>
131</td>
132</tr>
133<tr class="altColor">
134<td class="colFirst"><code>interface&nbsp;</code></td>
135<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonClassDescription.html" title="annotation in com.fasterxml.jackson.annotation">JsonClassDescription</a></strong></code>
136<div class="block">Annotation used to define a human readable description for annotated
137 type (class).</div>
138</td>
139</tr>
140<tr class="rowColor">
141<td class="colFirst"><code>interface&nbsp;</code></td>
142<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonCreator.html" title="annotation in com.fasterxml.jackson.annotation">JsonCreator</a></strong></code>
143<div class="block">Marker annotation that can be used to define constructors and factory
144 methods as one to use for instantiating new instances of the associated
145 class.</div>
146</td>
147</tr>
148<tr class="altColor">
149<td class="colFirst"><code>interface&nbsp;</code></td>
150<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonFilter.html" title="annotation in com.fasterxml.jackson.annotation">JsonFilter</a></strong></code>
151<div class="block">Annotation used to indicate which logical filter is to be used
152 for filtering out properties of type (class) annotated;
153 association made by this annotation declaring ids of filters,
154 and  <code>com.fasterxml.jackson.databind.ObjectMapper</code> (or objects
155 it delegates to) providing matching filters by id.</div>
156</td>
157</tr>
158<tr class="rowColor">
159<td class="colFirst"><code>interface&nbsp;</code></td>
160<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation">JsonFormat</a></strong></code>
161<div class="block">General-purpose annotation used for configuring details of how
162 values of properties are to be serialized.</div>
163</td>
164</tr>
165<tr class="altColor">
166<td class="colFirst"><code>interface&nbsp;</code></td>
167<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonGetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonGetter</a></strong></code>
168<div class="block">Marker annotation that can be used to define a non-static,
169 no-argument value-returning (non-void) method to be used as a "getter"
170 for a logical property.</div>
171</td>
172</tr>
173<tr class="rowColor">
174<td class="colFirst"><code>interface&nbsp;</code></td>
175<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonIdentityInfo.html" title="annotation in com.fasterxml.jackson.annotation">JsonIdentityInfo</a></strong></code>
176<div class="block">Annotation used for indicating that values of annotated type
177 or property should be serializing so that instances either
178 contain additional object identifier (in addition actual object
179 properties), or as a reference that consists of an object id
180 that refers to a full serialization.</div>
181</td>
182</tr>
183<tr class="altColor">
184<td class="colFirst"><code>interface&nbsp;</code></td>
185<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonIdentityReference.html" title="annotation in com.fasterxml.jackson.annotation">JsonIdentityReference</a></strong></code>
186<div class="block">Optional annotation that can be used for customizing details of a reference
187 to Objects for which "Object Identity" is enabled (see <a href="../../../../../com/fasterxml/jackson/annotation/JsonIdentityInfo.html" title="annotation in com.fasterxml.jackson.annotation"><code>JsonIdentityInfo</code></a>).</div>
188</td>
189</tr>
190<tr class="rowColor">
191<td class="colFirst"><code>interface&nbsp;</code></td>
192<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonIgnore.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnore</a></strong></code>
193<div class="block">Marker annotation that indicates that the annotated method or field is to be
194 ignored by introspection-based
195 serialization and deserialization functionality.</div>
196</td>
197</tr>
198<tr class="altColor">
199<td class="colFirst"><code>interface&nbsp;</code></td>
200<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonIgnoreProperties.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnoreProperties</a></strong></code>
201<div class="block">Annotation that can be used to either suppress serialization of
202 properties (during serialization), or ignore processing of
203 JSON properties read (during deserialization).</div>
204</td>
205</tr>
206<tr class="rowColor">
207<td class="colFirst"><code>interface&nbsp;</code></td>
208<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonIgnoreType.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnoreType</a></strong></code>
209<div class="block">Marker annotation that indicates that all properties of annotated
210 type are to be ignored during serialization and deserialization.</div>
211</td>
212</tr>
213<tr class="altColor">
214<td class="colFirst"><code>interface&nbsp;</code></td>
215<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.html" title="annotation in com.fasterxml.jackson.annotation">JsonInclude</a></strong></code>
216<div class="block">Annotation used to indicate when value of the annotated property (when
217 used for a field, method or constructor parameter), or all
218 properties of the annotated class, is to be serialized.</div>
219</td>
220</tr>
221<tr class="rowColor">
222<td class="colFirst"><code>interface&nbsp;</code></td>
223<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonManagedReference.html" title="annotation in com.fasterxml.jackson.annotation">JsonManagedReference</a></strong></code>
224<div class="block">Annotation used to indicate that annotated property is part of
225 two-way linkage between fields; and that its role is "parent" (or "forward") link.</div>
226</td>
227</tr>
228<tr class="altColor">
229<td class="colFirst"><code>interface&nbsp;</code></td>
230<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonProperty.html" title="annotation in com.fasterxml.jackson.annotation">JsonProperty</a></strong></code>
231<div class="block">Marker annotation that can be used to define a non-static
232 method as a "setter" or "getter" for a logical property
233 (depending on its signature),
234 or non-static object field to be used (serialized, deserialized) as
235 a logical property.</div>
236</td>
237</tr>
238<tr class="rowColor">
239<td class="colFirst"><code>interface&nbsp;</code></td>
240<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonPropertyDescription.html" title="annotation in com.fasterxml.jackson.annotation">JsonPropertyDescription</a></strong></code>
241<div class="block">Annotation used to define a human readable description for a logical
242 property.</div>
243</td>
244</tr>
245<tr class="altColor">
246<td class="colFirst"><code>interface&nbsp;</code></td>
247<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonPropertyOrder.html" title="annotation in com.fasterxml.jackson.annotation">JsonPropertyOrder</a></strong></code>
248<div class="block">Annotation that can be used to define ordering (possibly partial) to use
249 when serializing object properties.</div>
250</td>
251</tr>
252<tr class="rowColor">
253<td class="colFirst"><code>interface&nbsp;</code></td>
254<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonRawValue.html" title="annotation in com.fasterxml.jackson.annotation">JsonRawValue</a></strong></code>
255<div class="block">Marker annotation that indicates that the annotated method
256 or field should be serialized by including literal String value
257 of the property as is, without quoting of characters.</div>
258</td>
259</tr>
260<tr class="altColor">
261<td class="colFirst"><code>interface&nbsp;</code></td>
262<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonRootName.html" title="annotation in com.fasterxml.jackson.annotation">JsonRootName</a></strong></code>
263<div class="block">Annotation similar to <a href="http://docs.oracle.com/javase/6/docs/api/javax/xml/bind/annotation/XmlRootElement.html?is-external=true" title="class or interface in javax.xml.bind.annotation"><code>XmlRootElement</code></a>,
264 used to indicate name to use for root-level wrapping, if wrapping is
265 enabled.</div>
266</td>
267</tr>
268<tr class="rowColor">
269<td class="colFirst"><code>interface&nbsp;</code></td>
270<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonSetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonSetter</a></strong></code>
271<div class="block">Marker annotation that can be used to define a non-static,
272 single-argument method to be used as a "setter" for a logical property
273 as an alternative to recommended
274 <a href="../../../../../com/fasterxml/jackson/annotation/JsonProperty.html" title="annotation in com.fasterxml.jackson.annotation"><code>JsonProperty</code></a> annotation (which was introduced in version 1.1).</div>
275</td>
276</tr>
277<tr class="altColor">
278<td class="colFirst"><code>interface&nbsp;</code></td>
279<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonSubTypes.html" title="annotation in com.fasterxml.jackson.annotation">JsonSubTypes</a></strong></code>
280<div class="block">Annotation used with <a href="../../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.html" title="annotation in com.fasterxml.jackson.annotation"><code>JsonTypeInfo</code></a> to indicate sub types of serializable
281 polymorphic types, and to associate logical names used within JSON content
282 (which is more portable than using physical Java class names).</div>
283</td>
284</tr>
285<tr class="rowColor">
286<td class="colFirst"><code>interface&nbsp;</code></td>
287<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonTypeId.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeId</a></strong></code>
288<div class="block">Marker annotation that can be used on a property accessor
289 (field, getter or setter, constructor parameter) to indicate that
290 the property is to contain type id to use when including
291 polymorphic type information.</div>
292</td>
293</tr>
294<tr class="altColor">
295<td class="colFirst"><code>interface&nbsp;</code></td>
296<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeInfo</a></strong></code>
297<div class="block">Annotation used for configuring details of if and how type information is
298 used with JSON serialization and deserialization, to preserve information
299 about actual class of Object instances.</div>
300</td>
301</tr>
302<tr class="rowColor">
303<td class="colFirst"><code>interface&nbsp;</code></td>
304<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonTypeName.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeName</a></strong></code>
305<div class="block">Annotation used for binding logical name that the annotated class
306 has.</div>
307</td>
308</tr>
309<tr class="altColor">
310<td class="colFirst"><code>interface&nbsp;</code></td>
311<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonUnwrapped.html" title="annotation in com.fasterxml.jackson.annotation">JsonUnwrapped</a></strong></code>
312<div class="block">Annotation used to indicate that a property should be serialized
313 "unwrapped"; that is, if it would be serialized as JSON Object, its
314 properties are instead included as properties of its containing
315 Object.</div>
316</td>
317</tr>
318<tr class="rowColor">
319<td class="colFirst"><code>interface&nbsp;</code></td>
320<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonValue.html" title="annotation in com.fasterxml.jackson.annotation">JsonValue</a></strong></code>
321<div class="block">Marker annotation similar to
322 <a href="http://docs.oracle.com/javase/6/docs/api/javax/xml/bind/annotation/XmlValue.html?is-external=true" title="class or interface in javax.xml.bind.annotation"><code>XmlValue</code></a>
323 that indicates that results of the annotated "getter" method
324 (which means signature must be that of getters; non-void return
325 type, no args) is to be used as the single value to serialize
326 for the instance.</div>
327</td>
328</tr>
329<tr class="altColor">
330<td class="colFirst"><code>interface&nbsp;</code></td>
331<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonView.html" title="annotation in com.fasterxml.jackson.annotation">JsonView</a></strong></code>
332<div class="block">Annotation used for indicating view(s) that the property
333 that is defined by method or field annotated is part of.</div>
334</td>
335</tr>
336</tbody>
337</table>
338</li>
339</ul>
340</li>
341</ul>
342</div>
343<!-- ======= START OF BOTTOM NAVBAR ====== -->
344<div class="bottomNav"><a name="navbar_bottom">
345<!--   -->
346</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
347<!--   -->
348</a>
349<ul class="navList" title="Navigation">
350<li><a href="../../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li>
351<li><a href="../../../../../com/fasterxml/jackson/annotation/JacksonAnnotation.html" title="annotation in com.fasterxml.jackson.annotation">Class</a></li>
352<li class="navBarCell1Rev">Use</li>
353<li><a href="../package-tree.html">Tree</a></li>
354<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
355<li><a href="../../../../../index-all.html">Index</a></li>
356<li><a href="../../../../../help-doc.html">Help</a></li>
357</ul>
358</div>
359<div class="subNav">
360<ul class="navList">
361<li>Prev</li>
362<li>Next</li>
363</ul>
364<ul class="navList">
365<li><a href="../../../../../index.html?com/fasterxml/jackson/annotation/class-use/JacksonAnnotation.html" target="_top">Frames</a></li>
366<li><a href="JacksonAnnotation.html" target="_top">No Frames</a></li>
367</ul>
368<ul class="navList" id="allclasses_navbar_bottom">
369<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
370</ul>
371<div>
372<script type="text/javascript"><!--
373  allClassesLink = document.getElementById("allclasses_navbar_bottom");
374  if(window==top) {
375    allClassesLink.style.display = "block";
376  }
377  else {
378    allClassesLink.style.display = "none";
379  }
380  //-->
381</script>
382</div>
383<a name="skip-navbar_bottom">
384<!--   -->
385</a></div>
386<!-- ======== END OF BOTTOM NAVBAR ======= -->
387<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
388</body>
389</html>
390