1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_25) on Thu Jan 01 17:43:58 PST 2015 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>JSONWrappedObject (jackson-databind 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="JSONWrappedObject (jackson-databind 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="../../../../../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">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>
112</li>
113</ul>
114</div>
115<div class="summary">
116<ul class="blockList">
117<li class="blockList">
118<!-- =========== FIELD SUMMARY =========== -->
119<ul class="blockList">
120<li class="blockList"><a name="field_summary">
121<!--   -->
122</a>
123<h3>Field Summary</h3>
124<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
125<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
126<tr>
127<th class="colFirst" scope="col">Modifier and Type</th>
128<th class="colLast" scope="col">Field and Description</th>
129</tr>
130<tr class="altColor">
131<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>
132<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#_prefix">_prefix</a></strong></code>
133<div class="block">Literal String to output before serialized value.</div>
134</td>
135</tr>
136<tr class="rowColor">
137<td class="colFirst"><code>protected <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td>
138<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#_serializationType">_serializationType</a></strong></code>
139<div class="block">Optional static type to use for serialization; if null, runtime
140 type is used.</div>
141</td>
142</tr>
143<tr class="altColor">
144<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>
145<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#_suffix">_suffix</a></strong></code>
146<div class="block">Literal String to output after serialized value.</div>
147</td>
148</tr>
149<tr class="rowColor">
150<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>
151<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#_value">_value</a></strong></code>
152<div class="block">Value to be serialized as JSONP padded; can be null.</div>
153</td>
154</tr>
155</table>
156</li>
157</ul>
158<!-- ======== CONSTRUCTOR SUMMARY ======== -->
159<ul class="blockList">
160<li class="blockList"><a name="constructor_summary">
161<!--   -->
162</a>
163<h3>Constructor Summary</h3>
164<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
165<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
166<tr>
167<th class="colOne" scope="col">Constructor and Description</th>
168</tr>
169<tr class="altColor">
170<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,
171                 <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,
172                 <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>
173</tr>
174<tr class="rowColor">
175<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,
176                 <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,
177                 <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,
178                 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;asType)</code>
179<div class="block">Constructor that should be used when specific serialization type to use
180 is important, and needs to be passed instead of just using runtime
181 (type-erased) type of the value.</div>
182</td>
183</tr>
184</table>
185</li>
186</ul>
187<!-- ========== METHOD SUMMARY =========== -->
188<ul class="blockList">
189<li class="blockList"><a name="method_summary">
190<!--   -->
191</a>
192<h3>Method Summary</h3>
193<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
194<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
195<tr>
196<th class="colFirst" scope="col">Modifier and Type</th>
197<th class="colLast" scope="col">Method and Description</th>
198</tr>
199<tr class="altColor">
200<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>
201<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#getPrefix()">getPrefix</a></strong>()</code>&nbsp;</td>
202</tr>
203<tr class="rowColor">
204<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></code></td>
205<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#getSerializationType()">getSerializationType</a></strong>()</code>&nbsp;</td>
206</tr>
207<tr class="altColor">
208<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>
209<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#getSuffix()">getSuffix</a></strong>()</code>&nbsp;</td>
210</tr>
211<tr class="rowColor">
212<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>
213<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/JSONWrappedObject.html#getValue()">getValue</a></strong>()</code>&nbsp;</td>
214</tr>
215<tr class="altColor">
216<td class="colFirst"><code>void</code></td>
217<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>(com.fasterxml.jackson.core.JsonGenerator&nbsp;jgen,
218         <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)</code>
219<div class="block">Serialization method called when no additional type information is
220 to be included in serialization.</div>
221</td>
222</tr>
223<tr class="rowColor">
224<td class="colFirst"><code>void</code></td>
225<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>(com.fasterxml.jackson.core.JsonGenerator&nbsp;jgen,
226                 <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider,
227                 <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;typeSer)</code>
228<div class="block">Serialization method called when additional type information is
229 expected to be included in serialization, for deserialization to use.</div>
230</td>
231</tr>
232</table>
233<ul class="blockList">
234<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
235<!--   -->
236</a>
237<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>
238<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>
239</ul>
240</li>
241</ul>
242</li>
243</ul>
244</div>
245<div class="details">
246<ul class="blockList">
247<li class="blockList">
248<!-- ============ FIELD DETAIL =========== -->
249<ul class="blockList">
250<li class="blockList"><a name="field_detail">
251<!--   -->
252</a>
253<h3>Field Detail</h3>
254<a name="_prefix">
255<!--   -->
256</a>
257<ul class="blockList">
258<li class="blockList">
259<h4>_prefix</h4>
260<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>
261<div class="block">Literal String to output before serialized value.
262 Will not be quoted when serializing value.</div>
263</li>
264</ul>
265<a name="_suffix">
266<!--   -->
267</a>
268<ul class="blockList">
269<li class="blockList">
270<h4>_suffix</h4>
271<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>
272<div class="block">Literal String to output after serialized value.
273 Will not be quoted when serializing value.</div>
274</li>
275</ul>
276<a name="_value">
277<!--   -->
278</a>
279<ul class="blockList">
280<li class="blockList">
281<h4>_value</h4>
282<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>
283<div class="block">Value to be serialized as JSONP padded; can be null.</div>
284</li>
285</ul>
286<a name="_serializationType">
287<!--   -->
288</a>
289<ul class="blockListLast">
290<li class="blockList">
291<h4>_serializationType</h4>
292<pre>protected final&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> _serializationType</pre>
293<div class="block">Optional static type to use for serialization; if null, runtime
294 type is used. Can be used to specify declared type which defines
295 serializer to use, as well as aspects of extra type information
296 to include (if any).</div>
297</li>
298</ul>
299</li>
300</ul>
301<!-- ========= CONSTRUCTOR DETAIL ======== -->
302<ul class="blockList">
303<li class="blockList"><a name="constructor_detail">
304<!--   -->
305</a>
306<h3>Constructor Detail</h3>
307<a name="JSONWrappedObject(java.lang.String, java.lang.String, java.lang.Object)">
308<!--   -->
309</a>
310<ul class="blockList">
311<li class="blockList">
312<h4>JSONWrappedObject</h4>
313<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,
314                 <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,
315                 <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>
316</li>
317</ul>
318<a name="JSONWrappedObject(java.lang.String, java.lang.String, java.lang.Object, com.fasterxml.jackson.databind.JavaType)">
319<!--   -->
320</a>
321<ul class="blockListLast">
322<li class="blockList">
323<h4>JSONWrappedObject</h4>
324<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,
325                 <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,
326                 <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,
327                 <a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;asType)</pre>
328<div class="block">Constructor that should be used when specific serialization type to use
329 is important, and needs to be passed instead of just using runtime
330 (type-erased) type of the value.</div>
331</li>
332</ul>
333</li>
334</ul>
335<!-- ============ METHOD DETAIL ========== -->
336<ul class="blockList">
337<li class="blockList"><a name="method_detail">
338<!--   -->
339</a>
340<h3>Method Detail</h3>
341<a name="serializeWithType(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider, com.fasterxml.jackson.databind.jsontype.TypeSerializer)">
342<!--   -->
343</a>
344<ul class="blockList">
345<li class="blockList">
346<h4>serializeWithType</h4>
347<pre>public&nbsp;void&nbsp;serializeWithType(com.fasterxml.jackson.core.JsonGenerator&nbsp;jgen,
348                     <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider,
349                     <a href="../../../../../com/fasterxml/jackson/databind/jsontype/TypeSerializer.html" title="class in com.fasterxml.jackson.databind.jsontype">TypeSerializer</a>&nbsp;typeSer)
350                       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>,
351                              com.fasterxml.jackson.core.JsonProcessingException</pre>
352<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>
353<div class="block">Serialization method called when additional type information is
354 expected to be included in serialization, for deserialization to use.
355<p>
356 Usually implementation consists of a call to one of methods
357 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>)
358 followed by serialization of contents,
359 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>
360 (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>).
361 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
362 (Array, Object or scalar like String/Number/Boolean).
363<p>
364 Note that some types (most notably, "natural" types: String, Integer,
365 Double and Boolean) never include type information.</div>
366<dl>
367<dt><strong>Specified by:</strong></dt>
368<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>
369<dt><span class="strong">Throws:</span></dt>
370<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>
371<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd></dl>
372</li>
373</ul>
374<a name="serialize(com.fasterxml.jackson.core.JsonGenerator, com.fasterxml.jackson.databind.SerializerProvider)">
375<!--   -->
376</a>
377<ul class="blockList">
378<li class="blockList">
379<h4>serialize</h4>
380<pre>public&nbsp;void&nbsp;serialize(com.fasterxml.jackson.core.JsonGenerator&nbsp;jgen,
381             <a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a>&nbsp;provider)
382               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>,
383                      com.fasterxml.jackson.core.JsonProcessingException</pre>
384<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>
385<div class="block">Serialization method called when no additional type information is
386 to be included in serialization.</div>
387<dl>
388<dt><strong>Specified by:</strong></dt>
389<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>
390<dt><span class="strong">Throws:</span></dt>
391<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>
392<dd><code>com.fasterxml.jackson.core.JsonProcessingException</code></dd></dl>
393</li>
394</ul>
395<a name="getPrefix()">
396<!--   -->
397</a>
398<ul class="blockList">
399<li class="blockList">
400<h4>getPrefix</h4>
401<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>
402</li>
403</ul>
404<a name="getSuffix()">
405<!--   -->
406</a>
407<ul class="blockList">
408<li class="blockList">
409<h4>getSuffix</h4>
410<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>
411</li>
412</ul>
413<a name="getValue()">
414<!--   -->
415</a>
416<ul class="blockList">
417<li class="blockList">
418<h4>getValue</h4>
419<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>
420</li>
421</ul>
422<a name="getSerializationType()">
423<!--   -->
424</a>
425<ul class="blockListLast">
426<li class="blockList">
427<h4>getSerializationType</h4>
428<pre>public&nbsp;<a href="../../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a>&nbsp;getSerializationType()</pre>
429</li>
430</ul>
431</li>
432</ul>
433</li>
434</ul>
435</div>
436</div>
437<!-- ========= END OF CLASS DATA ========= -->
438<!-- ======= START OF BOTTOM NAVBAR ====== -->
439<div class="bottomNav"><a name="navbar_bottom">
440<!--   -->
441</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
442<!--   -->
443</a>
444<ul class="navList" title="Navigation">
445<li><a href="../../../../../overview-summary.html">Overview</a></li>
446<li><a href="package-summary.html">Package</a></li>
447<li class="navBarCell1Rev">Class</li>
448<li><a href="class-use/JSONWrappedObject.html">Use</a></li>
449<li><a href="package-tree.html">Tree</a></li>
450<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
451<li><a href="../../../../../index-all.html">Index</a></li>
452<li><a href="../../../../../help-doc.html">Help</a></li>
453</ul>
454</div>
455<div class="subNav">
456<ul class="navList">
457<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>
458<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>
459</ul>
460<ul class="navList">
461<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/JSONWrappedObject.html" target="_top">Frames</a></li>
462<li><a href="JSONWrappedObject.html" target="_top">No Frames</a></li>
463</ul>
464<ul class="navList" id="allclasses_navbar_bottom">
465<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
466</ul>
467<div>
468<script type="text/javascript"><!--
469  allClassesLink = document.getElementById("allclasses_navbar_bottom");
470  if(window==top) {
471    allClassesLink.style.display = "block";
472  }
473  else {
474    allClassesLink.style.display = "none";
475  }
476  //-->
477</script>
478</div>
479<div>
480<ul class="subNavList">
481<li>Summary:&nbsp;</li>
482<li>Nested&nbsp;|&nbsp;</li>
483<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
484<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
485<li><a href="#method_summary">Method</a></li>
486</ul>
487<ul class="subNavList">
488<li>Detail:&nbsp;</li>
489<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
490<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
491<li><a href="#method_detail">Method</a></li>
492</ul>
493</div>
494<a name="skip-navbar_bottom">
495<!--   -->
496</a></div>
497<!-- ======== END OF BOTTOM NAVBAR ======= -->
498<p class="legalCopy"><small>Copyright &#169; 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
499</body>
500</html>
501