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_10-ea) on Mon Apr 22 19:50:43 PDT 2013 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>JSONWrappedObject (jackson-databind 2.2.0 API)</title>
8<meta name="date" content="2013-04-22">
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="JSONWrappedObject (jackson-databind 2.2.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/JSONWrappedObject.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/util/JSONPObject.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li>
41<li><a href="../../../../../com/fasterxml/jackson/databind/util/LinkedNode.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/JSONWrappedObject.html" target="_top">Frames</a></li>
45<li><a href="JSONWrappedObject.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:&nbsp;</li>
65<li>Nested&nbsp;|&nbsp;</li>
66<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
67<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
73<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
74<li><a href="#method_detail">Method</a></li>
75</ul>
76</div>
77<a name="skip-navbar_top">
78<!--   -->
79</a></div>
80<!-- ========= END OF TOP NAVBAR ========= -->
81<!-- ======== START OF CLASS DATA ======== -->
82<div class="header">
83<div class="subTitle">com.fasterxml.jackson.databind.util</div>
84<h2 title="Class JSONWrappedObject" class="title">Class JSONWrappedObject</h2>
85</div>
86<div class="contentContainer">
87<ul class="inheritance">
88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
89<li>
90<ul class="inheritance">
91<li>com.fasterxml.jackson.databind.util.JSONWrappedObject</li>
92</ul>
93</li>
94</ul>
95<div class="description">
96<ul class="blockList">
97<li class="blockList">
98<dl>
99<dt>All Implemented Interfaces:</dt>
100<dd><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></dd>
101</dl>
102<hr>
103<br>
104<pre>public class <span class="strong">JSONWrappedObject</span>
105extends <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>
106implements <a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></pre>
107<div class="block">General-purpose wrapper class that can be used to decorate serialized
108 value with arbitrary literal prefix and suffix. This can be used for
109 example to construct arbitrary Javascript values (similar to how basic
110 function name and parenthesis are used with JSONP).</div>
111<dl><dt><span class="strong">Author:</span></dt>
112  <dd>tatu</dd>
113<dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../com/fasterxml/jackson/databind/util/JSONPObject.html" title="class in com.fasterxml.jackson.databind.util"><code>JSONPObject</code></a></dd></dl>
114</li>
115</ul>
116</div>
117<div class="summary">
118<ul class="blockList">
119<li class="blockList">
120<!-- =========== FIELD SUMMARY =========== -->
121<ul class="blockList">
122<li class="blockList"><a name="field_summary">
123<!--   -->
124</a>
125<h3>Field Summary</h3>
126<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
127<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
128<tr>
129<th class="colFirst" scope="col">Modifier and Type</th>
130<th class="colLast" scope="col">Field and Description</th>
131</tr>
132<tr class="altColor">
133<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
134<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#_prefix">_prefix</a></strong></code>
135<div class="block">Literal String to output before serialized value.</div>
136</td>
137</tr>
138<tr class="rowColor">
139<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td>
140<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#_serializationType">_serializationType</a></strong></code>
141<div class="block">Optional static type to use for serialization; if null, runtime
142 type is used.</div>
143</td>
144</tr>
145<tr class="altColor">
146<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
147<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#_suffix">_suffix</a></strong></code>
148<div class="block">Literal String to output after serialized value.</div>
149</td>
150</tr>
151<tr class="rowColor">
152<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
153<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#_value">_value</a></strong></code>
154<div class="block">Value to be serialized as JSONP padded; can be null.</div>
155</td>
156</tr>
157</table>
158</li>
159</ul>
160<!-- ======== CONSTRUCTOR SUMMARY ======== -->
161<ul class="blockList">
162<li class="blockList"><a name="constructor_summary">
163<!--   -->
164</a>
165<h3>Constructor Summary</h3>
166<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
167<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
168<tr>
169<th class="colOne" scope="col">Constructor and Description</th>
170</tr>
171<tr class="altColor">
172<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#JSONWrappedObject(java.lang.String, java.lang.String, java.lang.Object)">JSONWrappedObject</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix,
173                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;suffix,
174                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</code>&nbsp;</td>
175</tr>
176<tr class="rowColor">
177<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#JSONWrappedObject(java.lang.String, java.lang.String, java.lang.Object, com.fasterxml.jackson.databind.JavaType)">JSONWrappedObject</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix,
178                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;suffix,
179                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
180                 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;asType)</code>
181<div class="block">Constructor that should be used when specific serialization type to use
182 is important, and needs to be passed instead of just using runtime
183 (type-erased) type of the value.</div>
184</td>
185</tr>
186</table>
187</li>
188</ul>
189<!-- ========== METHOD SUMMARY =========== -->
190<ul class="blockList">
191<li class="blockList"><a name="method_summary">
192<!--   -->
193</a>
194<h3>Method Summary</h3>
195<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
196<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
197<tr>
198<th class="colFirst" scope="col">Modifier and Type</th>
199<th class="colLast" scope="col">Method and Description</th>
200</tr>
201<tr class="altColor">
202<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
203<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#getPrefix()">getPrefix</a></strong>()</code>&nbsp;</td>
204</tr>
205<tr class="rowColor">
206<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td>
207<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#getSerializationType()">getSerializationType</a></strong>()</code>&nbsp;</td>
208</tr>
209<tr class="altColor">
210<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
211<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#getSuffix()">getSuffix</a></strong>()</code>&nbsp;</td>
212</tr>
213<tr class="rowColor">
214<td class="colFirst"><code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></td>
215<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#getValue()">getValue</a></strong>()</code>&nbsp;</td>
216</tr>
217<tr class="altColor">
218<td class="colFirst"><code>void</code></td>
219<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
220         <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>
221<div class="block">Serialization method called when no additional type information is
222 to be included in serialization.</div>
223</td>
224</tr>
225<tr class="rowColor">
226<td class="colFirst"><code>void</code></td>
227<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</a></strong>(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
228                 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider,
229                 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;typeSer)</code>
230<div class="block">Serialization method called when additional type information is
231 expected to be included in serialization, for deserialization to use.</div>
232</td>
233</tr>
234</table>
235<ul class="blockList">
236<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
237<!--   -->
238</a>
239<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
240<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
241</ul>
242</li>
243</ul>
244</li>
245</ul>
246</div>
247<div class="details">
248<ul class="blockList">
249<li class="blockList">
250<!-- ============ FIELD DETAIL =========== -->
251<ul class="blockList">
252<li class="blockList"><a name="field_detail">
253<!--   -->
254</a>
255<h3>Field Detail</h3>
256<a name="_prefix">
257<!--   -->
258</a>
259<ul class="blockList">
260<li class="blockList">
261<h4>_prefix</h4>
262<pre>protected final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> _prefix</pre>
263<div class="block">Literal String to output before serialized value.
264 Will not be quoted when serializing value.</div>
265</li>
266</ul>
267<a name="_suffix">
268<!--   -->
269</a>
270<ul class="blockList">
271<li class="blockList">
272<h4>_suffix</h4>
273<pre>protected final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> _suffix</pre>
274<div class="block">Literal String to output after serialized value.
275 Will not be quoted when serializing value.</div>
276</li>
277</ul>
278<a name="_value">
279<!--   -->
280</a>
281<ul class="blockList">
282<li class="blockList">
283<h4>_value</h4>
284<pre>protected final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> _value</pre>
285<div class="block">Value to be serialized as JSONP padded; can be null.</div>
286</li>
287</ul>
288<a name="_serializationType">
289<!--   -->
290</a>
291<ul class="blockListLast">
292<li class="blockList">
293<h4>_serializationType</h4>
294<pre>protected final&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> _serializationType</pre>
295<div class="block">Optional static type to use for serialization; if null, runtime
296 type is used. Can be used to specify declared type which defines
297 serializer to use, as well as aspects of extra type information
298 to include (if any).</div>
299</li>
300</ul>
301</li>
302</ul>
303<!-- ========= CONSTRUCTOR DETAIL ======== -->
304<ul class="blockList">
305<li class="blockList"><a name="constructor_detail">
306<!--   -->
307</a>
308<h3>Constructor Detail</h3>
309<a name="JSONWrappedObject(java.lang.String, java.lang.String, java.lang.Object)">
310<!--   -->
311</a>
312<ul class="blockList">
313<li class="blockList">
314<h4>JSONWrappedObject</h4>
315<pre>public&nbsp;JSONWrappedObject(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix,
316                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;suffix,
317                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value)</pre>
318</li>
319</ul>
320<a name="JSONWrappedObject(java.lang.String, java.lang.String, java.lang.Object, com.fasterxml.jackson.databind.JavaType)">
321<!--   -->
322</a>
323<ul class="blockListLast">
324<li class="blockList">
325<h4>JSONWrappedObject</h4>
326<pre>public&nbsp;JSONWrappedObject(<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;prefix,
327                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;suffix,
328                 <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;value,
329                 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;asType)</pre>
330<div class="block">Constructor that should be used when specific serialization type to use
331 is important, and needs to be passed instead of just using runtime
332 (type-erased) type of the value.</div>
333</li>
334</ul>
335</li>
336</ul>
337<!-- ============ METHOD DETAIL ========== -->
338<ul class="blockList">
339<li class="blockList"><a name="method_detail">
340<!--   -->
341</a>
342<h3>Method Detail</h3>
343<a name="serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">
344<!--   -->
345</a>
346<ul class="blockList">
347<li class="blockList">
348<h4>serializeWithType</h4>
349<pre>public&nbsp;void&nbsp;serializeWithType(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
350                     <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider,
351                     <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;typeSer)
352                       throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
353                              <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre>
354<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">JsonSerializable</a></code></strong></div>
355<div class="block">Serialization method called when additional type information is
356 expected to be included in serialization, for deserialization to use.
357<p>
358 Usually implementation consists of a call to one of methods
359 in <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype"><code>TypeSerializer</code></a> (such as <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html#writeTypePrefixForObject(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)"><code>TypeSerializer.writeTypePrefixForObject(Object, JsonGenerator)</code></a>)
360 followed by serialization of contents,
361 followed by another call to <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype"><code>TypeSerializer</code></a>
362 (such as <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html#writeTypeSuffixForObject(java.lang.Object, com.fasterxml.jackson.core.JsonGenerator)"><code>TypeSerializer.writeTypeSuffixForObject(Object, JsonGenerator)</code></a>).
363 Exact methods to call in <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype"><code>TypeSerializer</code></a> depend on shape of JSON Object used
364 (Array, Object or scalar like String/Number/Boolean).
365<p>
366 Note that some types (most notably, "natural" types: String, Integer,
367 Double and Boolean) never include type information.</div>
368<dl>
369<dt><strong>Specified by:</strong></dt>
370<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">serializeWithType</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd>
371<dt><span class="strong">Throws:</span></dt>
372<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
373<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd></dl>
374</li>
375</ul>
376<a name="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">
377<!--   -->
378</a>
379<ul class="blockList">
380<li class="blockList">
381<h4>serialize</h4>
382<pre>public&nbsp;void&nbsp;serialize(<a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a>&nbsp;jgen,
383             <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
384               throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>,
385                      <a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre>
386<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">JsonSerializable</a></code></strong></div>
387<div class="block">Serialization method called when no additional type information is
388 to be included in serialization.</div>
389<dl>
390<dt><strong>Specified by:</strong></dt>
391<dd><code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html#serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">serialize</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></code></dd>
392<dt><span class="strong">Throws:</span></dt>
393<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd>
394<dd><code><a href="http://fasterxml.github.com/jackson-core/javadoc/2.1.1/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd></dl>
395</li>
396</ul>
397<a name="getPrefix()">
398<!--   -->
399</a>
400<ul class="blockList">
401<li class="blockList">
402<h4>getPrefix</h4>
403<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getPrefix()</pre>
404</li>
405</ul>
406<a name="getSuffix()">
407<!--   -->
408</a>
409<ul class="blockList">
410<li class="blockList">
411<h4>getSuffix</h4>
412<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;getSuffix()</pre>
413</li>
414</ul>
415<a name="getValue()">
416<!--   -->
417</a>
418<ul class="blockList">
419<li class="blockList">
420<h4>getValue</h4>
421<pre>public&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>&nbsp;getValue()</pre>
422</li>
423</ul>
424<a name="getSerializationType()">
425<!--   -->
426</a>
427<ul class="blockListLast">
428<li class="blockList">
429<h4>getSerializationType</h4>
430<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;getSerializationType()</pre>
431</li>
432</ul>
433</li>
434</ul>
435</li>
436</ul>
437</div>
438</div>
439<!-- ========= END OF CLASS DATA ========= -->
440<!-- ======= START OF BOTTOM NAVBAR ====== -->
441<div class="bottomNav"><a name="navbar_bottom">
442<!--   -->
443</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
444<!--   -->
445</a>
446<ul class="navList" title="Navigation">
447<li><a href="../../../../../overview-summary.html">Overview</a></li>
448<li><a href="package-summary.html">Package</a></li>
449<li class="navBarCell1Rev">Class</li>
450<li><a href="class-use/JSONWrappedObject.html">Use</a></li>
451<li><a href="package-tree.html">Tree</a></li>
452<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
453<li><a href="../../../../../index-all.html">Index</a></li>
454<li><a href="../../../../../help-doc.html">Help</a></li>
455</ul>
456</div>
457<div class="subNav">
458<ul class="navList">
459<li><a href="../../../../../com/fasterxml/jackson/databind/util/JSONPObject.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li>
460<li><a href="../../../../../com/fasterxml/jackson/databind/util/LinkedNode.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li>
461</ul>
462<ul class="navList">
463<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/JSONWrappedObject.html" target="_top">Frames</a></li>
464<li><a href="JSONWrappedObject.html" target="_top">No Frames</a></li>
465</ul>
466<ul class="navList" id="allclasses_navbar_bottom">
467<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
468</ul>
469<div>
470<script type="text/javascript"><!--
471  allClassesLink = document.getElementById("allclasses_navbar_bottom");
472  if(window==top) {
473    allClassesLink.style.display = "block";
474  }
475  else {
476    allClassesLink.style.display = "none";
477  }
478  //-->
479</script>
480</div>
481<div>
482<ul class="subNavList">
483<li>Summary:&nbsp;</li>
484<li>Nested&nbsp;|&nbsp;</li>
485<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
486<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
487<li><a href="#method_summary">Method</a></li>
488</ul>
489<ul class="subNavList">
490<li>Detail:&nbsp;</li>
491<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
492<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
493<li><a href="#method_detail">Method</a></li>
494</ul>
495</div>
496<a name="skip-navbar_bottom">
497<!--   -->
498</a></div>
499<!-- ======== END OF BOTTOM NAVBAR ======= -->
500<p class="legalCopy"><small>Copyright &#169; 2012-2013 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
501</body>
502</html>
503