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_55) on Thu Jan 01 15:31:16 PST 2015 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>com.fasterxml.jackson.annotation (Jackson-annotations 2.5.0 API)</title> 8<meta name="date" content="2015-01-01"> 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.5.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 resolving actual Java object from 87 Object Identifiers (as 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.5, 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/JsonCreator.Mode.html" title="enum in com.fasterxml.jackson.annotation">JsonCreator.Mode</a></td> 193<td class="colLast"> </td> 194</tr> 195<tr class="altColor"> 196<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a></td> 197<td class="colLast"> 198<div class="block">Value enumeration used for indicating preferred Shape; translates 199 loosely to JSON types, with some extra values to indicate less precise 200 choices (i.e.</div> 201</td> 202</tr> 203<tr class="rowColor"> 204<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonInclude.Include.html" title="enum in com.fasterxml.jackson.annotation">JsonInclude.Include</a></td> 205<td class="colLast"> 206<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> 207 to define which properties 208 of Java Beans are to be included in serialization.</div> 209</td> 210</tr> 211<tr class="altColor"> 212<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.As.html" title="enum in com.fasterxml.jackson.annotation">JsonTypeInfo.As</a></td> 213<td class="colLast"> 214<div class="block">Definition of standard type inclusion mechanisms for type metadata.</div> 215</td> 216</tr> 217<tr class="rowColor"> 218<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.Id.html" title="enum in com.fasterxml.jackson.annotation">JsonTypeInfo.Id</a></td> 219<td class="colLast"> 220<div class="block">Definition of different type identifiers that can be included in JSON 221 during serialization, and used for deserialization.</div> 222</td> 223</tr> 224<tr class="altColor"> 225<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</a></td> 226<td class="colLast"> 227<div class="block">Enumeration used to define kinds of elements (called "property accessors") 228 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> 229</td> 230</tr> 231</tbody> 232</table> 233</li> 234<li class="blockList"> 235<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Annotation Types Summary table, listing annotation types, and an explanation"> 236<caption><span>Annotation Types Summary</span><span class="tabEnd"> </span></caption> 237<tr> 238<th class="colFirst" scope="col">Annotation Type</th> 239<th class="colLast" scope="col">Description</th> 240</tr> 241<tbody> 242<tr class="altColor"> 243<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JacksonAnnotation.html" title="annotation in com.fasterxml.jackson.annotation">JacksonAnnotation</a></td> 244<td class="colLast"> 245<div class="block">Meta-annotation (annotations used on other annotations) 246 used for marking all annotations that are 247 part of Jackson package.</div> 248</td> 249</tr> 250<tr class="rowColor"> 251<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JacksonAnnotationsInside.html" title="annotation in com.fasterxml.jackson.annotation">JacksonAnnotationsInside</a></td> 252<td class="colLast"> 253<div class="block">Meta-annotation (annotations used on other annotations) 254 used for indicating that instead of using target annotation 255 (annotation annotated with this annotation), 256 Jackson should use meta-annotations it has.</div> 257</td> 258</tr> 259<tr class="altColor"> 260<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JacksonInject.html" title="annotation in com.fasterxml.jackson.annotation">JacksonInject</a></td> 261<td class="colLast"> 262<div class="block">Jackson-specific annotation used for indicating that value of 263 annotated property will be "injected", i.e.</div> 264</td> 265</tr> 266<tr class="rowColor"> 267<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonAnyGetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonAnyGetter</a></td> 268<td class="colLast"> 269<div class="block">Marker annotation that can be used to define a non-static, 270 no-argument method or member field as something of a reverse of 271 <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 272 getter but such that contents of the returned Map (type <b>must</b> be 273 <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 274 of the bean that contains method/field with this annotations.</div> 275</td> 276</tr> 277<tr class="altColor"> 278<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonAnySetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonAnySetter</a></td> 279<td class="colLast"> 280<div class="block">Marker annotation that can be used to define a non-static, 281 two-argument method (first argument name of property, second value 282 to set), to be used as a "fallback" handler 283 for all otherwise unrecognized properties found from JSON content.</div> 284</td> 285</tr> 286<tr class="rowColor"> 287<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonAutoDetect.html" title="annotation in com.fasterxml.jackson.annotation">JsonAutoDetect</a></td> 288<td class="colLast"> 289<div class="block">Class annotation that can be used to define which kinds of Methods 290 are to be detected by auto-detection.</div> 291</td> 292</tr> 293<tr class="altColor"> 294<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonBackReference.html" title="annotation in com.fasterxml.jackson.annotation">JsonBackReference</a></td> 295<td class="colLast"> 296<div class="block">Annotation used to indicate that associated property is part of 297 two-way linkage between fields; and that its role is "child" (or "back") link.</div> 298</td> 299</tr> 300<tr class="rowColor"> 301<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonCreator.html" title="annotation in com.fasterxml.jackson.annotation">JsonCreator</a></td> 302<td class="colLast"> 303<div class="block">Marker annotation that can be used to define constructors and factory 304 methods as one to use for instantiating new instances of the associated 305 class.</div> 306</td> 307</tr> 308<tr class="altColor"> 309<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonFilter.html" title="annotation in com.fasterxml.jackson.annotation">JsonFilter</a></td> 310<td class="colLast"> 311<div class="block">Annotation used to indicate which logical filter is to be used 312 for filtering out properties of type (class) annotated; 313 association made by this annotation declaring ids of filters, 314 and <code>com.fasterxml.jackson.databind.ObjectMapper</code> (or objects 315 it delegates to) providing matching filters by id.</div> 316</td> 317</tr> 318<tr class="rowColor"> 319<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation">JsonFormat</a></td> 320<td class="colLast"> 321<div class="block">General-purpose annotation used for configuring details of how 322 values of properties are to be serialized.</div> 323</td> 324</tr> 325<tr class="altColor"> 326<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonGetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonGetter</a></td> 327<td class="colLast"> 328<div class="block">Marker annotation that can be used to define a non-static, 329 no-argument value-returning (non-void) method to be used as a "getter" 330 for a logical property.</div> 331</td> 332</tr> 333<tr class="rowColor"> 334<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonIdentityInfo.html" title="annotation in com.fasterxml.jackson.annotation">JsonIdentityInfo</a></td> 335<td class="colLast"> 336<div class="block">Annotation used for indicating that values of annotated type 337 or property should be serializing so that instances either 338 contain additional object identifier (in addition actual object 339 properties), or as a reference that consists of an object id 340 that refers to a full serialization.</div> 341</td> 342</tr> 343<tr class="altColor"> 344<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonIdentityReference.html" title="annotation in com.fasterxml.jackson.annotation">JsonIdentityReference</a></td> 345<td class="colLast"> 346<div class="block">Optional annotation that can be used for customizing details of a reference 347 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> 348</td> 349</tr> 350<tr class="rowColor"> 351<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonIgnore.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnore</a></td> 352<td class="colLast"> 353<div class="block">Marker annotation that indicates that the annotated method or field is to be 354 ignored by introspection-based 355 serialization and deserialization functionality.</div> 356</td> 357</tr> 358<tr class="altColor"> 359<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonIgnoreProperties.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnoreProperties</a></td> 360<td class="colLast"> 361<div class="block">Annotation that can be used to either suppress serialization of 362 properties (during serialization), or ignore processing of 363 JSON properties read (during deserialization).</div> 364</td> 365</tr> 366<tr class="rowColor"> 367<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonIgnoreType.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnoreType</a></td> 368<td class="colLast"> 369<div class="block">Marker annotation that indicates that all properties of annotated 370 type are to be ignored during serialization and deserialization.</div> 371</td> 372</tr> 373<tr class="altColor"> 374<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonInclude.html" title="annotation in com.fasterxml.jackson.annotation">JsonInclude</a></td> 375<td class="colLast"> 376<div class="block">Annotation used to indicate when value of the annotated property (when 377 used for a field, method or constructor parameter), or all 378 properties of the annotated class, is to be serialized.</div> 379</td> 380</tr> 381<tr class="rowColor"> 382<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonManagedReference.html" title="annotation in com.fasterxml.jackson.annotation">JsonManagedReference</a></td> 383<td class="colLast"> 384<div class="block">Annotation used to indicate that annotated property is part of 385 two-way linkage between fields; and that its role is "parent" (or "forward") link.</div> 386</td> 387</tr> 388<tr class="altColor"> 389<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonProperty.html" title="annotation in com.fasterxml.jackson.annotation">JsonProperty</a></td> 390<td class="colLast"> 391<div class="block">Marker annotation that can be used to define a non-static 392 method as a "setter" or "getter" for a logical property 393 (depending on its signature), 394 or non-static object field to be used (serialized, deserialized) as 395 a logical property.</div> 396</td> 397</tr> 398<tr class="rowColor"> 399<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonPropertyDescription.html" title="annotation in com.fasterxml.jackson.annotation">JsonPropertyDescription</a></td> 400<td class="colLast"> 401<div class="block">Annotaion used to define a human readable description for a logical 402 property.</div> 403</td> 404</tr> 405<tr class="altColor"> 406<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonPropertyOrder.html" title="annotation in com.fasterxml.jackson.annotation">JsonPropertyOrder</a></td> 407<td class="colLast"> 408<div class="block">Annotation that can be used to define ordering (possibly partial) to use 409 when serializing object properties.</div> 410</td> 411</tr> 412<tr class="rowColor"> 413<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonRawValue.html" title="annotation in com.fasterxml.jackson.annotation">JsonRawValue</a></td> 414<td class="colLast"> 415<div class="block">Marker annotation that indicates that the annotated method 416 or field should be serialized by including literal String value 417 of the property as is, without quoting of characters.</div> 418</td> 419</tr> 420<tr class="altColor"> 421<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonRootName.html" title="annotation in com.fasterxml.jackson.annotation">JsonRootName</a></td> 422<td class="colLast"> 423<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>, 424 used to indicate name to use for root-level wrapping, if wrapping is 425 enabled.</div> 426</td> 427</tr> 428<tr class="rowColor"> 429<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonSetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonSetter</a></td> 430<td class="colLast"> 431<div class="block">Marker annotation that can be used to define a non-static, 432 single-argument method to be used as a "setter" for a logical property 433 as an alternative to recommended 434 <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> 435</td> 436</tr> 437<tr class="altColor"> 438<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonSubTypes.html" title="annotation in com.fasterxml.jackson.annotation">JsonSubTypes</a></td> 439<td class="colLast"> 440<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 441 polymorphic types, and to associate logical names used within JSON content 442 (which is more portable than using physical Java class names).</div> 443</td> 444</tr> 445<tr class="rowColor"> 446<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonSubTypes.Type.html" title="annotation in com.fasterxml.jackson.annotation">JsonSubTypes.Type</a></td> 447<td class="colLast"> 448<div class="block">Definition of a subtype, along with optional name.</div> 449</td> 450</tr> 451<tr class="altColor"> 452<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonTypeId.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeId</a></td> 453<td class="colLast"> 454<div class="block">Marker annotation that can be used on a property accessor 455 (field, getter or setter, constructor parameter) to indicate that 456 the property is to contain type id to use when including 457 polymorphic type information.</div> 458</td> 459</tr> 460<tr class="rowColor"> 461<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeInfo</a></td> 462<td class="colLast"> 463<div class="block">Annotation used for configuring details of if and how type information is 464 used with JSON serialization and deserialization, to preserve information 465 about actual class of Object instances.</div> 466</td> 467</tr> 468<tr class="altColor"> 469<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonTypeName.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeName</a></td> 470<td class="colLast"> 471<div class="block">Annotation used for binding logical name that the annotated class 472 has.</div> 473</td> 474</tr> 475<tr class="rowColor"> 476<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonUnwrapped.html" title="annotation in com.fasterxml.jackson.annotation">JsonUnwrapped</a></td> 477<td class="colLast"> 478<div class="block">Annotation used to indicate that a property should be serialized 479 "unwrapped"; that is, if it would be serialized as JSON Object, its 480 properties are instead included as properties of its containing 481 Object.</div> 482</td> 483</tr> 484<tr class="altColor"> 485<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonValue.html" title="annotation in com.fasterxml.jackson.annotation">JsonValue</a></td> 486<td class="colLast"> 487<div class="block">Marker annotation similar to 488 <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> 489 that indicates that results of the annotated "getter" method 490 (which means signature must be that of getters; non-void return 491 type, no args) is to be used as the single value to serialize 492 for the instance.</div> 493</td> 494</tr> 495<tr class="rowColor"> 496<td class="colFirst"><a href="../../../../com/fasterxml/jackson/annotation/JsonView.html" title="annotation in com.fasterxml.jackson.annotation">JsonView</a></td> 497<td class="colLast"> 498<div class="block">Annotation used for indicating view(s) that the property 499 that is defined by method or field annotated is part of.</div> 500</td> 501</tr> 502</tbody> 503</table> 504</li> 505</ul> 506<a name="package_description"> 507<!-- --> 508</a> 509<h2 title="Package com.fasterxml.jackson.annotation Description">Package com.fasterxml.jackson.annotation Description</h2> 510<div class="block">Public core annotations, most of which are used to configure how 511 Data Mapping/Binding works. Annotations in this package can only 512 have dependencies to non-annotation classes in Core package; 513 annotations that have dependencies to Mapper classes are included 514 in Mapper module (under <code>org.codehaus.jackson.map.annotate</code>). 515 Also contains parameter types (mostly enums) needed by annotations. 516<p> 517 Note that prior versions (1.x) contained these annotations within 518 'core' jar, as part of Streaming API.</div> 519</div> 520<!-- ======= START OF BOTTOM NAVBAR ====== --> 521<div class="bottomNav"><a name="navbar_bottom"> 522<!-- --> 523</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 524<!-- --> 525</a> 526<ul class="navList" title="Navigation"> 527<li><a href="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li> 528<li>Class</li> 529<li><a href="package-use.html">Use</a></li> 530<li><a href="package-tree.html">Tree</a></li> 531<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 532<li><a href="../../../../index-all.html">Index</a></li> 533<li><a href="../../../../help-doc.html">Help</a></li> 534</ul> 535</div> 536<div class="subNav"> 537<ul class="navList"> 538<li>Prev Package</li> 539<li>Next Package</li> 540</ul> 541<ul class="navList"> 542<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/package-summary.html" target="_top">Frames</a></li> 543<li><a href="package-summary.html" target="_top">No Frames</a></li> 544</ul> 545<ul class="navList" id="allclasses_navbar_bottom"> 546<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 547</ul> 548<div> 549<script type="text/javascript"><!-- 550 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 551 if(window==top) { 552 allClassesLink.style.display = "block"; 553 } 554 else { 555 allClassesLink.style.display = "none"; 556 } 557 //--> 558</script> 559</div> 560<a name="skip-navbar_bottom"> 561<!-- --> 562</a></div> 563<!-- ======== END OF BOTTOM NAVBAR ======= --> 564<p class="legalCopy"><small>Copyright © 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 565</body> 566</html> 567