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>com.fasterxml.jackson.databind (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="com.fasterxml.jackson.databind (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 class="navBarCell1Rev">Package</li>
30<li>Class</li>
31<li><a href="package-use.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>Prev Package</li>
41<li><a href="../../../../com/fasterxml/jackson/databind/annotation/package-summary.html">Next Package</a></li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../index.html?com/fasterxml/jackson/databind/package-summary.html" target="_top">Frames</a></li>
45<li><a href="package-summary.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<a name="skip-navbar_top">
63<!--   -->
64</a></div>
65<!-- ========= END OF TOP NAVBAR ========= -->
66<div class="header">
67<h1 title="Package" class="title">Package&nbsp;com.fasterxml.jackson.databind</h1>
68<div class="docSummary">
69<div class="block">Contains basic mapper (conversion) functionality that
70allows for converting between regular streaming json content and
71Java objects (beans or Tree Model: support for both is via
72<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> class, as well
73as convenience methods included in
74<code>JsonParser</code></div>
75</div>
76<p>See:&nbsp;<a href="#package_description">Description</a></p>
77</div>
78<div class="contentContainer">
79<ul class="blockList">
80<li class="blockList">
81<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
82<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
83<tr>
84<th class="colFirst" scope="col">Interface</th>
85<th class="colLast" scope="col">Description</th>
86</tr>
87<tbody>
88<tr class="altColor">
89<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a></td>
90<td class="colLast">
91<div class="block">Bean properties are logical entities that represent data
92 that Java objects (POJOs (Plain Old Java Objects), sometimes also called "beans")
93 contain; and that are accessed using accessors (methods like getters
94 and setters, fields, constructor parametrers).</div>
95</td>
96</tr>
97<tr class="rowColor">
98<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></td>
99<td class="colLast">
100<div class="block">Interface that can be implemented by objects that know how to
101 serialize themselves to JSON, using <code>JsonGenerator</code>
102 (and <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a> if necessary).</div>
103</td>
104</tr>
105<tr class="altColor">
106<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html" title="interface in com.fasterxml.jackson.databind">Module.SetupContext</a></td>
107<td class="colLast">
108<div class="block">Interface Jackson exposes to modules for purpose of registering
109 extended functionality.</div>
110</td>
111</tr>
112</tbody>
113</table>
114</li>
115<li class="blockList">
116<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
117<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
118<tr>
119<th class="colFirst" scope="col">Class</th>
120<th class="colLast" scope="col">Description</th>
121</tr>
122<tbody>
123<tr class="altColor">
124<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/AbstractTypeResolver.html" title="class in com.fasterxml.jackson.databind">AbstractTypeResolver</a></td>
125<td class="colLast">
126<div class="block">Defines interface for resolvers that can resolve abstract types into concrete
127 ones; either by using static mappings, or possibly by materializing
128 implementations dynamically.</div>
129</td>
130</tr>
131<tr class="rowColor">
132<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a></td>
133<td class="colLast">
134<div class="block">Abstract class that defines API used for introspecting annotation-based
135 configuration for serialization and deserialization.</div>
136</td>
137</tr>
138<tr class="altColor">
139<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.ReferenceProperty.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector.ReferenceProperty</a></td>
140<td class="colLast">
141<div class="block">Value type used with managed and back references; contains type and
142 logic name, used to link related references</div>
143</td>
144</tr>
145<tr class="rowColor">
146<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a></td>
147<td class="colLast">
148<div class="block">Basic container for information gathered by <a href="../../../../com/fasterxml/jackson/databind/introspect/ClassIntrospector.html" title="class in com.fasterxml.jackson.databind.introspect"><code>ClassIntrospector</code></a> to
149 help in constructing serializers and deserializers.</div>
150</td>
151</tr>
152<tr class="altColor">
153<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.Std.html" title="class in com.fasterxml.jackson.databind">BeanProperty.Std</a></td>
154<td class="colLast">
155<div class="block">Simple stand-alone implementation, useful as a placeholder
156 or base class for more complex implementations.</div>
157</td>
158</tr>
159<tr class="rowColor">
160<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></td>
161<td class="colLast">
162<div class="block">Shared base class for <a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind"><code>DeserializationContext</code></a> and
163 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a>, context objects passed through data-binding
164 process.</div>
165</td>
166</tr>
167<tr class="altColor">
168<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind">DeserializationConfig</a></td>
169<td class="colLast">
170<div class="block">Object that contains baseline configuration for deserialization
171 process.</div>
172</td>
173</tr>
174<tr class="rowColor">
175<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a></td>
176<td class="colLast">
177<div class="block">Context for the process of deserialization a single root-level value.</div>
178</td>
179</tr>
180<tr class="altColor">
181<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/InjectableValues.html" title="class in com.fasterxml.jackson.databind">InjectableValues</a></td>
182<td class="colLast">
183<div class="block">Abstract class that defines API for objects that provide value to
184 "inject" during deserialization.</div>
185</td>
186</tr>
187<tr class="rowColor">
188<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/InjectableValues.Std.html" title="class in com.fasterxml.jackson.databind">InjectableValues.Std</a></td>
189<td class="colLast">
190<div class="block">Simple standard implementation which uses a simple Map to
191 store values to inject, identified by simple String keys.</div>
192</td>
193</tr>
194<tr class="altColor">
195<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></td>
196<td class="colLast">
197<div class="block">Base class for type token classes used both to contain information
198 and as keys for deserializers.</div>
199</td>
200</tr>
201<tr class="rowColor">
202<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a>&lt;T&gt;</td>
203<td class="colLast">
204<div class="block">Abstract class that defines API used by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> (and
205 other chained <a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonDeserializer</code></a>s too) to deserialize Objects of
206 arbitrary types from JSON, using provided <code>JsonParser</code>.</div>
207</td>
208</tr>
209<tr class="altColor">
210<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.None.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer.None</a></td>
211<td class="colLast">
212<div class="block">This marker class is only to be used with annotations, to
213 indicate that <b>no deserializer is configured</b>.</div>
214</td>
215</tr>
216<tr class="rowColor">
217<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind">JsonMappingException.Reference</a></td>
218<td class="colLast">
219<div class="block">Simple bean class used to contain references.</div>
220</td>
221</tr>
222<tr class="altColor">
223<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></td>
224<td class="colLast">
225<div class="block">Base class for all JSON nodes, which form the basis of JSON
226 Tree Model that Jackson implements.</div>
227</td>
228</tr>
229<tr class="rowColor">
230<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;T&gt;</td>
231<td class="colLast">
232<div class="block">Abstract class that defines API used by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> (and
233 other chained <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a>s too) to serialize Objects of
234 arbitrary types into JSON, using provided <code>JsonGenerator</code>.</div>
235</td>
236</tr>
237<tr class="altColor">
238<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.None.html" title="class in com.fasterxml.jackson.databind">JsonSerializer.None</a></td>
239<td class="colLast">
240<div class="block">This marker class is only to be used with annotations, to
241 indicate that <b>no serializer is configured</b>.</div>
242</td>
243</tr>
244<tr class="rowColor">
245<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a></td>
246<td class="colLast">
247<div class="block">Abstract class that defines API used for deserializing JSON content
248 field names into Java Map keys.</div>
249</td>
250</tr>
251<tr class="altColor">
252<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/KeyDeserializer.None.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer.None</a></td>
253<td class="colLast">
254<div class="block">This marker class is only to be used with annotations, to
255 indicate that <b>no deserializer is configured</b>.</div>
256</td>
257</tr>
258<tr class="rowColor">
259<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind">MappingIterator</a>&lt;T&gt;</td>
260<td class="colLast">
261<div class="block">Iterator exposed by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> when binding sequence of
262 objects.</div>
263</td>
264</tr>
265<tr class="altColor">
266<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/MappingJsonFactory.html" title="class in com.fasterxml.jackson.databind">MappingJsonFactory</a></td>
267<td class="colLast">
268<div class="block">Sub-class of <code>JsonFactory</code> that will create a proper
269 <code>ObjectCodec</code> to allow seam-less conversions between
270 JSON content and Java objects (POJOs).</div>
271</td>
272</tr>
273<tr class="rowColor">
274<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/Module.html" title="class in com.fasterxml.jackson.databind">Module</a></td>
275<td class="colLast">
276<div class="block">Simple interface for extensions that can be registered with <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>
277 to provide a well-defined set of extensions to default functionality; such as
278 support for new data types.</div>
279</td>
280</tr>
281<tr class="altColor">
282<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a></td>
283<td class="colLast">
284<div class="block">This mapper (or, data binder, or codec) provides functionality for
285 converting between Java objects (instances of JDK provided core classes,
286 beans), and matching JSON constructs.</div>
287</td>
288</tr>
289<tr class="rowColor">
290<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.DefaultTypeResolverBuilder.html" title="class in com.fasterxml.jackson.databind">ObjectMapper.DefaultTypeResolverBuilder</a></td>
291<td class="colLast">
292<div class="block">Customized <a href="../../../../com/fasterxml/jackson/databind/jsontype/TypeResolverBuilder.html" title="interface in com.fasterxml.jackson.databind.jsontype"><code>TypeResolverBuilder</code></a> that provides type resolver builders
293 used with so-called "default typing"
294 (see <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html#enableDefaultTyping()"><code>ObjectMapper.enableDefaultTyping()</code></a> for details).</div>
295</td>
296</tr>
297<tr class="altColor">
298<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind">ObjectReader</a></td>
299<td class="colLast">
300<div class="block">Builder object that can be used for per-serialization configuration of
301 deserialization parameters, such as root type to use or object
302 to update (instead of constructing new instance).</div>
303</td>
304</tr>
305<tr class="rowColor">
306<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></td>
307<td class="colLast">
308<div class="block">Builder object that can be used for per-serialization configuration of
309 serialization parameters, such as JSON View and root type to use.</div>
310</td>
311</tr>
312<tr class="altColor">
313<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a></td>
314<td class="colLast">
315<div class="block">Helper class used for containing settings specifically related
316 to (re)configuring <code>JsonGenerator</code> constructed for
317 writing output.</div>
318</td>
319</tr>
320<tr class="rowColor">
321<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a></td>
322<td class="colLast">
323<div class="block">As a minor optimization, we will make an effort to pre-fetch a serializer,
324 or at least relevant <code>TypeSerializer</code>, if given enough
325 information.</div>
326</td>
327</tr>
328<tr class="altColor">
329<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></td>
330<td class="colLast">
331<div class="block">Simple container class used for storing "additional" metadata about
332 properties.</div>
333</td>
334</tr>
335<tr class="rowColor">
336<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a></td>
337<td class="colLast">
338<div class="block">Simple value class used for containing names of properties as defined
339 by annotations (and possibly other configuration sources).</div>
340</td>
341</tr>
342<tr class="altColor">
343<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></td>
344<td class="colLast">
345<div class="block">Class that defines how names of JSON properties ("external names")
346 are derived from names of POJO methods and fields ("internal names"),
347 in cases where they are not
348 auto-detected and no explicit annotations exist for naming.</div>
349</td>
350</tr>
351<tr class="rowColor">
352<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.LowerCaseStrategy</a></td>
353<td class="colLast">
354<div class="block">Simple strategy where external name simply only uses lower-case characters,
355 and no separators.</div>
356</td>
357</tr>
358<tr class="altColor">
359<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy</a></td>
360<td class="colLast">
361<div class="block">A <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy</code></a> that translates typical camel case Java
362 property names to lower case JSON element names, separated by
363 underscores.</div>
364</td>
365</tr>
366<tr class="rowColor">
367<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PascalCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PascalCaseStrategy</a></td>
368<td class="colLast">
369<div class="block">A <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy</code></a> that translates typical camelCase Java
370 property names to PascalCase JSON element names (i.e., with a capital
371 first letter).</div>
372</td>
373</tr>
374<tr class="altColor">
375<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PropertyNamingStrategyBase</a></td>
376<td class="colLast">&nbsp;</td>
377</tr>
378<tr class="rowColor">
379<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></td>
380<td class="colLast">
381<div class="block">Writer class similar to <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>, except that it can be used
382 for writing sequences of values, not just a single value.</div>
383</td>
384</tr>
385<tr class="altColor">
386<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></td>
387<td class="colLast">
388<div class="block">Object that contains baseline configuration for serialization
389 process.</div>
390</td>
391</tr>
392<tr class="rowColor">
393<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></td>
394<td class="colLast">
395<div class="block">Class that defines API used by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and
396 <a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind"><code>JsonSerializer</code></a>s to obtain serializers capable of serializing
397 instances of specific types; as well as the default implementation
398 of the functionality.</div>
399</td>
400</tr>
401</tbody>
402</table>
403</li>
404<li class="blockList">
405<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
406<caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption>
407<tr>
408<th class="colFirst" scope="col">Enum</th>
409<th class="colLast" scope="col">Description</th>
410</tr>
411<tbody>
412<tr class="altColor">
413<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.ReferenceProperty.Type.html" title="enum in com.fasterxml.jackson.databind">AnnotationIntrospector.ReferenceProperty.Type</a></td>
414<td class="colLast">&nbsp;</td>
415</tr>
416<tr class="rowColor">
417<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a></td>
418<td class="colLast">
419<div class="block">Enumeration that defines simple on/off features that affect
420 the way Java objects are deserialized from JSON</div>
421</td>
422</tr>
423<tr class="altColor">
424<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a></td>
425<td class="colLast">
426<div class="block">Enumeration that defines simple on/off features to set
427 for <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>, and accessible (but not changeable)
428 via <a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a> and <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> (as well as
429 through various convenience methods through context objects).</div>
430</td>
431</tr>
432<tr class="rowColor">
433<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.DefaultTyping.html" title="enum in com.fasterxml.jackson.databind">ObjectMapper.DefaultTyping</a></td>
434<td class="colLast">
435<div class="block">Enumeration used with <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html#enableDefaultTyping()"><code>ObjectMapper.enableDefaultTyping()</code></a>
436 to specify what kind of types (classes) default typing should
437 be used for.</div>
438</td>
439</tr>
440<tr class="altColor">
441<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a></td>
442<td class="colLast">
443<div class="block">Enumeration that defines simple on/off features that affect
444 the way Java objects are serialized.</div>
445</td>
446</tr>
447</tbody>
448</table>
449</li>
450<li class="blockList">
451<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation">
452<caption><span>Exception Summary</span><span class="tabEnd">&nbsp;</span></caption>
453<tr>
454<th class="colFirst" scope="col">Exception</th>
455<th class="colLast" scope="col">Description</th>
456</tr>
457<tbody>
458<tr class="altColor">
459<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></td>
460<td class="colLast">
461<div class="block">Checked exception used to signal fatal problems with mapping of
462 content.</div>
463</td>
464</tr>
465<tr class="rowColor">
466<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/RuntimeJsonMappingException.html" title="class in com.fasterxml.jackson.databind">RuntimeJsonMappingException</a></td>
467<td class="colLast">
468<div class="block">Wrapper used when interface does not allow throwing a checked
469 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a></div>
470</td>
471</tr>
472</tbody>
473</table>
474</li>
475</ul>
476<a name="package_description">
477<!--   -->
478</a>
479<h2 title="Package com.fasterxml.jackson.databind Description">Package com.fasterxml.jackson.databind Description</h2>
480<div class="block">Contains basic mapper (conversion) functionality that
481allows for converting between regular streaming json content and
482Java objects (beans or Tree Model: support for both is via
483<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> class, as well
484as convenience methods included in
485<code>JsonParser</code>
486<p>
487Object mapper will convert Json content to ant from
488basic Java wrapper types (Integer, Boolean, Double),
489Collection types (List, Map), Java Beans,
490Strings and nulls.
491<p>
492Tree mapper builds dynamically typed tree of <a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a>s
493from JSON content (and writes such trees as JSON),
494similar to how DOM model works with XML.
495Main benefits over Object mapping are:
496<ul>
497 <li>No null checks are needed (dummy
498nodes are created as necessary to represent "missing" Object fields
499and Array elements)
500  </li>
501 <li>No type casts are usually needed: all public access methods are defined
502in basic <code>JsonNode</code> class, and when "incompatible" method (such as Array
503element access on, say, Boolean node) is used, returned node is
504virtual "missing" node.
505  </li>
506</ul>
507Because of its dynamic nature, Tree mapping is often convenient
508for basic path access and tree navigation, where structure of
509the resulting tree is known in advance.</div>
510</div>
511<!-- ======= START OF BOTTOM NAVBAR ====== -->
512<div class="bottomNav"><a name="navbar_bottom">
513<!--   -->
514</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
515<!--   -->
516</a>
517<ul class="navList" title="Navigation">
518<li><a href="../../../../overview-summary.html">Overview</a></li>
519<li class="navBarCell1Rev">Package</li>
520<li>Class</li>
521<li><a href="package-use.html">Use</a></li>
522<li><a href="package-tree.html">Tree</a></li>
523<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
524<li><a href="../../../../index-all.html">Index</a></li>
525<li><a href="../../../../help-doc.html">Help</a></li>
526</ul>
527</div>
528<div class="subNav">
529<ul class="navList">
530<li>Prev Package</li>
531<li><a href="../../../../com/fasterxml/jackson/databind/annotation/package-summary.html">Next Package</a></li>
532</ul>
533<ul class="navList">
534<li><a href="../../../../index.html?com/fasterxml/jackson/databind/package-summary.html" target="_top">Frames</a></li>
535<li><a href="package-summary.html" target="_top">No Frames</a></li>
536</ul>
537<ul class="navList" id="allclasses_navbar_bottom">
538<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
539</ul>
540<div>
541<script type="text/javascript"><!--
542  allClassesLink = document.getElementById("allclasses_navbar_bottom");
543  if(window==top) {
544    allClassesLink.style.display = "block";
545  }
546  else {
547    allClassesLink.style.display = "none";
548  }
549  //-->
550</script>
551</div>
552<a name="skip-navbar_bottom">
553<!--   -->
554</a></div>
555<!-- ======== END OF BOTTOM NAVBAR ======= -->
556<p class="legalCopy"><small>Copyright &#169; 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
557</body>
558</html>
559