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 Wed Jul 20 08:39:10 PDT 2016 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>JsonAppend (jackson-databind 2.8.0 API)</title> 8<meta name="date" content="2016-07-20"> 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="JsonAppend (jackson-databind 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="../../../../../overview-summary.html">Overview</a></li> 29<li><a href="package-summary.html">Package</a></li> 30<li class="navBarCell1Rev">Class</li> 31<li><a href="class-use/JsonAppend.html">Use</a></li> 32<li><a href="package-tree.html">Tree</a></li> 33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 34<li><a href="../../../../../index-all.html">Index</a></li> 35<li><a href="../../../../../help-doc.html">Help</a></li> 36</ul> 37</div> 38<div class="subNav"> 39<ul class="navList"> 40<li><a href="../../../../../com/fasterxml/jackson/databind/annotation/JacksonStdImpl.html" title="annotation in com.fasterxml.jackson.databind.annotation"><span class="strong">Prev Class</span></a></li> 41<li><a href="../../../../../com/fasterxml/jackson/databind/annotation/JsonAppend.Attr.html" title="annotation in com.fasterxml.jackson.databind.annotation"><span class="strong">Next Class</span></a></li> 42</ul> 43<ul class="navList"> 44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/annotation/JsonAppend.html" target="_top">Frames</a></li> 45<li><a href="JsonAppend.html" target="_top">No Frames</a></li> 46</ul> 47<ul class="navList" id="allclasses_navbar_top"> 48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 49</ul> 50<div> 51<script type="text/javascript"><!-- 52 allClassesLink = document.getElementById("allclasses_navbar_top"); 53 if(window==top) { 54 allClassesLink.style.display = "block"; 55 } 56 else { 57 allClassesLink.style.display = "none"; 58 } 59 //--> 60</script> 61</div> 62<div> 63<ul class="subNavList"> 64<li>Summary: </li> 65<li>Required | </li> 66<li><a href="#annotation_type_optional_element_summary">Optional</a></li> 67</ul> 68<ul class="subNavList"> 69<li>Detail: </li> 70<li><a href="#annotation_type_element_detail">Element</a></li> 71</ul> 72</div> 73<a name="skip-navbar_top"> 74<!-- --> 75</a></div> 76<!-- ========= END OF TOP NAVBAR ========= --> 77<!-- ======== START OF CLASS DATA ======== --> 78<div class="header"> 79<div class="subTitle">com.fasterxml.jackson.databind.annotation</div> 80<h2 title="Annotation Type JsonAppend" class="title">Annotation Type JsonAppend</h2> 81</div> 82<div class="contentContainer"> 83<div class="description"> 84<ul class="blockList"> 85<li class="blockList"> 86<hr> 87<br> 88<pre><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Target.html?is-external=true#value()" title="class or interface in java.lang.annotation">value</a>={<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#ANNOTATION_TYPE" title="class or interface in java.lang.annotation">ANNOTATION_TYPE</a>,<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/ElementType.html?is-external=true#TYPE" title="class or interface in java.lang.annotation">TYPE</a>}) 89<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Retention.html?is-external=true#value()" title="class or interface in java.lang.annotation">value</a>=<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>) 90public @interface <span class="strong">JsonAppend</span></pre> 91<div class="block">Annotation that may be used to add "virtual" properties to be written 92 after regular properties (although ordering may be changed using 93 both standard <code>@JsonPropertyOrder</code> annotation, and 94 properties of this annotation).</div> 95<dl><dt><span class="strong">Since:</span></dt> 96 <dd>2.5</dd></dl> 97</li> 98</ul> 99</div> 100<div class="summary"> 101<ul class="blockList"> 102<li class="blockList"> 103<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== --> 104<ul class="blockList"> 105<li class="blockList"><a name="annotation_type_optional_element_summary"> 106<!-- --> 107</a> 108<h3>Optional Element Summary</h3> 109<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Optional Element Summary table, listing optional elements, and an explanation"> 110<caption><span>Optional Elements</span><span class="tabEnd"> </span></caption> 111<tr> 112<th class="colFirst" scope="col">Modifier and Type</th> 113<th class="colLast" scope="col">Optional Element and Description</th> 114</tr> 115<tr class="altColor"> 116<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/annotation/JsonAppend.Attr.html" title="annotation in com.fasterxml.jackson.databind.annotation">JsonAppend.Attr</a>[]</code></td> 117<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/annotation/JsonAppend.html#attrs()">attrs</a></strong></code> 118<div class="block">Set of attribute-backed properties to include when serializing 119 a POJO.</div> 120</td> 121</tr> 122<tr class="rowColor"> 123<td class="colFirst"><code>boolean</code></td> 124<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/annotation/JsonAppend.html#prepend()">prepend</a></strong></code> 125<div class="block">Indicator used to determine whether properties defined are to be 126 appended after (false) or prepended before (true) regular properties.</div> 127</td> 128</tr> 129<tr class="altColor"> 130<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/annotation/JsonAppend.Prop.html" title="annotation in com.fasterxml.jackson.databind.annotation">JsonAppend.Prop</a>[]</code></td> 131<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/annotation/JsonAppend.html#props()">props</a></strong></code> 132<div class="block">Set of general virtual properties to include when serializing a POJO.</div> 133</td> 134</tr> 135</table> 136</li> 137</ul> 138</li> 139</ul> 140</div> 141<div class="details"> 142<ul class="blockList"> 143<li class="blockList"> 144<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== --> 145<ul class="blockList"> 146<li class="blockList"><a name="annotation_type_element_detail"> 147<!-- --> 148</a> 149<h3>Element Detail</h3> 150<a name="attrs()"> 151<!-- --> 152</a> 153<ul class="blockList"> 154<li class="blockList"> 155<h4>attrs</h4> 156<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/annotation/JsonAppend.Attr.html" title="annotation in com.fasterxml.jackson.databind.annotation">JsonAppend.Attr</a>[] attrs</pre> 157<div class="block">Set of attribute-backed properties to include when serializing 158 a POJO.</div> 159<dl> 160<dt>Default:</dt> 161<dd>{}</dd> 162</dl> 163</li> 164</ul> 165<a name="props()"> 166<!-- --> 167</a> 168<ul class="blockList"> 169<li class="blockList"> 170<h4>props</h4> 171<pre>public abstract <a href="../../../../../com/fasterxml/jackson/databind/annotation/JsonAppend.Prop.html" title="annotation in com.fasterxml.jackson.databind.annotation">JsonAppend.Prop</a>[] props</pre> 172<div class="block">Set of general virtual properties to include when serializing a POJO.</div> 173<dl> 174<dt>Default:</dt> 175<dd>{}</dd> 176</dl> 177</li> 178</ul> 179<a name="prepend()"> 180<!-- --> 181</a> 182<ul class="blockListLast"> 183<li class="blockList"> 184<h4>prepend</h4> 185<pre>public abstract boolean prepend</pre> 186<div class="block">Indicator used to determine whether properties defined are to be 187 appended after (false) or prepended before (true) regular properties. 188 Affects all kinds of properties defined using this annotation.</div> 189<dl> 190<dt>Default:</dt> 191<dd>false</dd> 192</dl> 193</li> 194</ul> 195</li> 196</ul> 197</li> 198</ul> 199</div> 200</div> 201<!-- ========= END OF CLASS DATA ========= --> 202<!-- ======= START OF BOTTOM NAVBAR ====== --> 203<div class="bottomNav"><a name="navbar_bottom"> 204<!-- --> 205</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 206<!-- --> 207</a> 208<ul class="navList" title="Navigation"> 209<li><a href="../../../../../overview-summary.html">Overview</a></li> 210<li><a href="package-summary.html">Package</a></li> 211<li class="navBarCell1Rev">Class</li> 212<li><a href="class-use/JsonAppend.html">Use</a></li> 213<li><a href="package-tree.html">Tree</a></li> 214<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 215<li><a href="../../../../../index-all.html">Index</a></li> 216<li><a href="../../../../../help-doc.html">Help</a></li> 217</ul> 218</div> 219<div class="subNav"> 220<ul class="navList"> 221<li><a href="../../../../../com/fasterxml/jackson/databind/annotation/JacksonStdImpl.html" title="annotation in com.fasterxml.jackson.databind.annotation"><span class="strong">Prev Class</span></a></li> 222<li><a href="../../../../../com/fasterxml/jackson/databind/annotation/JsonAppend.Attr.html" title="annotation in com.fasterxml.jackson.databind.annotation"><span class="strong">Next Class</span></a></li> 223</ul> 224<ul class="navList"> 225<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/annotation/JsonAppend.html" target="_top">Frames</a></li> 226<li><a href="JsonAppend.html" target="_top">No Frames</a></li> 227</ul> 228<ul class="navList" id="allclasses_navbar_bottom"> 229<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 230</ul> 231<div> 232<script type="text/javascript"><!-- 233 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 234 if(window==top) { 235 allClassesLink.style.display = "block"; 236 } 237 else { 238 allClassesLink.style.display = "none"; 239 } 240 //--> 241</script> 242</div> 243<div> 244<ul class="subNavList"> 245<li>Summary: </li> 246<li>Required | </li> 247<li><a href="#annotation_type_optional_element_summary">Optional</a></li> 248</ul> 249<ul class="subNavList"> 250<li>Detail: </li> 251<li><a href="#annotation_type_element_detail">Element</a></li> 252</ul> 253</div> 254<a name="skip-navbar_bottom"> 255<!-- --> 256</a></div> 257<!-- ======== END OF BOTTOM NAVBAR ======= --> 258<p class="legalCopy"><small>Copyright © 2008–2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 259</body> 260</html> 261