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_25) on Thu May 29 09:45:53 PDT 2014 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>com.fasterxml.jackson.annotation (Jackson-annotations 2.4.0 API)</title> 8<meta name="date" content="2014-05-29"> 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="com.fasterxml.jackson.annotation (Jackson-annotations 2.4.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>Class</li> 30<li><a href="package-use.html">Use</a></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 Package</li> 40<li>Next Package</li> 41</ul> 42<ul class="navList"> 43<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/package-summary.html" target="_top">Frames</a></li> 44<li><a href="package-summary.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<h1 title="Package" class="title">Package com.fasterxml.jackson.annotation</h1> 67<div class="docSummary"> 68<div class="block">Public core annotations, most of which are used to configure how 69 Data Mapping/Binding works.</div> 70</div> 71<p>See: <a href="#package_description">Description</a></p> 72</div> 73<div class="contentContainer"> 74<ul class="blockList"> 75<li class="blockList"> 76<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation"> 77<caption><span>Interface Summary</span><span class="tabEnd"> </span></caption> 78<tr> 79<th class="colFirst" scope="col">Interface</th> 80<th class="colLast" scope="col">Description</th> 81</tr> 82<tbody> 83<tr class="altColor"> 84<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdResolver.html" title="interface in com.fasterxml.jackson.annotation">ObjectIdResolver</a></td> 85<td class="colLast"> 86<div class="block">Definition of API used for constructing POJO from Object Identifiers (as 87 annotated using <a href="../../../../com/fasterxml/jackson/annotation/JsonIdentityInfo.html" title="annotation in com.fasterxml.jackson.annotation"><code>JsonIdentityInfo</code></a>).</div> 88</td> 89</tr> 90</tbody> 91</table> 92</li> 93<li class="blockList"> 94<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation"> 95<caption><span>Class Summary</span><span class="tabEnd"> </span></caption> 96<tr> 97<th class="colFirst" scope="col">Class</th> 98<th class="colLast" scope="col">Description</th> 99</tr> 100<tbody> 101<tr class="altColor"> 102<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation">JsonFormat.Value</a></td> 103<td class="colLast"> 104<div class="block">Helper class used to contain information from a single <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation"><code>JsonFormat</code></a> 105 annotation.</div> 106</td> 107</tr> 108<tr class="rowColor"> 109<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.None.html" title="class in com.fasterxml.jackson.annotation">JsonTypeInfo.None</a></td> 110<td class="colLast">Deprecated 111<div class="block"><i>Since 2.4, use <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang"><code>Void</code></a> instead.</i></div> 112</td> 113</tr> 114<tr class="altColor"> 115<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerator</a><T></td> 116<td class="colLast"> 117<div class="block">Definition of API used for constructing Object Identifiers 118 (as annotated using <a href="../../../../com/fasterxml/jackson/annotation/JsonIdentityInfo.html" title="annotation in com.fasterxml.jackson.annotation"><code>JsonIdentityInfo</code></a>).</div> 119</td> 120</tr> 121<tr class="rowColor"> 122<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.IdKey.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerator.IdKey</a></td> 123<td class="colLast"> 124<div class="block">Simple key class that can be used as a key for 125 ObjectId-to-POJO mappings, when multiple ObjectId types 126 and scopes are used.</div> 127</td> 128</tr> 129<tr class="altColor"> 130<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators</a></td> 131<td class="colLast"> 132<div class="block">Container class for standard <a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="class in com.fasterxml.jackson.annotation"><code>ObjectIdGenerator</code></a> implementations.</div> 133</td> 134</tr> 135<tr class="rowColor"> 136<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.IntSequenceGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.IntSequenceGenerator</a></td> 137<td class="colLast"> 138<div class="block">Simple sequence-number based generator, which uses basic Java 139 <code>int</code>s (starting with value 1) as Object Identifiers.</div> 140</td> 141</tr> 142<tr class="altColor"> 143<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.None.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.None</a></td> 144<td class="colLast"> 145<div class="block">Abstract marker class used to allow explicitly specifying 146 that no generator is used; which also implies that no 147 Object Id is to be included or used.</div> 148</td> 149</tr> 150<tr class="rowColor"> 151<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.PropertyGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.PropertyGenerator</a></td> 152<td class="colLast"> 153<div class="block">Abstract place-holder class which is used to denote case 154 where Object Identifier to use comes from a POJO property 155 (getter method or field).</div> 156</td> 157</tr> 158<tr class="altColor"> 159<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.UUIDGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.UUIDGenerator</a></td> 160<td class="colLast"> 161<div class="block">Implementation that just uses <a href="http://download.oracle.com/javase/6/docs/api/java/util/UUID.html?is-external=true" title="class or interface in java.util"><code>UUID</code></a>s as reliably 162 unique identifiers: downside is that resulting String is 163 36 characters long.</div> 164</td> 165</tr> 166<tr class="rowColor"> 167<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/SimpleObjectIdResolver.html" title="class in com.fasterxml.jackson.annotation">SimpleObjectIdResolver</a></td> 168<td class="colLast"> 169<div class="block">Simple implementation of <a href="../../../../com/fasterxml/jackson/annotation/ObjectIdResolver.html" title="interface in com.fasterxml.jackson.annotation"><code>ObjectIdResolver</code></a></div> 170</td> 171</tr> 172</tbody> 173</table> 174</li> 175<li class="blockList"> 176<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation"> 177<caption><span>Enum Summary</span><span class="tabEnd"> </span></caption> 178<tr> 179<th class="colFirst" scope="col">Enum</th> 180<th class="colLast" scope="col">Description</th> 181</tr> 182<tbody> 183<tr class="altColor"> 184<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html" title="enum in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</a></td> 185<td class="colLast"> 186<div class="block">Enumeration for possible visibility thresholds (minimum visibility) 187 that can be used to limit which methods (and fields) are 188 auto-detected.</div> 189</td> 190</tr> 191<tr class="rowColor"> 192<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a></td> 193<td class="colLast"> 194<div class="block">Value enumeration used for indicating preferred Shape; translates 195 loosely to JSON types, with some extra values to indicate less precise 196 choices (i.e.</div> 197</td> 198</tr> 199<tr class="altColor"> 200<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonInclude.Include.html" title="enum in com.fasterxml.jackson.annotation">JsonInclude.Include</a></td> 201<td class="colLast"> 202<div class="block">Enumeration used with <a href="../../../../com/fasterxml/jackson/annotation/JsonInclude.html" title="annotation in com.fasterxml.jackson.annotation"><code>JsonInclude</code></a> 203 to define which properties 204 of Java Beans are to be included in serialization.</div> 205</td> 206</tr> 207<tr class="rowColor"> 208<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.As.html" title="enum in com.fasterxml.jackson.annotation">JsonTypeInfo.As</a></td> 209<td class="colLast"> 210<div class="block">Definition of standard type inclusion mechanisms for type metadata.</div> 211</td> 212</tr> 213<tr class="altColor"> 214<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.Id.html" title="enum in com.fasterxml.jackson.annotation">JsonTypeInfo.Id</a></td> 215<td class="colLast"> 216<div class="block">Definition of different type identifiers that can be included in JSON 217 during serialization, and used for deserialization.</div> 218</td> 219</tr> 220<tr class="rowColor"> 221<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</a></td> 222<td class="colLast"> 223<div class="block">Enumeration used to define kinds of elements (called "property accessors") 224 that annotations like <a href="../../../../com/fasterxml/jackson/annotation/JsonAutoDetect.html" title="annotation in com.fasterxml.jackson.annotation"><code>JsonAutoDetect</code></a> apply to.</div> 225</td> 226</tr> 227</tbody> 228</table> 229</li> 230<li class="blockList"> 231<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Annotation Types Summary table, listing annotation types, and an explanation"> 232<caption><span>Annotation Types Summary</span><span class="tabEnd"> </span></caption> 233<tr> 234<th class="colFirst" scope="col">Annotation Type</th> 235<th class="colLast" scope="col">Description</th> 236</tr> 237<tbody> 238<tr class="altColor"> 239<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JacksonAnnotation.html" title="annotation in com.fasterxml.jackson.annotation">JacksonAnnotation</a></td> 240<td class="colLast"> 241<div class="block">Meta-annotation (annotations used on other annotations) 242 used for marking all annotations that are 243 part of Jackson package.</div> 244</td> 245</tr> 246<tr class="rowColor"> 247<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JacksonAnnotationsInside.html" title="annotation in com.fasterxml.jackson.annotation">JacksonAnnotationsInside</a></td> 248<td class="colLast"> 249<div class="block">Meta-annotation (annotations used on other annotations) 250 used for indicating that instead of using target annotation 251 (annotation annotated with this annotation), 252 Jackson should use meta-annotations it has.</div> 253</td> 254</tr> 255<tr class="altColor"> 256<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JacksonInject.html" title="annotation in com.fasterxml.jackson.annotation">JacksonInject</a></td> 257<td class="colLast"> 258<div class="block">Jackson-specific annotation used for indicating that value of 259 annotated property will be "injected", i.e.</div> 260</td> 261</tr> 262<tr class="rowColor"> 263<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonAnyGetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonAnyGetter</a></td> 264<td class="colLast"> 265<div class="block">Marker annotation that can be used to define a non-static, 266 no-argument method or member field as something of a reverse of 267 <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 268 getter but such that contents of the returned Map (type <b>must</b> be 269 <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 270 of the bean that contains method/field with this annotations.</div> 271</td> 272</tr> 273<tr class="altColor"> 274<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonAnySetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonAnySetter</a></td> 275<td class="colLast"> 276<div class="block">Marker annotation that can be used to define a non-static, 277 two-argument method (first argument name of property, second value 278 to set), to be used as a "fallback" handler 279 for all otherwise unrecognized properties found from JSON content.</div> 280</td> 281</tr> 282<tr class="rowColor"> 283<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonAutoDetect.html" title="annotation in com.fasterxml.jackson.annotation">JsonAutoDetect</a></td> 284<td class="colLast"> 285<div class="block">Class annotation that can be used to define which kinds of Methods 286 are to be detected by auto-detection.</div> 287</td> 288</tr> 289<tr class="altColor"> 290<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonBackReference.html" title="annotation in com.fasterxml.jackson.annotation">JsonBackReference</a></td> 291<td class="colLast"> 292<div class="block">Annotation used to indicate that associated property is part of 293 two-way linkage between fields; and that its role is "child" (or "back") link.</div> 294</td> 295</tr> 296<tr class="rowColor"> 297<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonCreator.html" title="annotation in com.fasterxml.jackson.annotation">JsonCreator</a></td> 298<td class="colLast"> 299<div class="block">Marker annotation that can be used to define constructors and factory 300 methods as one to use for instantiating new instances of the associated 301 class.</div> 302</td> 303</tr> 304<tr class="altColor"> 305<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonFilter.html" title="annotation in com.fasterxml.jackson.annotation">JsonFilter</a></td> 306<td class="colLast"> 307<div class="block">Annotation used to indicate which logical filter is to be used 308 for filtering out properties of type (class) annotated; 309 association made by this annotation declaring ids of filters, 310 and <code>com.fasterxml.jackson.databind.ObjectMapper</code> (or objects 311 it delegates to) providing matching filters by id.</div> 312</td> 313</tr> 314<tr class="rowColor"> 315<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation">JsonFormat</a></td> 316<td class="colLast"> 317<div class="block">General-purpose annotation used for configuring details of how 318 values of properties are to be serialized.</div> 319</td> 320</tr> 321<tr class="altColor"> 322<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonGetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonGetter</a></td> 323<td class="colLast"> 324<div class="block">Marker annotation that can be used to define a non-static, 325 no-argument value-returning (non-void) method to be used as a "getter" 326 for a logical property.</div> 327</td> 328</tr> 329<tr class="rowColor"> 330<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonIdentityInfo.html" title="annotation in com.fasterxml.jackson.annotation">JsonIdentityInfo</a></td> 331<td class="colLast"> 332<div class="block">Annotation used for indicating that values of annotated type 333 or property should be serializing so that instances either 334 contain additional object identifier (in addition actual object 335 properties), or as a reference that consists of an object id 336 that refers to a full serialization.</div> 337</td> 338</tr> 339<tr class="altColor"> 340<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonIdentityReference.html" title="annotation in com.fasterxml.jackson.annotation">JsonIdentityReference</a></td> 341<td class="colLast"> 342<div class="block">Optional annotation that can be used for customizing details of a reference 343 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> 344</td> 345</tr> 346<tr class="rowColor"> 347<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonIgnore.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnore</a></td> 348<td class="colLast"> 349<div class="block">Marker annotation that indicates that the annotated method or field is to be 350 ignored by introspection-based 351 serialization and deserialization functionality.</div> 352</td> 353</tr> 354<tr class="altColor"> 355<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonIgnoreProperties.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnoreProperties</a></td> 356<td class="colLast"> 357<div class="block">Annotation that can be used to either suppress serialization of 358 properties (during serialization), or ignore processing of 359 JSON properties read (during deserialization).</div> 360</td> 361</tr> 362<tr class="rowColor"> 363<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonIgnoreType.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnoreType</a></td> 364<td class="colLast"> 365<div class="block">Marker annotation that indicates that all properties of annotated 366 type are to be ignored during serialization and deserialization.</div> 367</td> 368</tr> 369<tr class="altColor"> 370<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonInclude.html" title="annotation in com.fasterxml.jackson.annotation">JsonInclude</a></td> 371<td class="colLast"> 372<div class="block">Annotation used to indicate when value of the annotated property (when 373 used for a field, method or constructor parameter), or all 374 properties of the annotated class, is to be serialized.</div> 375</td> 376</tr> 377<tr class="rowColor"> 378<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonManagedReference.html" title="annotation in com.fasterxml.jackson.annotation">JsonManagedReference</a></td> 379<td class="colLast"> 380<div class="block">Annotation used to indicate that annotated property is part of 381 two-way linkage between fields; and that its role is "parent" (or "forward") link.</div> 382</td> 383</tr> 384<tr class="altColor"> 385<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonProperty.html" title="annotation in com.fasterxml.jackson.annotation">JsonProperty</a></td> 386<td class="colLast"> 387<div class="block">Marker annotation that can be used to define a non-static 388 method as a "setter" or "getter" for a logical property 389 (depending on its signature), 390 or non-static object field to be used (serialized, deserialized) as 391 a logical property.</div> 392</td> 393</tr> 394<tr class="rowColor"> 395<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonPropertyDescription.html" title="annotation in com.fasterxml.jackson.annotation">JsonPropertyDescription</a></td> 396<td class="colLast"> 397<div class="block">Annotaion used to define a human readable description for a logical 398 property.</div> 399</td> 400</tr> 401<tr class="altColor"> 402<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonPropertyOrder.html" title="annotation in com.fasterxml.jackson.annotation">JsonPropertyOrder</a></td> 403<td class="colLast"> 404<div class="block">Annotation that can be used to define ordering (possibly partial) to use 405 when serializing object properties.</div> 406</td> 407</tr> 408<tr class="rowColor"> 409<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonRawValue.html" title="annotation in com.fasterxml.jackson.annotation">JsonRawValue</a></td> 410<td class="colLast"> 411<div class="block">Marker annotation that indicates that the annotated method 412 or field should be serialized by including literal String value 413 of the property as is, without quoting of characters.</div> 414</td> 415</tr> 416<tr class="altColor"> 417<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonRootName.html" title="annotation in com.fasterxml.jackson.annotation">JsonRootName</a></td> 418<td class="colLast"> 419<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>, 420 used to indicate name to use for root-level wrapping, if wrapping is 421 enabled.</div> 422</td> 423</tr> 424<tr class="rowColor"> 425<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonSetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonSetter</a></td> 426<td class="colLast"> 427<div class="block">Marker annotation that can be used to define a non-static, 428 single-argument method to be used as a "setter" for a logical property 429 as an alternative to recommended 430 <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> 431</td> 432</tr> 433<tr class="altColor"> 434<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonSubTypes.html" title="annotation in com.fasterxml.jackson.annotation">JsonSubTypes</a></td> 435<td class="colLast"> 436<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 437 polymorphic types, and to associate logical names used within JSON content 438 (which is more portable than using physical Java class names).</div> 439</td> 440</tr> 441<tr class="rowColor"> 442<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonSubTypes.Type.html" title="annotation in com.fasterxml.jackson.annotation">JsonSubTypes.Type</a></td> 443<td class="colLast"> 444<div class="block">Definition of a subtype, along with optional name.</div> 445</td> 446</tr> 447<tr class="altColor"> 448<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonTypeId.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeId</a></td> 449<td class="colLast"> 450<div class="block">Marker annotation that can be used on a property accessor 451 (field, getter or setter, constructor parameter) to indicate that 452 the property is to contain type id to use when including 453 polymorphic type information.</div> 454</td> 455</tr> 456<tr class="rowColor"> 457<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeInfo</a></td> 458<td class="colLast"> 459<div class="block">Annotation used for configuring details of if and how type information is 460 used with JSON serialization and deserialization, to preserve information 461 about actual class of Object instances.</div> 462</td> 463</tr> 464<tr class="altColor"> 465<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonTypeName.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeName</a></td> 466<td class="colLast"> 467<div class="block">Annotation used for binding logical name that the annotated class 468 has.</div> 469</td> 470</tr> 471<tr class="rowColor"> 472<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonUnwrapped.html" title="annotation in com.fasterxml.jackson.annotation">JsonUnwrapped</a></td> 473<td class="colLast"> 474<div class="block">Annotation used to indicate that a property should be serialized 475 "unwrapped"; that is, if it would be serialized as JSON Object, its 476 properties are instead included as properties of its containing 477 Object.</div> 478</td> 479</tr> 480<tr class="altColor"> 481<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonValue.html" title="annotation in com.fasterxml.jackson.annotation">JsonValue</a></td> 482<td class="colLast"> 483<div class="block">Marker annotation similar to 484 <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> 485 that indicates that results of the annotated "getter" method 486 (which means signature must be that of getters; non-void return 487 type, no args) is to be used as the single value to serialize 488 for the instance.</div> 489</td> 490</tr> 491<tr class="rowColor"> 492<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonView.html" title="annotation in com.fasterxml.jackson.annotation">JsonView</a></td> 493<td class="colLast"> 494<div class="block">Annotation used for indicating view(s) that the property 495 that is defined by method or field annotated is part of.</div> 496</td> 497</tr> 498</tbody> 499</table> 500</li> 501</ul> 502<a name="package_description"> 503<!-- --> 504</a> 505<h2 title="Package com.fasterxml.jackson.annotation Description">Package com.fasterxml.jackson.annotation Description</h2> 506<div class="block">Public core annotations, most of which are used to configure how 507 Data Mapping/Binding works. Annotations in this package can only 508 have dependencies to non-annotation classes in Core package; 509 annotations that have dependencies to Mapper classes are included 510 in Mapper module (under <code>org.codehaus.jackson.map.annotate</code>). 511 Also contains parameter types (mostly enums) needed by annotations. 512<p> 513 Note that prior versions (1.x) contained these annotations within 514 'core' jar, as part of Streaming API.</div> 515</div> 516<!-- ======= START OF BOTTOM NAVBAR ====== --> 517<div class="bottomNav"><a name="navbar_bottom"> 518<!-- --> 519</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 520<!-- --> 521</a> 522<ul class="navList" title="Navigation"> 523<li><a href="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li> 524<li>Class</li> 525<li><a href="package-use.html">Use</a></li> 526<li><a href="package-tree.html">Tree</a></li> 527<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 528<li><a href="../../../../index-all.html">Index</a></li> 529<li><a href="../../../../help-doc.html">Help</a></li> 530</ul> 531</div> 532<div class="subNav"> 533<ul class="navList"> 534<li>Prev Package</li> 535<li>Next Package</li> 536</ul> 537<ul class="navList"> 538<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/package-summary.html" target="_top">Frames</a></li> 539<li><a href="package-summary.html" target="_top">No Frames</a></li> 540</ul> 541<ul class="navList" id="allclasses_navbar_bottom"> 542<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 543</ul> 544<div> 545<script type="text/javascript"><!-- 546 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 547 if(window==top) { 548 allClassesLink.style.display = "block"; 549 } 550 else { 551 allClassesLink.style.display = "none"; 552 } 553 //--> 554</script> 555</div> 556<a name="skip-navbar_bottom"> 557<!-- --> 558</a></div> 559<!-- ======== END OF BOTTOM NAVBAR ======= --> 560<p class="legalCopy"><small>Copyright © 2014 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 561</body> 562</html> 563