1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.6.0_29) on Mon Mar 26 18:49:11 PDT 2012 --> 6<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<TITLE> 8com.fasterxml.jackson.annotation (Jackson-annotations 2.0.0 API) 9</TITLE> 10 11<META NAME="date" CONTENT="2012-03-26"> 12 13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> 14 15<SCRIPT type="text/javascript"> 16function windowTitle() 17{ 18 if (location.href.indexOf('is-external=true') == -1) { 19 parent.document.title="com.fasterxml.jackson.annotation (Jackson-annotations 2.0.0 API)"; 20 } 21} 22</SCRIPT> 23<NOSCRIPT> 24</NOSCRIPT> 25 26</HEAD> 27 28<BODY BGCOLOR="white" onload="windowTitle();"> 29<HR> 30 31 32<!-- ========= START OF TOP NAVBAR ======= --> 33<A NAME="navbar_top"><!-- --></A> 34<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 35<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 36<TR> 37<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 38<A NAME="navbar_top_firstrow"><!-- --></A> 39<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 40 <TR ALIGN="center" VALIGN="top"> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../com/fasterxml/jackson/annotation/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 48 </TR> 49</TABLE> 50</TD> 51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 52</EM> 53</TD> 54</TR> 55 56<TR> 57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 58 PREV PACKAGE 59 NEXT PACKAGE</FONT></TD> 60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 61 <A HREF="../../../../index.html?com/fasterxml/jackson/annotation/package-summary.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> 63 <SCRIPT type="text/javascript"> 64 <!-- 65 if(window==top) { 66 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 67 } 68 //--> 69</SCRIPT> 70<NOSCRIPT> 71 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 72</NOSCRIPT> 73 74 75</FONT></TD> 76</TR> 77</TABLE> 78<A NAME="skip-navbar_top"></A> 79<!-- ========= END OF TOP NAVBAR ========= --> 80 81<HR> 82<H2> 83Package com.fasterxml.jackson.annotation 84</H2> 85Public core annotations, most of which are used to configure how 86 Data Mapping/Binding works. 87<P> 88<B>See:</B> 89<BR> 90 <A HREF="#package_description"><B>Description</B></A> 91<P> 92 93<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 94<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 95<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 96<B>Class Summary</B></FONT></TH> 97</TR> 98<TR BGCOLOR="white" CLASS="TableRowColor"> 99<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation">JsonFormat.Value</A></B></TD> 100<TD>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> 101 annotation.</TD> 102</TR> 103<TR BGCOLOR="white" CLASS="TableRowColor"> 104<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.None.html" title="class in com.fasterxml.jackson.annotation">JsonTypeInfo.None</A></B></TD> 105<TD>This marker class that is only to be used with <code>defaultImpl</code> 106 annotation property, to indicate that there is no default implementation 107 specified.</TD> 108</TR> 109<TR BGCOLOR="white" CLASS="TableRowColor"> 110<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerator<T></A></B></TD> 111<TD>Definition of API used for constructing Object Identifiers 112 (as annotated using <A HREF="../../../../com/fasterxml/jackson/annotation/JsonIdentityInfo.html" title="annotation in com.fasterxml.jackson.annotation"><CODE>JsonIdentityInfo</CODE></A>).</TD> 113</TR> 114<TR BGCOLOR="white" CLASS="TableRowColor"> 115<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.IdKey.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerator.IdKey</A></B></TD> 116<TD>Simple key class that can be used as a key for 117 ObjectId-to-POJO mappings, when multiple ObjectId types 118 and scopes are used.</TD> 119</TR> 120<TR BGCOLOR="white" CLASS="TableRowColor"> 121<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators</A></B></TD> 122<TD>Container class for standard <A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerator.html" title="class in com.fasterxml.jackson.annotation"><CODE>ObjectIdGenerator</CODE></A> implementations.</TD> 123</TR> 124<TR BGCOLOR="white" CLASS="TableRowColor"> 125<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.IntSequenceGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.IntSequenceGenerator</A></B></TD> 126<TD>Simple sequence-number based generator, which uses basic Java 127 <code>int</code>s (starting with value 1) as Object Identifiers.</TD> 128</TR> 129<TR BGCOLOR="white" CLASS="TableRowColor"> 130<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.None.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.None</A></B></TD> 131<TD>Abstract marker class used to allow explicitly specifying 132 that no generator is used; which also implies that no 133 Object Id is to be included or used.</TD> 134</TR> 135<TR BGCOLOR="white" CLASS="TableRowColor"> 136<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.PropertyGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.PropertyGenerator</A></B></TD> 137<TD>Abstract place-holder class which is used to denote case 138 where Object Identifier to use comes from a POJO property 139 (getter method or field).</TD> 140</TR> 141<TR BGCOLOR="white" CLASS="TableRowColor"> 142<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/ObjectIdGenerators.UUIDGenerator.html" title="class in com.fasterxml.jackson.annotation">ObjectIdGenerators.UUIDGenerator</A></B></TD> 143<TD>Implementation that just uses <A HREF="http://docs.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 144 unique identifiers: downside is that resulting String is 145 36 characters long.</TD> 146</TR> 147</TABLE> 148 149 150<P> 151 152<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 153<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 154<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 155<B>Enum Summary</B></FONT></TH> 156</TR> 157<TR BGCOLOR="white" CLASS="TableRowColor"> 158<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonAutoDetect.Visibility.html" title="enum in com.fasterxml.jackson.annotation">JsonAutoDetect.Visibility</A></B></TD> 159<TD>Enumeration for possible visibility thresholds (minimum visibility) 160 that can be used to limit which methods (and fields) are 161 auto-detected.</TD> 162</TR> 163<TR BGCOLOR="white" CLASS="TableRowColor"> 164<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</A></B></TD> 165<TD>Value enumeration used for indicating preferred Shape; translates 166 loosely to JSON types, with some extra values to indicate less precise 167 choices (i.e.</TD> 168</TR> 169<TR BGCOLOR="white" CLASS="TableRowColor"> 170<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonInclude.Include.html" title="enum in com.fasterxml.jackson.annotation">JsonInclude.Include</A></B></TD> 171<TD>Enumeration used with <A HREF="../../../../com/fasterxml/jackson/annotation/JsonInclude.html" title="annotation in com.fasterxml.jackson.annotation"><CODE>JsonInclude</CODE></A> 172 to define which properties 173 of Java Beans are to be included in serialization.</TD> 174</TR> 175<TR BGCOLOR="white" CLASS="TableRowColor"> 176<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.As.html" title="enum in com.fasterxml.jackson.annotation">JsonTypeInfo.As</A></B></TD> 177<TD>Definition of standard type inclusion mechanisms for type metadata.</TD> 178</TR> 179<TR BGCOLOR="white" CLASS="TableRowColor"> 180<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.Id.html" title="enum in com.fasterxml.jackson.annotation">JsonTypeInfo.Id</A></B></TD> 181<TD>Definition of different type identifiers that can be included in JSON 182 during serialization, and used for deserialization.</TD> 183</TR> 184<TR BGCOLOR="white" CLASS="TableRowColor"> 185<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/PropertyAccessor.html" title="enum in com.fasterxml.jackson.annotation">PropertyAccessor</A></B></TD> 186<TD>Enumeration used to define kinds of elements (called "property accessors") 187 that annotations like <A HREF="../../../../com/fasterxml/jackson/annotation/JsonAutoDetect.html" title="annotation in com.fasterxml.jackson.annotation"><CODE>JsonAutoDetect</CODE></A> apply to.</TD> 188</TR> 189</TABLE> 190 191 192<P> 193 194<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 195<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 196<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 197<B>Annotation Types Summary</B></FONT></TH> 198</TR> 199<TR BGCOLOR="white" CLASS="TableRowColor"> 200<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JacksonAnnotation.html" title="annotation in com.fasterxml.jackson.annotation">JacksonAnnotation</A></B></TD> 201<TD>Meta-annotation (annotations used on other annotations) 202 used for marking all annotations that are 203 part of Jackson package.</TD> 204</TR> 205<TR BGCOLOR="white" CLASS="TableRowColor"> 206<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JacksonAnnotationsInside.html" title="annotation in com.fasterxml.jackson.annotation">JacksonAnnotationsInside</A></B></TD> 207<TD>Meta-annotation (annotations used on other annotations) 208 used for indicating that instead of using target annotation 209 (annotation annotated with this annotation), 210 Jackson should use meta-annotations it has.</TD> 211</TR> 212<TR BGCOLOR="white" CLASS="TableRowColor"> 213<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JacksonInject.html" title="annotation in com.fasterxml.jackson.annotation">JacksonInject</A></B></TD> 214<TD>Jackson-specific annotation used for indicating that value of 215 annotated property will be "injected", i.e.</TD> 216</TR> 217<TR BGCOLOR="white" CLASS="TableRowColor"> 218<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonAnyGetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonAnyGetter</A></B></TD> 219<TD>Marker annotation that can be used to define a non-static, 220 no-argument method or member field as something of a reverse of 221 <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 222 getter but such that contents of the returned Map (type <b>must</b> be 223 <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 224 of the bean that contains method/field with this annotations.</TD> 225</TR> 226<TR BGCOLOR="white" CLASS="TableRowColor"> 227<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonAnySetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonAnySetter</A></B></TD> 228<TD>Marker annotation that can be used to define a non-static, 229 single-argument method, to be used as a "fallback" handler 230 for all otherwise unrecognized properties found from Json content.</TD> 231</TR> 232<TR BGCOLOR="white" CLASS="TableRowColor"> 233<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonAutoDetect.html" title="annotation in com.fasterxml.jackson.annotation">JsonAutoDetect</A></B></TD> 234<TD>Class annotation that can be used to define which kinds of Methods 235 are to be detected by auto-detection.</TD> 236</TR> 237<TR BGCOLOR="white" CLASS="TableRowColor"> 238<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonBackReference.html" title="annotation in com.fasterxml.jackson.annotation">JsonBackReference</A></B></TD> 239<TD>Annotation used to indicate that associated property is part of 240 two-way linkage between fields; and that its role is "child" (or "back") link.</TD> 241</TR> 242<TR BGCOLOR="white" CLASS="TableRowColor"> 243<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonCreator.html" title="annotation in com.fasterxml.jackson.annotation">JsonCreator</A></B></TD> 244<TD>Marker annotation that can be used to define constructors and factory 245 methods as one to use for instantiating new instances of the associated 246 class.</TD> 247</TR> 248<TR BGCOLOR="white" CLASS="TableRowColor"> 249<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFilter.html" title="annotation in com.fasterxml.jackson.annotation">JsonFilter</A></B></TD> 250<TD>Annotation used to indicate which logical filter is to be used 251 for filtering out properties of type (class) annotated; 252 association made by this annotation declaring ids of filters, 253 and <code>com.fasterxml.jackson.databind.ObjectMapper</code> (or objects 254 it delegates to) providing matching filters by id.</TD> 255</TR> 256<TR BGCOLOR="white" CLASS="TableRowColor"> 257<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation">JsonFormat</A></B></TD> 258<TD>General-purpose annotation used for configuring details of how 259 values of properties are to be serialized.</TD> 260</TR> 261<TR BGCOLOR="white" CLASS="TableRowColor"> 262<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonGetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonGetter</A></B></TD> 263<TD>Marker annotation that can be used to define a non-static, 264 no-argument value-returning (non-void) method to be used as a "getter" 265 for a logical property.</TD> 266</TR> 267<TR BGCOLOR="white" CLASS="TableRowColor"> 268<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonIdentityInfo.html" title="annotation in com.fasterxml.jackson.annotation">JsonIdentityInfo</A></B></TD> 269<TD>Annotation used for indicating that values of annotated type 270 or property should be serializing so that instances either 271 contain additional object identifier (in addition actual object 272 properties), or as a reference that consists of an object id 273 that refers to a full serialization.</TD> 274</TR> 275<TR BGCOLOR="white" CLASS="TableRowColor"> 276<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonIgnore.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnore</A></B></TD> 277<TD>Marker annotation that indicates that the annotated method or field is to be 278 ignored by introspection-based 279 serialization and deserialization functionality.</TD> 280</TR> 281<TR BGCOLOR="white" CLASS="TableRowColor"> 282<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonIgnoreProperties.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnoreProperties</A></B></TD> 283<TD>Annotation that can be used to either suppress serialization of 284 properties (during serialization), or ignore processing of 285 JSON properties read (during deserialization).</TD> 286</TR> 287<TR BGCOLOR="white" CLASS="TableRowColor"> 288<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonIgnoreType.html" title="annotation in com.fasterxml.jackson.annotation">JsonIgnoreType</A></B></TD> 289<TD>Marker annotation that indicates that all properties of annotated 290 type are to be ignored during serialization and deserialization.</TD> 291</TR> 292<TR BGCOLOR="white" CLASS="TableRowColor"> 293<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonInclude.html" title="annotation in com.fasterxml.jackson.annotation">JsonInclude</A></B></TD> 294<TD>Annotation used to indicate when value of the annotated property (when 295 used for a field, method or constructor parameter), or all 296 properties of the annotated class, is to be serialized.</TD> 297</TR> 298<TR BGCOLOR="white" CLASS="TableRowColor"> 299<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonManagedReference.html" title="annotation in com.fasterxml.jackson.annotation">JsonManagedReference</A></B></TD> 300<TD>Annotation used to indicate that annotated property is part of 301 two-way linkage between fields; and that its role is "parent" (or "forward") link.</TD> 302</TR> 303<TR BGCOLOR="white" CLASS="TableRowColor"> 304<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonProperty.html" title="annotation in com.fasterxml.jackson.annotation">JsonProperty</A></B></TD> 305<TD>Marker annotation that can be used to define a non-static 306 method as a "setter" or "getter" for a logical property 307 (depending on its signature), 308 or non-static object field to be used (serialized, deserialized) as 309 a logical property.</TD> 310</TR> 311<TR BGCOLOR="white" CLASS="TableRowColor"> 312<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonPropertyOrder.html" title="annotation in com.fasterxml.jackson.annotation">JsonPropertyOrder</A></B></TD> 313<TD>Annotation that can be used to define ordering (possibly partial) to use 314 when serializing object properties.</TD> 315</TR> 316<TR BGCOLOR="white" CLASS="TableRowColor"> 317<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonRawValue.html" title="annotation in com.fasterxml.jackson.annotation">JsonRawValue</A></B></TD> 318<TD>Marker annotation that indicates that the annotated method 319 or field should be serialized by including literal String value 320 of the property as is, without quoting of characters.</TD> 321</TR> 322<TR BGCOLOR="white" CLASS="TableRowColor"> 323<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonRootName.html" title="annotation in com.fasterxml.jackson.annotation">JsonRootName</A></B></TD> 324<TD>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>, 325 used to indicate name to use for root-level wrapping, if wrapping is 326 enabled.</TD> 327</TR> 328<TR BGCOLOR="white" CLASS="TableRowColor"> 329<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonSetter.html" title="annotation in com.fasterxml.jackson.annotation">JsonSetter</A></B></TD> 330<TD>Marker annotation that can be used to define a non-static, 331 single-argument method to be used as a "setter" for a logical property 332 as an alternative to recommended 333 <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).</TD> 334</TR> 335<TR BGCOLOR="white" CLASS="TableRowColor"> 336<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonSubTypes.html" title="annotation in com.fasterxml.jackson.annotation">JsonSubTypes</A></B></TD> 337<TD>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 338 polymorphic types, and to associate logical names used within JSON content 339 (which is more portable than using physical Java class names).</TD> 340</TR> 341<TR BGCOLOR="white" CLASS="TableRowColor"> 342<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonSubTypes.Type.html" title="annotation in com.fasterxml.jackson.annotation">JsonSubTypes.Type</A></B></TD> 343<TD>Definition of a subtype, along with optional name.</TD> 344</TR> 345<TR BGCOLOR="white" CLASS="TableRowColor"> 346<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonTypeId.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeId</A></B></TD> 347<TD>Marker annotation that can be used on a property accessor 348 (field, getter or setter, constructor parameter) to indicate that 349 the property is to contain type id to use when including 350 polymorphic type information.</TD> 351</TR> 352<TR BGCOLOR="white" CLASS="TableRowColor"> 353<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonTypeInfo.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeInfo</A></B></TD> 354<TD>Annotation used for configuring details of if and how type information is 355 used with JSON serialization and deserialization, to preserve information 356 about actual class of Object instances.</TD> 357</TR> 358<TR BGCOLOR="white" CLASS="TableRowColor"> 359<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonTypeName.html" title="annotation in com.fasterxml.jackson.annotation">JsonTypeName</A></B></TD> 360<TD>Annotation used for binding logical name that the annotated class 361 has.</TD> 362</TR> 363<TR BGCOLOR="white" CLASS="TableRowColor"> 364<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonUnwrapped.html" title="annotation in com.fasterxml.jackson.annotation">JsonUnwrapped</A></B></TD> 365<TD>Annotation used to indicate that a property should be serialized 366 "unwrapped"; that is, if it would be serialized as JSON Object, its 367 properties are instead included as properties of its containing 368 Object.</TD> 369</TR> 370<TR BGCOLOR="white" CLASS="TableRowColor"> 371<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonValue.html" title="annotation in com.fasterxml.jackson.annotation">JsonValue</A></B></TD> 372<TD>Marker annotation similar to 373 <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> 374 that indicates that results of the annotated "getter" method 375 (which means signature must be that of getters; non-void return 376 type, no args) is to be used as the single value to serialize 377 for the instance.</TD> 378</TR> 379<TR BGCOLOR="white" CLASS="TableRowColor"> 380<TD WIDTH="15%"><B><A HREF="../../../../com/fasterxml/jackson/annotation/JsonView.html" title="annotation in com.fasterxml.jackson.annotation">JsonView</A></B></TD> 381<TD>Annotation used for indicating view(s) that the property 382 that is defined by method or field annotated is part of.</TD> 383</TR> 384</TABLE> 385 386 387<P> 388<A NAME="package_description"><!-- --></A><H2> 389Package com.fasterxml.jackson.annotation Description 390</H2> 391 392<P> 393Public core annotations, most of which are used to configure how 394 Data Mapping/Binding works. Annotations in this package can only 395 have dependencies to non-annotation classes in Core package; 396 annotations that have dependencies to Mapper classes are included 397 in Mapper module (under <code>org.codehaus.jackson.map.annotate</code>). 398 Also contains parameter types (mostly enums) needed by annotations. 399<p> 400 In future (version 2.0?), this package will probably be split off 401 as a separate jar/module, to allow use of annotations without 402 including core module. This would be useful for third party value 403 classes that themselves do not depend on Jackson, but may want to 404 be annotated to be automatically and conveniently serializable by 405 Jackson. 406<P> 407 408<P> 409<DL> 410</DL> 411<HR> 412 413 414<!-- ======= START OF BOTTOM NAVBAR ====== --> 415<A NAME="navbar_bottom"><!-- --></A> 416<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 417<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 418<TR> 419<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 420<A NAME="navbar_bottom_firstrow"><!-- --></A> 421<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 422 <TR ALIGN="center" VALIGN="top"> 423 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../com/fasterxml/jackson/annotation/package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 424 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT> </TD> 425 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 426 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 427 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 428 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 429 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 430 </TR> 431</TABLE> 432</TD> 433<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 434</EM> 435</TD> 436</TR> 437 438<TR> 439<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 440 PREV PACKAGE 441 NEXT PACKAGE</FONT></TD> 442<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 443 <A HREF="../../../../index.html?com/fasterxml/jackson/annotation/package-summary.html" target="_top"><B>FRAMES</B></A> 444 <A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A> 445 <SCRIPT type="text/javascript"> 446 <!-- 447 if(window==top) { 448 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); 449 } 450 //--> 451</SCRIPT> 452<NOSCRIPT> 453 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> 454</NOSCRIPT> 455 456 457</FONT></TD> 458</TR> 459</TABLE> 460<A NAME="skip-navbar_bottom"></A> 461<!-- ======== END OF BOTTOM NAVBAR ======= --> 462 463<HR> 464Copyright © 2012 <a href="http://fasterxml.com">fasterxml.com</a>. All Rights Reserved. 465</BODY> 466</HTML> 467