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:34:32 PDT 2013 --> 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.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="Uses of Class com.fasterxml.jackson.annotation.JacksonAnnotation (Jackson-annotations 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="../../../../../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"> </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 </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 </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 </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://download.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 </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 </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.</div> 124</td> 125</tr> 126<tr class="rowColor"> 127<td class="colFirst"><code>interface </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 </code></td> 135<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonCreator.html" title="annotation in com.fasterxml.jackson.annotation">JsonCreator</a></strong></code> 136<div class="block">Marker annotation that can be used to define constructors and factory 137 methods as one to use for instantiating new instances of the associated 138 class.</div> 139</td> 140</tr> 141<tr class="rowColor"> 142<td class="colFirst"><code>interface </code></td> 143<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonFilter.html" title="annotation in com.fasterxml.jackson.annotation">JsonFilter</a></strong></code> 144<div class="block">Annotation used to indicate which logical filter is to be used 145 for filtering out properties of type (class) annotated; 146 association made by this annotation declaring ids of filters, 147 and <code>com.fasterxml.jackson.databind.ObjectMapper</code> (or objects 148 it delegates to) providing matching filters by id.</div> 149</td> 150</tr> 151<tr class="altColor"> 152<td class="colFirst"><code>interface </code></td> 153<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation">JsonFormat</a></strong></code> 154<div class="block">General-purpose annotation used for configuring details of how 155 values of properties are to be serialized.</div> 156</td> 157</tr> 158<tr class="rowColor"> 159<td class="colFirst"><code>interface </code></td> 160<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonGetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonGetter</a></strong></code> 161<div class="block">Marker annotation that can be used to define a non-static, 162 no-argument value-returning (non-void) method to be used as a "getter" 163 for a logical property.</div> 164</td> 165</tr> 166<tr class="altColor"> 167<td class="colFirst"><code>interface </code></td> 168<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonIdentityInfo.html" title="annotation in com.fasterxml.jackson.annotation">JsonIdentityInfo</a></strong></code> 169<div class="block">Annotation used for indicating that values of annotated type 170 or property should be serializing so that instances either 171 contain additional object identifier (in addition actual object 172 properties), or as a reference that consists of an object id 173 that refers to a full serialization.</div> 174</td> 175</tr> 176<tr class="rowColor"> 177<td class="colFirst"><code>interface </code></td> 178<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonIdentityReference.html" title="annotation in com.fasterxml.jackson.annotation">JsonIdentityReference</a></strong></code> 179<div class="block">Optional annotation that can be used for customizing details of a reference 180 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> 181</td> 182</tr> 183<tr class="altColor"> 184<td class="colFirst"><code>interface </code></td> 185<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonIgnore.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnore</a></strong></code> 186<div class="block">Marker annotation that indicates that the annotated method or field is to be 187 ignored by introspection-based 188 serialization and deserialization functionality.</div> 189</td> 190</tr> 191<tr class="rowColor"> 192<td class="colFirst"><code>interface </code></td> 193<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonIgnoreProperties.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnoreProperties</a></strong></code> 194<div class="block">Annotation that can be used to either suppress serialization of 195 properties (during serialization), or ignore processing of 196 JSON properties read (during deserialization).</div> 197</td> 198</tr> 199<tr class="altColor"> 200<td class="colFirst"><code>interface </code></td> 201<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonIgnoreType.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnoreType</a></strong></code> 202<div class="block">Marker annotation that indicates that all properties of annotated 203 type are to be ignored during serialization and deserialization.</div> 204</td> 205</tr> 206<tr class="rowColor"> 207<td class="colFirst"><code>interface </code></td> 208<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonInclude.html" title="annotation in com.fasterxml.jackson.annotation">JsonInclude</a></strong></code> 209<div class="block">Annotation used to indicate when value of the annotated property (when 210 used for a field, method or constructor parameter), or all 211 properties of the annotated class, is to be serialized.</div> 212</td> 213</tr> 214<tr class="altColor"> 215<td class="colFirst"><code>interface </code></td> 216<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonManagedReference.html" title="annotation in com.fasterxml.jackson.annotation">JsonManagedReference</a></strong></code> 217<div class="block">Annotation used to indicate that annotated property is part of 218 two-way linkage between fields; and that its role is "parent" (or "forward") link.</div> 219</td> 220</tr> 221<tr class="rowColor"> 222<td class="colFirst"><code>interface </code></td> 223<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonProperty.html" title="annotation in com.fasterxml.jackson.annotation">JsonProperty</a></strong></code> 224<div class="block">Marker annotation that can be used to define a non-static 225 method as a "setter" or "getter" for a logical property 226 (depending on its signature), 227 or non-static object field to be used (serialized, deserialized) as 228 a logical property.</div> 229</td> 230</tr> 231<tr class="altColor"> 232<td class="colFirst"><code>interface </code></td> 233<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonPropertyOrder.html" title="annotation in com.fasterxml.jackson.annotation">JsonPropertyOrder</a></strong></code> 234<div class="block">Annotation that can be used to define ordering (possibly partial) to use 235 when serializing object properties.</div> 236</td> 237</tr> 238<tr class="rowColor"> 239<td class="colFirst"><code>interface </code></td> 240<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonRawValue.html" title="annotation in com.fasterxml.jackson.annotation">JsonRawValue</a></strong></code> 241<div class="block">Marker annotation that indicates that the annotated method 242 or field should be serialized by including literal String value 243 of the property as is, without quoting of characters.</div> 244</td> 245</tr> 246<tr class="altColor"> 247<td class="colFirst"><code>interface </code></td> 248<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonRootName.html" title="annotation in com.fasterxml.jackson.annotation">JsonRootName</a></strong></code> 249<div class="block">Annotation similar to <a href="http://download.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>, 250 used to indicate name to use for root-level wrapping, if wrapping is 251 enabled.</div> 252</td> 253</tr> 254<tr class="rowColor"> 255<td class="colFirst"><code>interface </code></td> 256<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonSetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonSetter</a></strong></code> 257<div class="block">Marker annotation that can be used to define a non-static, 258 single-argument method to be used as a "setter" for a logical property 259 as an alternative to recommended 260 <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> 261</td> 262</tr> 263<tr class="altColor"> 264<td class="colFirst"><code>interface </code></td> 265<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonSubTypes.html" title="annotation in com.fasterxml.jackson.annotation">JsonSubTypes</a></strong></code> 266<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 267 polymorphic types, and to associate logical names used within JSON content 268 (which is more portable than using physical Java class names).</div> 269</td> 270</tr> 271<tr class="rowColor"> 272<td class="colFirst"><code>interface </code></td> 273<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonTypeId.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeId</a></strong></code> 274<div class="block">Marker annotation that can be used on a property accessor 275 (field, getter or setter, constructor parameter) to indicate that 276 the property is to contain type id to use when including 277 polymorphic type information.</div> 278</td> 279</tr> 280<tr class="altColor"> 281<td class="colFirst"><code>interface </code></td> 282<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeInfo</a></strong></code> 283<div class="block">Annotation used for configuring details of if and how type information is 284 used with JSON serialization and deserialization, to preserve information 285 about actual class of Object instances.</div> 286</td> 287</tr> 288<tr class="rowColor"> 289<td class="colFirst"><code>interface </code></td> 290<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonTypeName.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeName</a></strong></code> 291<div class="block">Annotation used for binding logical name that the annotated class 292 has.</div> 293</td> 294</tr> 295<tr class="altColor"> 296<td class="colFirst"><code>interface </code></td> 297<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonUnwrapped.html" title="annotation in com.fasterxml.jackson.annotation">JsonUnwrapped</a></strong></code> 298<div class="block">Annotation used to indicate that a property should be serialized 299 "unwrapped"; that is, if it would be serialized as JSON Object, its 300 properties are instead included as properties of its containing 301 Object.</div> 302</td> 303</tr> 304<tr class="rowColor"> 305<td class="colFirst"><code>interface </code></td> 306<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonValue.html" title="annotation in com.fasterxml.jackson.annotation">JsonValue</a></strong></code> 307<div class="block">Marker annotation similar to 308 <a href="http://download.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> 309 that indicates that results of the annotated "getter" method 310 (which means signature must be that of getters; non-void return 311 type, no args) is to be used as the single value to serialize 312 for the instance.</div> 313</td> 314</tr> 315<tr class="altColor"> 316<td class="colFirst"><code>interface </code></td> 317<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/annotation/JsonView.html" title="annotation in com.fasterxml.jackson.annotation">JsonView</a></strong></code> 318<div class="block">Annotation used for indicating view(s) that the property 319 that is defined by method or field annotated is part of.</div> 320</td> 321</tr> 322</tbody> 323</table> 324</li> 325</ul> 326</li> 327</ul> 328</div> 329<!-- ======= START OF BOTTOM NAVBAR ====== --> 330<div class="bottomNav"><a name="navbar_bottom"> 331<!-- --> 332</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 333<!-- --> 334</a> 335<ul class="navList" title="Navigation"> 336<li><a href="../../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li> 337<li><a href="../../../../../com/fasterxml/jackson/annotation/JacksonAnnotation.html" title="annotation in com.fasterxml.jackson.annotation">Class</a></li> 338<li class="navBarCell1Rev">Use</li> 339<li><a href="../package-tree.html">Tree</a></li> 340<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 341<li><a href="../../../../../index-all.html">Index</a></li> 342<li><a href="../../../../../help-doc.html">Help</a></li> 343</ul> 344</div> 345<div class="subNav"> 346<ul class="navList"> 347<li>Prev</li> 348<li>Next</li> 349</ul> 350<ul class="navList"> 351<li><a href="../../../../../index.html?com/fasterxml/jackson/annotation/class-use/JacksonAnnotation.html" target="_top">Frames</a></li> 352<li><a href="JacksonAnnotation.html" target="_top">No Frames</a></li> 353</ul> 354<ul class="navList" id="allclasses_navbar_bottom"> 355<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 356</ul> 357<div> 358<script type="text/javascript"><!-- 359 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 360 if(window==top) { 361 allClassesLink.style.display = "block"; 362 } 363 else { 364 allClassesLink.style.display = "none"; 365 } 366 //--> 367</script> 368</div> 369<a name="skip-navbar_bottom"> 370<!-- --> 371</a></div> 372<!-- ======== END OF BOTTOM NAVBAR ======= --> 373<p class="legalCopy"><small>Copyright © 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 374</body> 375</html> 376