1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!-- NewPage -->
3<html lang="en">
4<head>
5<!-- Generated by javadoc (version 1.7.0_79) on Wed Jul 20 08:39:14 PDT 2016 -->
6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7<title>com.fasterxml.jackson.databind (jackson-databind 2.8.0 API)</title>
8<meta name="date" content="2016-07-20">
9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
10</head>
11<body>
12<script type="text/javascript"><!--
13    if (location.href.indexOf('is-external=true') == -1) {
14        parent.document.title="com.fasterxml.jackson.databind (jackson-databind 2.8.0 API)";
15    }
16//-->
17</script>
18<noscript>
19<div>JavaScript is disabled on your browser.</div>
20</noscript>
21<!-- ========= START OF TOP NAVBAR ======= -->
22<div class="topNav"><a name="navbar_top">
23<!--   -->
24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
25<!--   -->
26</a>
27<ul class="navList" title="Navigation">
28<li><a href="../../../../overview-summary.html">Overview</a></li>
29<li 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">Basic data binding (mapping) functionality that
70allows for reading JSON content into Java Objects (POJOs)
71and JSON Trees (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a>), as well as
72writing Java Objects and trees as JSON.</div>
73</div>
74<p>See:&nbsp;<a href="#package_description">Description</a></p>
75</div>
76<div class="contentContainer">
77<ul class="blockList">
78<li class="blockList">
79<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Interface Summary table, listing interfaces, and an explanation">
80<caption><span>Interface Summary</span><span class="tabEnd">&nbsp;</span></caption>
81<tr>
82<th class="colFirst" scope="col">Interface</th>
83<th class="colLast" scope="col">Description</th>
84</tr>
85<tbody>
86<tr class="altColor">
87<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.html" title="interface in com.fasterxml.jackson.databind">BeanProperty</a></td>
88<td class="colLast">
89<div class="block">Bean properties are logical entities that represent data
90 that Java objects (POJOs (Plain Old Java Objects), sometimes also called "beans")
91 contain; and that are accessed using accessors (methods like getters
92 and setters, fields, constructor parametrers).</div>
93</td>
94</tr>
95<tr class="rowColor">
96<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.html" title="interface in com.fasterxml.jackson.databind">JsonSerializable</a></td>
97<td class="colLast">
98<div class="block">Interface that can be implemented by objects that know how to
99 serialize themselves to JSON, using <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>
100 (and <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a> if necessary).</div>
101</td>
102</tr>
103<tr class="altColor">
104<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/Module.SetupContext.html" title="interface in com.fasterxml.jackson.databind">Module.SetupContext</a></td>
105<td class="colLast">
106<div class="block">Interface Jackson exposes to modules for purpose of registering
107 extended functionality.</div>
108</td>
109</tr>
110</tbody>
111</table>
112</li>
113<li class="blockList">
114<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Class Summary table, listing classes, and an explanation">
115<caption><span>Class Summary</span><span class="tabEnd">&nbsp;</span></caption>
116<tr>
117<th class="colFirst" scope="col">Class</th>
118<th class="colLast" scope="col">Description</th>
119</tr>
120<tbody>
121<tr class="altColor">
122<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/AbstractTypeResolver.html" title="class in com.fasterxml.jackson.databind">AbstractTypeResolver</a></td>
123<td class="colLast">
124<div class="block">Defines interface for resolvers that can resolve abstract types into concrete
125 ones; either by using static mappings, or possibly by materializing
126 implementations dynamically.</div>
127</td>
128</tr>
129<tr class="rowColor">
130<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector</a></td>
131<td class="colLast">
132<div class="block">Abstract class that defines API used for introspecting annotation-based
133 configuration for serialization and deserialization.</div>
134</td>
135</tr>
136<tr class="altColor">
137<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/AnnotationIntrospector.ReferenceProperty.html" title="class in com.fasterxml.jackson.databind">AnnotationIntrospector.ReferenceProperty</a></td>
138<td class="colLast">
139<div class="block">Value type used with managed and back references; contains type and
140 logic name, used to link related references</div>
141</td>
142</tr>
143<tr class="rowColor">
144<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/BeanDescription.html" title="class in com.fasterxml.jackson.databind">BeanDescription</a></td>
145<td class="colLast">
146<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
147 help in constructing serializers and deserializers.</div>
148</td>
149</tr>
150<tr class="altColor">
151<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/BeanProperty.Std.html" title="class in com.fasterxml.jackson.databind">BeanProperty.Std</a></td>
152<td class="colLast">
153<div class="block">Simple stand-alone implementation, useful as a placeholder
154 or base class for more complex implementations.</div>
155</td>
156</tr>
157<tr class="rowColor">
158<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/DatabindContext.html" title="class in com.fasterxml.jackson.databind">DatabindContext</a></td>
159<td class="colLast">
160<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
161 <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
162 process.</div>
163</td>
164</tr>
165<tr class="altColor">
166<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind">DeserializationConfig</a></td>
167<td class="colLast">
168<div class="block">Object that contains baseline configuration for deserialization
169 process.</div>
170</td>
171</tr>
172<tr class="rowColor">
173<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/DeserializationContext.html" title="class in com.fasterxml.jackson.databind">DeserializationContext</a></td>
174<td class="colLast">
175<div class="block">Context for the process of deserialization a single root-level value.</div>
176</td>
177</tr>
178<tr class="altColor">
179<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/InjectableValues.html" title="class in com.fasterxml.jackson.databind">InjectableValues</a></td>
180<td class="colLast">
181<div class="block">Abstract class that defines API for objects that provide value to
182 "inject" during deserialization.</div>
183</td>
184</tr>
185<tr class="rowColor">
186<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/InjectableValues.Std.html" title="class in com.fasterxml.jackson.databind">InjectableValues.Std</a></td>
187<td class="colLast">
188<div class="block">Simple standard implementation which uses a simple Map to
189 store values to inject, identified by simple String keys.</div>
190</td>
191</tr>
192<tr class="altColor">
193<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a></td>
194<td class="colLast">
195<div class="block">Base class for type token classes used both to contain information
196 and as keys for deserializers.</div>
197</td>
198</tr>
199<tr class="rowColor">
200<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer</a>&lt;T&gt;</td>
201<td class="colLast">
202<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
203 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
204 arbitrary types from JSON, using provided <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParser.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParser</code></a>.</div>
205</td>
206</tr>
207<tr class="altColor">
208<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonDeserializer.None.html" title="class in com.fasterxml.jackson.databind">JsonDeserializer.None</a></td>
209<td class="colLast">
210<div class="block">This marker class is only to be used with annotations, to
211 indicate that <b>no deserializer is configured</b>.</div>
212</td>
213</tr>
214<tr class="rowColor">
215<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.Reference.html" title="class in com.fasterxml.jackson.databind">JsonMappingException.Reference</a></td>
216<td class="colLast">
217<div class="block">Simple bean class used to contain references.</div>
218</td>
219</tr>
220<tr class="altColor">
221<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind">JsonNode</a></td>
222<td class="colLast">
223<div class="block">Base class for all JSON nodes, which form the basis of JSON
224 Tree Model that Jackson implements.</div>
225</td>
226</tr>
227<tr class="rowColor">
228<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonSerializable.Base.html" title="class in com.fasterxml.jackson.databind">JsonSerializable.Base</a></td>
229<td class="colLast">
230<div class="block">Base class with minimal implementation, as well as couple of extension methods
231 that core Jackson databinding makes use of.</div>
232</td>
233</tr>
234<tr class="altColor">
235<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.html" title="class in com.fasterxml.jackson.databind">JsonSerializer</a>&lt;T&gt;</td>
236<td class="colLast">
237<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
238 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
239 arbitrary types into JSON, using provided <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>.</div>
240</td>
241</tr>
242<tr class="rowColor">
243<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonSerializer.None.html" title="class in com.fasterxml.jackson.databind">JsonSerializer.None</a></td>
244<td class="colLast">
245<div class="block">This marker class is only to be used with annotations, to
246 indicate that <b>no serializer is configured</b>.</div>
247</td>
248</tr>
249<tr class="altColor">
250<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/KeyDeserializer.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer</a></td>
251<td class="colLast">
252<div class="block">Abstract class that defines API used for deserializing JSON content
253 field names into Java Map keys.</div>
254</td>
255</tr>
256<tr class="rowColor">
257<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/KeyDeserializer.None.html" title="class in com.fasterxml.jackson.databind">KeyDeserializer.None</a></td>
258<td class="colLast">
259<div class="block">This marker class is only to be used with annotations, to
260 indicate that <b>no deserializer is configured</b>.</div>
261</td>
262</tr>
263<tr class="altColor">
264<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/MappingIterator.html" title="class in com.fasterxml.jackson.databind">MappingIterator</a>&lt;T&gt;</td>
265<td class="colLast">
266<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
267 objects.</div>
268</td>
269</tr>
270<tr class="rowColor">
271<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/MappingJsonFactory.html" title="class in com.fasterxml.jackson.databind">MappingJsonFactory</a></td>
272<td class="colLast">
273<div class="block">Sub-class of <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/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
274 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/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
275 JSON content and Java objects (POJOs).</div>
276</td>
277</tr>
278<tr class="altColor">
279<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/Module.html" title="class in com.fasterxml.jackson.databind">Module</a></td>
280<td class="colLast">
281<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>
282 to provide a well-defined set of extensions to default functionality; such as
283 support for new data types.</div>
284</td>
285</tr>
286<tr class="rowColor">
287<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a></td>
288<td class="colLast">
289<div class="block">ObjectMapper provides functionality for reading and writing JSON,
290 either to and from basic POJOs (Plain Old Java Objects), or to and from
291 a general-purpose JSON Tree Model (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a>), as well as
292 related functionality for performing conversions.</div>
293</td>
294</tr>
295<tr class="altColor">
296<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.DefaultTypeResolverBuilder.html" title="class in com.fasterxml.jackson.databind">ObjectMapper.DefaultTypeResolverBuilder</a></td>
297<td class="colLast">
298<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
299 used with so-called "default typing"
300 (see <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html#enableDefaultTyping()"><code>ObjectMapper.enableDefaultTyping()</code></a> for details).</div>
301</td>
302</tr>
303<tr class="rowColor">
304<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind">ObjectReader</a></td>
305<td class="colLast">
306<div class="block">Builder object that can be used for per-serialization configuration of
307 deserialization parameters, such as root type to use or object
308 to update (instead of constructing new instance).</div>
309</td>
310</tr>
311<tr class="altColor">
312<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></td>
313<td class="colLast">
314<div class="block">Builder object that can be used for per-serialization configuration of
315 serialization parameters, such as JSON View and root type to use.</div>
316</td>
317</tr>
318<tr class="rowColor">
319<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a></td>
320<td class="colLast">
321<div class="block">Helper class used for containing settings specifically related
322 to (re)configuring <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> constructed for
323 writing output.</div>
324</td>
325</tr>
326<tr class="altColor">
327<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a></td>
328<td class="colLast">
329<div class="block">As a minor optimization, we will make an effort to pre-fetch a serializer,
330 or at least relevant <code>TypeSerializer</code>, if given enough
331 information.</div>
332</td>
333</tr>
334<tr class="rowColor">
335<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyMetadata.html" title="class in com.fasterxml.jackson.databind">PropertyMetadata</a></td>
336<td class="colLast">
337<div class="block">Simple container class used for storing "additional" metadata about
338 properties.</div>
339</td>
340</tr>
341<tr class="altColor">
342<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a></td>
343<td class="colLast">
344<div class="block">Simple value class used for containing names of properties as defined
345 by annotations (and possibly other configuration sources).</div>
346</td>
347</tr>
348<tr class="rowColor">
349<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy</a></td>
350<td class="colLast">
351<div class="block">Class that defines how names of JSON properties ("external names")
352 are derived from names of POJO methods and fields ("internal names"),
353 in cases where they are not
354 auto-detected and no explicit annotations exist for naming.</div>
355</td>
356</tr>
357<tr class="altColor">
358<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.KebabCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.KebabCaseStrategy</a></td>
359<td class="colLast">
360<div class="block">Naming strategy similar to <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.SnakeCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy.SnakeCaseStrategy</code></a>, but instead of underscores
361 as separators, uses hyphens.</div>
362</td>
363</tr>
364<tr class="rowColor">
365<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.LowerCaseStrategy</a></td>
366<td class="colLast">
367<div class="block">Simple strategy where external name simply only uses lower-case characters,
368 and no separators.</div>
369</td>
370</tr>
371<tr class="altColor">
372<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.LowerCaseWithUnderscoresStrategy</a></td>
373<td class="colLast">Deprecated
374<div class="block"><i>In 2.7 use <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.SnakeCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy.SnakeCaseStrategy</code></a> instead</i></div>
375</td>
376</tr>
377<tr class="rowColor">
378<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PascalCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PascalCaseStrategy</a></td>
379<td class="colLast">Deprecated
380<div class="block"><i>In 2.7 use <a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.SnakeCaseStrategy.html" title="class in com.fasterxml.jackson.databind"><code>PropertyNamingStrategy.SnakeCaseStrategy</code></a> instead</i></div>
381</td>
382</tr>
383<tr class="altColor">
384<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.PropertyNamingStrategyBase.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.PropertyNamingStrategyBase</a></td>
385<td class="colLast">&nbsp;</td>
386</tr>
387<tr class="rowColor">
388<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.SnakeCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.SnakeCaseStrategy</a></td>
389<td class="colLast">
390<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
391 property names to lower case JSON element names, separated by
392 underscores.</div>
393</td>
394</tr>
395<tr class="altColor">
396<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/PropertyNamingStrategy.UpperCamelCaseStrategy.html" title="class in com.fasterxml.jackson.databind">PropertyNamingStrategy.UpperCamelCaseStrategy</a></td>
397<td class="colLast">
398<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
399 property names to PascalCase JSON element names (i.e., with a capital
400 first letter).</div>
401</td>
402</tr>
403<tr class="rowColor">
404<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></td>
405<td class="colLast">
406<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
407 for writing sequences of values, not just a single value.</div>
408</td>
409</tr>
410<tr class="altColor">
411<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></td>
412<td class="colLast">
413<div class="block">Object that contains baseline configuration for serialization
414 process.</div>
415</td>
416</tr>
417<tr class="rowColor">
418<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind">SerializerProvider</a></td>
419<td class="colLast">
420<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
421 <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
422 instances of specific types; as well as the default implementation
423 of the functionality.</div>
424</td>
425</tr>
426</tbody>
427</table>
428</li>
429<li class="blockList">
430<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Summary table, listing enums, and an explanation">
431<caption><span>Enum Summary</span><span class="tabEnd">&nbsp;</span></caption>
432<tr>
433<th class="colFirst" scope="col">Enum</th>
434<th class="colLast" scope="col">Description</th>
435</tr>
436<tbody>
437<tr class="altColor">
438<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>
439<td class="colLast">&nbsp;</td>
440</tr>
441<tr class="rowColor">
442<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/DeserializationFeature.html" title="enum in com.fasterxml.jackson.databind">DeserializationFeature</a></td>
443<td class="colLast">
444<div class="block">Enumeration that defines simple on/off features that affect
445 the way Java objects are deserialized from JSON</div>
446</td>
447</tr>
448<tr class="altColor">
449<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a></td>
450<td class="colLast">
451<div class="block">Enumeration that defines simple on/off features to set
452 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)
453 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
454 through various convenience methods through context objects).</div>
455</td>
456</tr>
457<tr class="rowColor">
458<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.DefaultTyping.html" title="enum in com.fasterxml.jackson.databind">ObjectMapper.DefaultTyping</a></td>
459<td class="colLast">
460<div class="block">Enumeration used with <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html#enableDefaultTyping()"><code>ObjectMapper.enableDefaultTyping()</code></a>
461 to specify what kind of types (classes) default typing should
462 be used for.</div>
463</td>
464</tr>
465<tr class="altColor">
466<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a></td>
467<td class="colLast">
468<div class="block">Enumeration that defines simple on/off features that affect
469 the way Java objects are serialized.</div>
470</td>
471</tr>
472</tbody>
473</table>
474</li>
475<li class="blockList">
476<table class="packageSummary" border="0" cellpadding="3" cellspacing="0" summary="Exception Summary table, listing exceptions, and an explanation">
477<caption><span>Exception Summary</span><span class="tabEnd">&nbsp;</span></caption>
478<tr>
479<th class="colFirst" scope="col">Exception</th>
480<th class="colLast" scope="col">Description</th>
481</tr>
482<tbody>
483<tr class="altColor">
484<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></td>
485<td class="colLast">
486<div class="block">Checked exception used to signal fatal problems with mapping of
487 content, distinct from low-level I/O problems (signaled using
488 simple <a href="http://docs.oracle.com/javase/7/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>s) or data encoding/decoding
489 problems (signaled with <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonParseException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonParseException</code></a>,
490 <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerationException</code></a>).</div>
491</td>
492</tr>
493<tr class="rowColor">
494<td class="colFirst"><a href="../../../../com/fasterxml/jackson/databind/RuntimeJsonMappingException.html" title="class in com.fasterxml.jackson.databind">RuntimeJsonMappingException</a></td>
495<td class="colLast">
496<div class="block">Wrapper used when interface does not allow throwing a checked
497 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind"><code>JsonMappingException</code></a></div>
498</td>
499</tr>
500</tbody>
501</table>
502</li>
503</ul>
504<a name="package_description">
505<!--   -->
506</a>
507<h2 title="Package com.fasterxml.jackson.databind Description">Package com.fasterxml.jackson.databind Description</h2>
508<div class="block">Basic data binding (mapping) functionality that
509allows for reading JSON content into Java Objects (POJOs)
510and JSON Trees (<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a>), as well as
511writing Java Objects and trees as JSON.
512Reading and writing (as well as related additional functionality) is accessed through
513<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>,
514<a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a> and
515<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>
516 classes.
517 In addition to reading and writing JSON content, it is also possible to use the
518 general databinding functionality for many other data formats, using
519 Jackson extension modules that provide such support: if so, you typically
520 simply construct an <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> with
521 different underlying streaming parser, generator implementation.
522<p>
523The main starting point for operations is <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>,
524which can be used either directly (via multiple overloaded
525<code>readValue</code>,
526<code>readTree</code>,
527<code>writeValue</code> and
528<code>writeTree</code> methods, or it can be used as a configurable factory for constructing
529fully immutable, thread-safe and reusable <a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a>
530and <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> objects.
531<p>
532In addition to simple reading and writing of JSON as POJOs or JSON trees (represented as
533<a href="../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a>, and configurability needed to change aspects
534of reading/writing, mapper contains additional functionality such as:
535<ul>
536 <li>Value conversions using <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html#convertValue(java.lang.Object,%20java.lang.Class)"><code>ObjectMapper.convertValue(Object, Class)</code></a>,
537  <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html#valueToTree(java.lang.Object)"><code>ObjectMapper.valueToTree(Object)</code></a> and
538  <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html#treeToValue(com.fasterxml.jackson.core.TreeNode,%20java.lang.Class)"><code>ObjectMapper.treeToValue(com.fasterxml.jackson.core.TreeNode, Class)</code></a> methods.
539  </li>
540 <li>Type introspection needed for things like generation of Schemas (like JSON Schema, Avro Schema, or protoc
541   definitions), using <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html#acceptJsonFormatVisitor(java.lang.Class,%20com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper)"><code>ObjectMapper.acceptJsonFormatVisitor(Class, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper)</code></a>
542   (note: actual handles are usually provided by various Jackson modules: mapper simply initiates calling of
543   callbacks, based on serializers registered)
544  </li>
545</ul>
546<p>
547Simplest usage is of form:
548<pre>
549  final ObjectMapper mapper = new ObjectMapper(); // can use static singleton, inject: just make sure to reuse!
550  MyValue value = new MyValue();
551  // ... and configure
552  File newState = new File("my-stuff.json");
553  mapper.writeValue(newState, value); // writes JSON serialization of MyValue instance
554  // or, read
555  MyValue older = mapper.readValue(new File("my-older-stuff.json"), MyValue.class);
556
557  // Or if you prefer JSON Tree representation:
558  JsonNode root = mapper.readTree(newState);
559  // and find values by, for example, using a <a href="http://fasterxml.github.com/jackson-core/javadoc/2.7/com/fasterxml/jackson/core/JsonPointer.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonPointer</code></a> expression:
560  int age = root.at("/personal/age").getValueAsInt();
561</pre>
562<p>
563For more usage, refer to
564<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a>,
565<a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><code>ObjectReader</code></a> and
566<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>
567Javadocs.</div>
568</div>
569<!-- ======= START OF BOTTOM NAVBAR ====== -->
570<div class="bottomNav"><a name="navbar_bottom">
571<!--   -->
572</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
573<!--   -->
574</a>
575<ul class="navList" title="Navigation">
576<li><a href="../../../../overview-summary.html">Overview</a></li>
577<li class="navBarCell1Rev">Package</li>
578<li>Class</li>
579<li><a href="package-use.html">Use</a></li>
580<li><a href="package-tree.html">Tree</a></li>
581<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
582<li><a href="../../../../index-all.html">Index</a></li>
583<li><a href="../../../../help-doc.html">Help</a></li>
584</ul>
585</div>
586<div class="subNav">
587<ul class="navList">
588<li>Prev Package</li>
589<li><a href="../../../../com/fasterxml/jackson/databind/annotation/package-summary.html">Next Package</a></li>
590</ul>
591<ul class="navList">
592<li><a href="../../../../index.html?com/fasterxml/jackson/databind/package-summary.html" target="_top">Frames</a></li>
593<li><a href="package-summary.html" target="_top">No Frames</a></li>
594</ul>
595<ul class="navList" id="allclasses_navbar_bottom">
596<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
597</ul>
598<div>
599<script type="text/javascript"><!--
600  allClassesLink = document.getElementById("allclasses_navbar_bottom");
601  if(window==top) {
602    allClassesLink.style.display = "block";
603  }
604  else {
605    allClassesLink.style.display = "none";
606  }
607  //-->
608</script>
609</div>
610<a name="skip-navbar_bottom">
611<!--   -->
612</a></div>
613<!-- ======== END OF BOTTOM NAVBAR ======= -->
614<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2016 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
615</body>
616</html>
617