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