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 Mon Jun 02 17:48:58 PDT 2014 --> 6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8"> 7<title>com.fasterxml.jackson.databind (jackson-databind 2.4.0 API)</title> 8<meta name="date" content="2014-06-02"> 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.4.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 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<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a></div> 75</div> 76<p>See: <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"> </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 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> 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"> </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><T></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 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a>.</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><T></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 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>.</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><T></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 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonFactory</code></a> that will create a proper 269 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/ObjectCodec.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>ObjectCodec</code></a> 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/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></td> 314<td class="colLast"> 315<div class="block">Simple container class used for storing "additional" metadata about 316 properties.</div> 317</td> 318</tr> 319<tr class="rowColor"> 320<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a></td> 321<td class="colLast"> 322<div class="block">Simple value class used for containing names of properties as defined 323 by annotations (and possibly other configuration sources).</div> 324</td> 325</tr> 326<tr class="altColor"> 327<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></td> 328<td class="colLast"> 329<div class="block">Class that defines how names of JSON properties ("external names") 330 are derived from names of POJO methods and fields ("internal names"), 331 in cases where they are not 332 auto-detected and no explicit annotations exist for naming.</div> 333</td> 334</tr> 335<tr class="rowColor"> 336<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.LowerCaseStrategy</a></td> 337<td class="colLast"> 338<div class="block">Simple strategy where external name simply only uses lower-case characters, 339 and no separators.</div> 340</td> 341</tr> 342<tr class="altColor"> 343<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy</a></td> 344<td class="colLast"> 345<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 346 property names to lower case JSON element names, separated by 347 underscores.</div> 348</td> 349</tr> 350<tr class="rowColor"> 351<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PascalCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PascalCaseStrategy</a></td> 352<td class="colLast"> 353<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 354 property names to PascalCase JSON element names (i.e., with a capital 355 first letter).</div> 356</td> 357</tr> 358<tr class="altColor"> 359<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PropertyNamingStrategyBase</a></td> 360<td class="colLast"> </td> 361</tr> 362<tr class="rowColor"> 363<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></td> 364<td class="colLast"> 365<div class="block">Object that contains baseline configuration for serialization 366 process.</div> 367</td> 368</tr> 369<tr class="altColor"> 370<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></td> 371<td class="colLast"> 372<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 373 <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 374 instances of specific types; as well as the default implementation 375 of the functionality.</div> 376</td> 377</tr> 378</tbody> 379</table> 380</li> 381<li class="blockList"> 382<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation"> 383<caption><span>Enum Summary</span><span class="tabEnd"> </span></caption> 384<tr> 385<th class="colFirst" scope="col">Enum</th> 386<th class="colLast" scope="col">Description</th> 387</tr> 388<tbody> 389<tr class="altColor"> 390<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> 391<td class="colLast"> </td> 392</tr> 393<tr class="rowColor"> 394<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a></td> 395<td class="colLast"> 396<div class="block">Enumeration that defines simple on/off features that affect 397 the way Java objects are deserialized from JSON</div> 398</td> 399</tr> 400<tr class="altColor"> 401<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a></td> 402<td class="colLast"> 403<div class="block">Enumeration that defines simple on/off features to set 404 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) 405 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 406 through various convenience methods through context objects).</div> 407</td> 408</tr> 409<tr class="rowColor"> 410<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.DefaultTyping.html" title="enum in com.fasterxml.jackson.databind">ObjectMapper.DefaultTyping</a></td> 411<td class="colLast"> 412<div class="block">Enumeration used with <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html#enableDefaultTyping()"><code>ObjectMapper.enableDefaultTyping()</code></a> 413 to specify what kind of types (classes) default typing should 414 be used for.</div> 415</td> 416</tr> 417<tr class="altColor"> 418<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a></td> 419<td class="colLast"> 420<div class="block">Enumeration that defines simple on/off features that affect 421 the way Java objects are serialized.</div> 422</td> 423</tr> 424</tbody> 425</table> 426</li> 427<li class="blockList"> 428<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation"> 429<caption><span>Exception Summary</span><span class="tabEnd"> </span></caption> 430<tr> 431<th class="colFirst" scope="col">Exception</th> 432<th class="colLast" scope="col">Description</th> 433</tr> 434<tbody> 435<tr class="altColor"> 436<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></td> 437<td class="colLast"> 438<div class="block">Checked exception used to signal fatal problems with mapping of 439 content.</div> 440</td> 441</tr> 442<tr class="rowColor"> 443<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/RuntimeJsonMappingException.html" title="class in com.fasterxml.jackson.databind">RuntimeJsonMappingException</a></td> 444<td class="colLast"> 445<div class="block">Wrapper used when interface does not allow throwing a checked 446 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a></div> 447</td> 448</tr> 449</tbody> 450</table> 451</li> 452</ul> 453<a name="package_description"> 454<!-- --> 455</a> 456<h2 title="Package com.fasterxml.jackson.databind Description">Package com.fasterxml.jackson.databind Description</h2> 457<div class="block">Contains basic mapper (conversion) functionality that 458allows for converting between regular streaming json content and 459Java objects (beans or Tree Model: support for both is via 460<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> class, as well 461as convenience methods included in 462<a href="http://fasterxml.github.com/jackson-core/javadoc/2.4/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a> 463<p> 464Object mapper will convert Json content to ant from 465basic Java wrapper types (Integer, Boolean, Double), 466Collection types (List, Map), Java Beans, 467Strings and nulls. 468<p> 469Tree 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 470from JSON content (and writes such trees as JSON), 471similar to how DOM model works with XML. 472Main benefits over Object mapping are: 473<ul> 474 <li>No null checks are needed (dummy 475nodes are created as necessary to represent "missing" Object fields 476and Array elements) 477 </li> 478 <li>No type casts are usually needed: all public access methods are defined 479in basic <code>JsonNode</code> class, and when "incompatible" method (such as Array 480element access on, say, Boolean node) is used, returned node is 481virtual "missing" node. 482 </li> 483</ul> 484Because of its dynamic nature, Tree mapping is often convenient 485for basic path access and tree navigation, where structure of 486the resulting tree is known in advance.</div> 487</div> 488<!-- ======= START OF BOTTOM NAVBAR ====== --> 489<div class="bottomNav"><a name="navbar_bottom"> 490<!-- --> 491</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> 492<!-- --> 493</a> 494<ul class="navList" title="Navigation"> 495<li><a href="../../../../overview-summary.html">Overview</a></li> 496<li class="navBarCell1Rev">Package</li> 497<li>Class</li> 498<li><a href="package-use.html">Use</a></li> 499<li><a href="package-tree.html">Tree</a></li> 500<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 501<li><a href="../../../../index-all.html">Index</a></li> 502<li><a href="../../../../help-doc.html">Help</a></li> 503</ul> 504</div> 505<div class="subNav"> 506<ul class="navList"> 507<li>Prev Package</li> 508<li><a href="../../../../com/fasterxml/jackson/databind/annotation/package-summary.html">Next Package</a></li> 509</ul> 510<ul class="navList"> 511<li><a href="../../../../index.html?com/fasterxml/jackson/databind/package-summary.html" target="_top">Frames</a></li> 512<li><a href="package-summary.html" target="_top">No Frames</a></li> 513</ul> 514<ul class="navList" id="allclasses_navbar_bottom"> 515<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 516</ul> 517<div> 518<script type="text/javascript"><!-- 519 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 520 if(window==top) { 521 allClassesLink.style.display = "block"; 522 } 523 else { 524 allClassesLink.style.display = "none"; 525 } 526 //--> 527</script> 528</div> 529<a name="skip-navbar_bottom"> 530<!-- --> 531</a></div> 532<!-- ======== END OF BOTTOM NAVBAR ======= --> 533<p class="legalCopy"><small>Copyright © 2014 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p> 534</body> 535</html> 536