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 (1.8.0_162) on Tue Mar 24 11:44:36 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>ObjectWriter (jackson-databind 2.11.0.rc1 API)</title> 8<meta name="date" content="2020-03-24"> 9<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> 10<script type="text/javascript" src="../../../../script.js"></script> 11</head> 12<body> 13<script type="text/javascript"><!-- 14 try { 15 if (location.href.indexOf('is-external=true') == -1) { 16 parent.document.title="ObjectWriter (jackson-databind 2.11.0.rc1 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":42,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":42,"i68":42,"i69":42,"i70":42,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10}; 23var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]}; 24var altColor = "altColor"; 25var rowColor = "rowColor"; 26var tableTab = "tableTab"; 27var activeTableTab = "activeTableTab"; 28</script> 29<noscript> 30<div>JavaScript is disabled on your browser.</div> 31</noscript> 32<!-- ========= START OF TOP NAVBAR ======= --> 33<div class="topNav"><a name="navbar.top"> 34<!-- --> 35</a> 36<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 37<a name="navbar.top.firstrow"> 38<!-- --> 39</a> 40<ul class="navList" title="Navigation"> 41<li><a href="../../../../overview-summary.html">Overview</a></li> 42<li><a href="package-summary.html">Package</a></li> 43<li class="navBarCell1Rev">Class</li> 44<li><a href="class-use/ObjectWriter.html">Use</a></li> 45<li><a href="package-tree.html">Tree</a></li> 46<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 47<li><a href="../../../../index-all.html">Index</a></li> 48<li><a href="../../../../help-doc.html">Help</a></li> 49</ul> 50</div> 51<div class="subNav"> 52<ul class="navList"> 53<li><a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> 54<li><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next Class</span></a></li> 55</ul> 56<ul class="navList"> 57<li><a href="../../../../index.html?com/fasterxml/jackson/databind/ObjectWriter.html" target="_top">Frames</a></li> 58<li><a href="ObjectWriter.html" target="_top">No Frames</a></li> 59</ul> 60<ul class="navList" id="allclasses_navbar_top"> 61<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 62</ul> 63<div> 64<script type="text/javascript"><!-- 65 allClassesLink = document.getElementById("allclasses_navbar_top"); 66 if(window==top) { 67 allClassesLink.style.display = "block"; 68 } 69 else { 70 allClassesLink.style.display = "none"; 71 } 72 //--> 73</script> 74</div> 75<div> 76<ul class="subNavList"> 77<li>Summary: </li> 78<li><a href="#nested.class.summary">Nested</a> | </li> 79<li><a href="#field.summary">Field</a> | </li> 80<li><a href="#constructor.summary">Constr</a> | </li> 81<li><a href="#method.summary">Method</a></li> 82</ul> 83<ul class="subNavList"> 84<li>Detail: </li> 85<li><a href="#field.detail">Field</a> | </li> 86<li><a href="#constructor.detail">Constr</a> | </li> 87<li><a href="#method.detail">Method</a></li> 88</ul> 89</div> 90<a name="skip.navbar.top"> 91<!-- --> 92</a></div> 93<!-- ========= END OF TOP NAVBAR ========= --> 94<!-- ======== START OF CLASS DATA ======== --> 95<div class="header"> 96<div class="subTitle">com.fasterxml.jackson.databind</div> 97<h2 title="Class ObjectWriter" class="title">Class ObjectWriter</h2> 98</div> 99<div class="contentContainer"> 100<ul class="inheritance"> 101<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 102<li> 103<ul class="inheritance"> 104<li>com.fasterxml.jackson.databind.ObjectWriter</li> 105</ul> 106</li> 107</ul> 108<div class="description"> 109<ul class="blockList"> 110<li class="blockList"> 111<dl> 112<dt>All Implemented Interfaces:</dt> 113<dd><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/Versioned.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Versioned</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></dd> 114</dl> 115<hr> 116<br> 117<pre>public class <span class="typeNameLabel">ObjectWriter</span> 118extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> 119implements <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/Versioned.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Versioned</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a></pre> 120<div class="block">Builder object that can be used for per-serialization configuration of 121 serialization parameters, such as JSON View and root type to use. 122 (and thus fully thread-safe with no external synchronization); 123 new instances are constructed for different configurations. 124 Instances are initially constructed by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> and can be 125 reused in completely thread-safe manner with no explicit synchronization</div> 126<dl> 127<dt><span class="seeLabel">See Also:</span></dt> 128<dd><a href="../../../../serialized-form.html#com.fasterxml.jackson.databind.ObjectWriter">Serialized Form</a></dd> 129</dl> 130</li> 131</ul> 132</div> 133<div class="summary"> 134<ul class="blockList"> 135<li class="blockList"> 136<!-- ======== NESTED CLASS SUMMARY ======== --> 137<ul class="blockList"> 138<li class="blockList"><a name="nested.class.summary"> 139<!-- --> 140</a> 141<h3>Nested Class Summary</h3> 142<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> 143<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> 144<tr> 145<th class="colFirst" scope="col">Modifier and Type</th> 146<th class="colLast" scope="col">Class and Description</th> 147</tr> 148<tr class="altColor"> 149<td class="colFirst"><code>static class </code></td> 150<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a></span></code> 151<div class="block">Helper class used for containing settings specifically related 152 to (re)configuring <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> constructed for 153 writing output.</div> 154</td> 155</tr> 156<tr class="rowColor"> 157<td class="colFirst"><code>static class </code></td> 158<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a></span></code> 159<div class="block">As a minor optimization, we will make an effort to pre-fetch a serializer, 160 or at least relevant <code>TypeSerializer</code>, if given enough 161 information.</div> 162</td> 163</tr> 164</table> 165</li> 166</ul> 167<!-- =========== FIELD SUMMARY =========== --> 168<ul class="blockList"> 169<li class="blockList"><a name="field.summary"> 170<!-- --> 171</a> 172<h3>Field Summary</h3> 173<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> 174<caption><span>Fields</span><span class="tabEnd"> </span></caption> 175<tr> 176<th class="colFirst" scope="col">Modifier and Type</th> 177<th class="colLast" scope="col">Field and Description</th> 178</tr> 179<tr class="altColor"> 180<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 181<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_config">_config</a></span></code> 182<div class="block">General serialization configuration settings</div> 183</td> 184</tr> 185<tr class="rowColor"> 186<td class="colFirst"><code>protected <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a></code></td> 187<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_generatorFactory">_generatorFactory</a></span></code> 188<div class="block">Factory used for constructing <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>s</div> 189</td> 190</tr> 191<tr class="altColor"> 192<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a></code></td> 193<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_generatorSettings">_generatorSettings</a></span></code> 194<div class="block">Container for settings that need to be passed to <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> 195 constructed for serializing values.</div> 196</td> 197</tr> 198<tr class="rowColor"> 199<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a></code></td> 200<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_prefetch">_prefetch</a></span></code> 201<div class="block">We may pre-fetch serializer if root type 202 is known (has been explicitly declared), and if so, reuse it afterwards.</div> 203</td> 204</tr> 205<tr class="altColor"> 206<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a></code></td> 207<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_serializerFactory">_serializerFactory</a></span></code> </td> 208</tr> 209<tr class="rowColor"> 210<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a></code></td> 211<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_serializerProvider">_serializerProvider</a></span></code> </td> 212</tr> 213<tr class="altColor"> 214<td class="colFirst"><code>protected static <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a></code></td> 215<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#NULL_PRETTY_PRINTER">NULL_PRETTY_PRINTER</a></span></code> 216<div class="block">We need to keep track of explicit disabling of pretty printing; 217 easiest to do by a token value.</div> 218</td> 219</tr> 220</table> 221</li> 222</ul> 223<!-- ======== CONSTRUCTOR SUMMARY ======== --> 224<ul class="blockList"> 225<li class="blockList"><a name="constructor.summary"> 226<!-- --> 227</a> 228<h3>Constructor Summary</h3> 229<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> 230<caption><span>Constructors</span><span class="tabEnd"> </span></caption> 231<tr> 232<th class="colFirst" scope="col">Modifier</th> 233<th class="colLast" scope="col">Constructor and Description</th> 234</tr> 235<tr class="altColor"> 236<td class="colFirst"><code>protected </code></td> 237<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectMapper-com.fasterxml.jackson.databind.SerializationConfig-">ObjectWriter</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a> mapper, 238 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</code> 239<div class="block">Alternative constructor for initial instantiation by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a></div> 240</td> 241</tr> 242<tr class="rowColor"> 243<td class="colFirst"><code>protected </code></td> 244<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectMapper-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.core.FormatSchema-">ObjectWriter</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a> mapper, 245 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 246 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a> s)</code> 247<div class="block">Alternative constructor for initial instantiation by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a></div> 248</td> 249</tr> 250<tr class="altColor"> 251<td class="colFirst"><code>protected </code></td> 252<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectMapper-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.core.PrettyPrinter-">ObjectWriter</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a> mapper, 253 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 254 <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 255 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a> pp)</code> 256<div class="block">Constructor used by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> for initial instantiation</div> 257</td> 258</tr> 259<tr class="rowColor"> 260<td class="colFirst"><code>protected </code></td> 261<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.core.JsonFactory-">ObjectWriter</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 262 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a> f)</code> </td> 263</tr> 264<tr class="altColor"> 265<td class="colFirst"><code>protected </code></td> 266<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-">ObjectWriter</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 267 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</code> 268<div class="block">Copy constructor used for building variations.</div> 269</td> 270</tr> 271<tr class="rowColor"> 272<td class="colFirst"><code>protected </code></td> 273<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ObjectWriter.GeneratorSettings-com.fasterxml.jackson.databind.ObjectWriter.Prefetch-">ObjectWriter</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 274 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 275 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a> genSettings, 276 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> prefetch)</code> 277<div class="block">Copy constructor used for building variations.</div> 278</td> 279</tr> 280</table> 281</li> 282</ul> 283<!-- ========== METHOD SUMMARY =========== --> 284<ul class="blockList"> 285<li class="blockList"><a name="method.summary"> 286<!-- --> 287</a> 288<h3>Method Summary</h3> 289<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 290<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> 291<tr> 292<th class="colFirst" scope="col">Modifier and Type</th> 293<th class="colLast" scope="col">Method and Description</th> 294</tr> 295<tr id="i0" class="altColor"> 296<td class="colFirst"><code>protected void</code></td> 297<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_assertNotNull-java.lang.String-java.lang.Object-">_assertNotNull</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> paramName, 298 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> src)</code> </td> 299</tr> 300<tr id="i1" class="rowColor"> 301<td class="colFirst"><code>protected void</code></td> 302<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_configAndWriteValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-">_configAndWriteValue</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 303 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 304<div class="block">Method called to configure the generator as necessary and then 305 call write functionality</div> 306</td> 307</tr> 308<tr id="i2" class="altColor"> 309<td class="colFirst"><code>protected void</code></td> 310<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_configureGenerator-com.fasterxml.jackson.core.JsonGenerator-">_configureGenerator</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen)</code> 311<div class="block">Helper method called to set or override settings of passed-in 312 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a></div> 313</td> 314</tr> 315<tr id="i3" class="rowColor"> 316<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 317<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter.GeneratorSettings-com.fasterxml.jackson.databind.ObjectWriter.Prefetch-">_new</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a> genSettings, 318 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> prefetch)</code> 319<div class="block">Overridable factory method called by various "withXxx()" methods.</div> 320</td> 321</tr> 322<tr id="i4" class="altColor"> 323<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 324<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.core.JsonFactory-">_new</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 325 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a> f)</code> 326<div class="block">Overridable factory method called by various "withXxx()" methods</div> 327</td> 328</tr> 329<tr id="i5" class="rowColor"> 330<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 331<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-">_new</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 332 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</code> 333<div class="block">Overridable factory method called by various "withXxx()" methods</div> 334</td> 335</tr> 336<tr id="i6" class="altColor"> 337<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 338<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_newSequenceWriter-boolean-com.fasterxml.jackson.core.JsonGenerator-boolean-">_newSequenceWriter</a></span>(boolean wrapInArray, 339 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 340 boolean managedInput)</code> 341<div class="block">Overridable factory method called by <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-java.io.OutputStream-"><code>writeValues(OutputStream)</code></a> 342 method (and its various overrides), and initializes it as necessary.</div> 343</td> 344</tr> 345<tr id="i7" class="rowColor"> 346<td class="colFirst"><code>protected <a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a></code></td> 347<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_serializerProvider--">_serializerProvider</a></span>()</code> 348<div class="block">Overridable helper method used for constructing 349 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a> to use for serialization.</div> 350</td> 351</tr> 352<tr id="i8" class="altColor"> 353<td class="colFirst"><code>protected void</code></td> 354<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#Z:Z_verifySchemaType-com.fasterxml.jackson.core.FormatSchema-">_verifySchemaType</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a> schema)</code> </td> 355</tr> 356<tr id="i9" class="rowColor"> 357<td class="colFirst"><code>void</code></td> 358<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#acceptJsonFormatVisitor-java.lang.Class-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-">acceptJsonFormatVisitor</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type, 359 <a href="../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor)</code> 360<div class="block">Since 2.6</div> 361</td> 362</tr> 363<tr id="i10" class="altColor"> 364<td class="colFirst"><code>void</code></td> 365<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#acceptJsonFormatVisitor-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-">acceptJsonFormatVisitor</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 366 <a href="../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor)</code> 367<div class="block">Method for visiting type hierarchy for given type, using specified visitor.</div> 368</td> 369</tr> 370<tr id="i11" class="rowColor"> 371<td class="colFirst"><code>boolean</code></td> 372<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#canSerialize-java.lang.Class-">canSerialize</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</code> </td> 373</tr> 374<tr id="i12" class="altColor"> 375<td class="colFirst"><code>boolean</code></td> 376<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#canSerialize-java.lang.Class-java.util.concurrent.atomic.AtomicReference-">canSerialize</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type, 377 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>> cause)</code> 378<div class="block">Method for checking whether instances of given type can be serialized, 379 and optionally why (as per <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><code>Throwable</code></a> returned).</div> 380</td> 381</tr> 382<tr id="i13" class="rowColor"> 383<td class="colFirst"><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a></code></td> 384<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#createGenerator-java.io.DataOutput-">createGenerator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a> out)</code> 385<div class="block">Factory method for constructing properly initialized <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> 386 to write content using specified <a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io"><code>DataOutput</code></a>.</div> 387</td> 388</tr> 389<tr id="i14" class="altColor"> 390<td class="colFirst"><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a></code></td> 391<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#createGenerator-java.io.File-com.fasterxml.jackson.core.JsonEncoding-">createGenerator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> outputFile, 392 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonEncoding.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonEncoding</a> enc)</code> 393<div class="block">Factory method for constructing properly initialized <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> 394 to write content to specified <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io"><code>File</code></a>, using specified encoding.</div> 395</td> 396</tr> 397<tr id="i15" class="rowColor"> 398<td class="colFirst"><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a></code></td> 399<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#createGenerator-java.io.OutputStream-">createGenerator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</code> 400<div class="block">Factory method for constructing properly initialized <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> 401 to write content using specified <a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a>.</div> 402</td> 403</tr> 404<tr id="i16" class="altColor"> 405<td class="colFirst"><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a></code></td> 406<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#createGenerator-java.io.OutputStream-com.fasterxml.jackson.core.JsonEncoding-">createGenerator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, 407 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonEncoding.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonEncoding</a> enc)</code> 408<div class="block">Factory method for constructing properly initialized <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> 409 to write content using specified <a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a> and encoding.</div> 410</td> 411</tr> 412<tr id="i17" class="rowColor"> 413<td class="colFirst"><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a></code></td> 414<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#createGenerator-java.io.Writer-">createGenerator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> w)</code> 415<div class="block">Factory method for constructing properly initialized <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> 416 to write content using specified <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><code>Writer</code></a>.</div> 417</td> 418</tr> 419<tr id="i18" class="altColor"> 420<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 421<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-">forType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> rootType)</code> 422<div class="block">Method that will construct a new instance that uses specific type 423 as the root type for serialization, instead of runtime dynamic 424 type of the root object itself.</div> 425</td> 426</tr> 427<tr id="i19" class="rowColor"> 428<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 429<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.databind.JavaType-">forType</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType)</code> 430<div class="block">Method that will construct a new instance that uses specific type 431 as the root type for serialization, instead of runtime dynamic 432 type of the root object itself.</div> 433</td> 434</tr> 435<tr id="i20" class="altColor"> 436<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 437<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.core.type.TypeReference-">forType</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/type/TypeReference.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.type">TypeReference</a><?> rootType)</code> 438<div class="block">Method that will construct a new instance that uses specific type 439 as the root type for serialization, instead of runtime dynamic 440 type of the root object itself.</div> 441</td> 442</tr> 443<tr id="i21" class="rowColor"> 444<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a></code></td> 445<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getAttributes--">getAttributes</a></span>()</code> </td> 446</tr> 447<tr id="i22" class="altColor"> 448<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 449<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getConfig--">getConfig</a></span>()</code> </td> 450</tr> 451<tr id="i23" class="rowColor"> 452<td class="colFirst"><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a></code></td> 453<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getFactory--">getFactory</a></span>()</code> </td> 454</tr> 455<tr id="i24" class="altColor"> 456<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a></code></td> 457<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#getTypeFactory--">getTypeFactory</a></span>()</code> </td> 458</tr> 459<tr id="i25" class="rowColor"> 460<td class="colFirst"><code>boolean</code></td> 461<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#hasPrefetchedSerializer--">hasPrefetchedSerializer</a></span>()</code> 462<div class="block">Diagnostics method that can be called to check whether this writer 463 has pre-fetched serializer to use: pre-fetching improves performance 464 when writer instances are reused as it avoids a per-call serializer 465 lookup.</div> 466</td> 467</tr> 468<tr id="i26" class="altColor"> 469<td class="colFirst"><code>boolean</code></td> 470<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled-com.fasterxml.jackson.core.JsonGenerator.Feature-">isEnabled</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a> f)</code> </td> 471</tr> 472<tr id="i27" class="rowColor"> 473<td class="colFirst"><code>boolean</code></td> 474<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled-com.fasterxml.jackson.core.JsonParser.Feature-">isEnabled</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonParser.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.Feature</a> f)</code> 475<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> 476</td> 477</tr> 478<tr id="i28" class="altColor"> 479<td class="colFirst"><code>boolean</code></td> 480<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled-com.fasterxml.jackson.databind.MapperFeature-">isEnabled</a></span>(<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> f)</code> </td> 481</tr> 482<tr id="i29" class="rowColor"> 483<td class="colFirst"><code>boolean</code></td> 484<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled-com.fasterxml.jackson.databind.SerializationFeature-">isEnabled</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> f)</code> </td> 485</tr> 486<tr id="i30" class="altColor"> 487<td class="colFirst"><code>boolean</code></td> 488<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#isEnabled-com.fasterxml.jackson.core.StreamWriteFeature-">isEnabled</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/StreamWriteFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">StreamWriteFeature</a> f)</code> </td> 489</tr> 490<tr id="i31" class="rowColor"> 491<td class="colFirst"><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a></code></td> 492<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#version--">version</a></span>()</code> 493<div class="block">Method that will return version information stored in and read from jar 494 that contains this class.</div> 495</td> 496</tr> 497<tr id="i32" class="altColor"> 498<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 499<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.Base64Variant-">with</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/Base64Variant.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Base64Variant</a> b64variant)</code> 500<div class="block">Method that will construct a new instance that uses specified default 501 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/Base64Variant.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>Base64Variant</code></a> for base64 encoding</div> 502</td> 503</tr> 504<tr id="i33" class="rowColor"> 505<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 506<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.io.CharacterEscapes-">with</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/io/CharacterEscapes.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">CharacterEscapes</a> escapes)</code> </td> 507</tr> 508<tr id="i34" class="altColor"> 509<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 510<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.databind.cfg.ContextAttributes-">with</a></span>(<a href="../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a> attrs)</code> </td> 511</tr> 512<tr id="i35" class="rowColor"> 513<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 514<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-java.text.DateFormat-">with</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a> df)</code> 515<div class="block">Fluent factory method that will construct a new writer instance that will 516 use specified date format for serializing dates; or if null passed, one 517 that will serialize dates as numeric timestamps.</div> 518</td> 519</tr> 520<tr id="i36" class="altColor"> 521<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 522<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.databind.ser.FilterProvider-">with</a></span>(<a href="../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</a> filterProvider)</code> 523<div class="block">Method that will construct a new instance that uses specified 524 provider for resolving filter instances by id.</div> 525</td> 526</tr> 527<tr id="i37" class="rowColor"> 528<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 529<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.FormatFeature-">with</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a> feature)</code> </td> 530</tr> 531<tr id="i38" class="altColor"> 532<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 533<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.FormatSchema-">with</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a> schema)</code> 534<div class="block">Method that will construct a new instance that uses specific format schema 535 for serialization.</div> 536</td> 537</tr> 538<tr id="i39" class="rowColor"> 539<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 540<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.JsonFactory-">with</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a> f)</code> </td> 541</tr> 542<tr id="i40" class="altColor"> 543<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 544<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.JsonGenerator.Feature-">with</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a> feature)</code> </td> 545</tr> 546<tr id="i41" class="rowColor"> 547<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 548<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-java.util.Locale-">with</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> l)</code> </td> 549</tr> 550<tr id="i42" class="altColor"> 551<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 552<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.PrettyPrinter-">with</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a> pp)</code> 553<div class="block">Method that will construct a new instance that will use specified pretty 554 printer (or, if null, will not do any pretty-printing)</div> 555</td> 556</tr> 557<tr id="i43" class="rowColor"> 558<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 559<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.databind.SerializationFeature-">with</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> feature)</code> 560<div class="block">Method for constructing a new instance that is configured 561 with specified feature enabled.</div> 562</td> 563</tr> 564<tr id="i44" class="altColor"> 565<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 566<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">with</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> first, 567 <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</code> 568<div class="block">Method for constructing a new instance that is configured 569 with specified features enabled.</div> 570</td> 571</tr> 572<tr id="i45" class="rowColor"> 573<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 574<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.StreamWriteFeature-">with</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/StreamWriteFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">StreamWriteFeature</a> feature)</code> </td> 575</tr> 576<tr id="i46" class="altColor"> 577<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 578<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-java.util.TimeZone-">with</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> tz)</code> </td> 579</tr> 580<tr id="i47" class="rowColor"> 581<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 582<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withAttribute-java.lang.Object-java.lang.Object-">withAttribute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, 583 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> </td> 584</tr> 585<tr id="i48" class="altColor"> 586<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 587<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withAttributes-java.util.Map-">withAttributes</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><?,?> attrs)</code> 588<div class="block">Mutant factory method that allows construction of a new writer instance 589 that uses specified set of default attribute values.</div> 590</td> 591</tr> 592<tr id="i49" class="rowColor"> 593<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 594<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withDefaultPrettyPrinter--">withDefaultPrettyPrinter</a></span>()</code> 595<div class="block">Method that will construct a new instance that will use the default 596 pretty printer for serialization.</div> 597</td> 598</tr> 599<tr id="i50" class="altColor"> 600<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 601<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withFeatures-com.fasterxml.jackson.core.FormatFeature...-">withFeatures</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a>... features)</code> </td> 602</tr> 603<tr id="i51" class="rowColor"> 604<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 605<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withFeatures-com.fasterxml.jackson.core.JsonGenerator.Feature...-">withFeatures</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>... features)</code> </td> 606</tr> 607<tr id="i52" class="altColor"> 608<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 609<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withFeatures-com.fasterxml.jackson.databind.SerializationFeature...-">withFeatures</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... features)</code> 610<div class="block">Method for constructing a new instance that is configured 611 with specified features enabled.</div> 612</td> 613</tr> 614<tr id="i53" class="rowColor"> 615<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 616<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without-com.fasterxml.jackson.core.FormatFeature-">without</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a> feature)</code> </td> 617</tr> 618<tr id="i54" class="altColor"> 619<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 620<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without-com.fasterxml.jackson.core.JsonGenerator.Feature-">without</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a> feature)</code> </td> 621</tr> 622<tr id="i55" class="rowColor"> 623<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 624<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without-com.fasterxml.jackson.databind.SerializationFeature-">without</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> feature)</code> 625<div class="block">Method for constructing a new instance that is configured 626 with specified feature enabled.</div> 627</td> 628</tr> 629<tr id="i56" class="altColor"> 630<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 631<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">without</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> first, 632 <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</code> 633<div class="block">Method for constructing a new instance that is configured 634 with specified features enabled.</div> 635</td> 636</tr> 637<tr id="i57" class="rowColor"> 638<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 639<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#without-com.fasterxml.jackson.core.StreamWriteFeature-">without</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/StreamWriteFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">StreamWriteFeature</a> feature)</code> </td> 640</tr> 641<tr id="i58" class="altColor"> 642<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 643<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutAttribute-java.lang.Object-">withoutAttribute</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</code> </td> 644</tr> 645<tr id="i59" class="rowColor"> 646<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 647<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutFeatures-com.fasterxml.jackson.core.FormatFeature...-">withoutFeatures</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a>... features)</code> </td> 648</tr> 649<tr id="i60" class="altColor"> 650<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 651<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutFeatures-com.fasterxml.jackson.core.JsonGenerator.Feature...-">withoutFeatures</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>... features)</code> </td> 652</tr> 653<tr id="i61" class="rowColor"> 654<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 655<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutFeatures-com.fasterxml.jackson.databind.SerializationFeature...-">withoutFeatures</a></span>(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... features)</code> 656<div class="block">Method for constructing a new instance that is configured 657 with specified features enabled.</div> 658</td> 659</tr> 660<tr id="i62" class="altColor"> 661<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 662<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withoutRootName--">withoutRootName</a></span>()</code> 663<div class="block">Convenience method that is same as calling: 664<code> 665 withRootName("") 666</code> 667 which will forcibly prevent use of root name wrapping when writing 668 values with this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div> 669</td> 670</tr> 671<tr id="i63" class="rowColor"> 672<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 673<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootName-com.fasterxml.jackson.databind.PropertyName-">withRootName</a></span>(<a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a> rootName)</code> </td> 674</tr> 675<tr id="i64" class="altColor"> 676<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 677<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootName-java.lang.String-">withRootName</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> rootName)</code> 678<div class="block">Method for constructing a new instance with configuration that 679 specifies what root name to use for "root element wrapping".</div> 680</td> 681</tr> 682<tr id="i65" class="rowColor"> 683<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 684<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootValueSeparator-com.fasterxml.jackson.core.SerializableString-">withRootValueSeparator</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/SerializableString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">SerializableString</a> sep)</code> </td> 685</tr> 686<tr id="i66" class="altColor"> 687<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 688<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withRootValueSeparator-java.lang.String-">withRootValueSeparator</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sep)</code> </td> 689</tr> 690<tr id="i67" class="rowColor"> 691<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 692<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withSchema-com.fasterxml.jackson.core.FormatSchema-">withSchema</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a> schema)</code> 693<div class="block"><span class="deprecatedLabel">Deprecated.</span> 694<div class="block"><span class="deprecationComment">Since 2.5 use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.FormatSchema-"><code>with(FormatSchema)</code></a> instead</span></div> 695</div> 696</td> 697</tr> 698<tr id="i68" class="altColor"> 699<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 700<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType-java.lang.Class-">withType</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> rootType)</code> 701<div class="block"><span class="deprecatedLabel">Deprecated.</span> 702<div class="block"><span class="deprecationComment">since 2.5 Use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-"><code>forType(Class)</code></a> instead</span></div> 703</div> 704</td> 705</tr> 706<tr id="i69" class="rowColor"> 707<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 708<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType-com.fasterxml.jackson.databind.JavaType-">withType</a></span>(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType)</code> 709<div class="block"><span class="deprecatedLabel">Deprecated.</span> 710<div class="block"><span class="deprecationComment">since 2.5 Use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.databind.JavaType-"><code>forType(JavaType)</code></a> instead</span></div> 711</div> 712</td> 713</tr> 714<tr id="i70" class="altColor"> 715<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 716<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withType-com.fasterxml.jackson.core.type.TypeReference-">withType</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/type/TypeReference.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.type">TypeReference</a><?> rootType)</code> 717<div class="block"><span class="deprecatedLabel">Deprecated.</span> 718<div class="block"><span class="deprecationComment">since 2.5 Use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.core.type.TypeReference-"><code>forType(TypeReference)</code></a> instead</span></div> 719</div> 720</td> 721</tr> 722<tr id="i71" class="rowColor"> 723<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 724<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#withView-java.lang.Class-">withView</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> view)</code> 725<div class="block">Method that will construct a new instance that uses specified 726 serialization view for serialization (with null basically disables 727 view processing)</div> 728</td> 729</tr> 730<tr id="i72" class="altColor"> 731<td class="colFirst"><code>void</code></td> 732<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-java.io.DataOutput-java.lang.Object-">writeValue</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a> out, 733 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> </td> 734</tr> 735<tr id="i73" class="rowColor"> 736<td class="colFirst"><code>void</code></td> 737<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-java.io.File-java.lang.Object-">writeValue</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> resultFile, 738 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 739<div class="block">Method that can be used to serialize any Java value as 740 JSON output, written to File provided.</div> 741</td> 742</tr> 743<tr id="i74" class="altColor"> 744<td class="colFirst"><code>void</code></td> 745<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-">writeValue</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> g, 746 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 747<div class="block">Method that can be used to serialize any Java value as 748 JSON output, using provided <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>.</div> 749</td> 750</tr> 751<tr id="i75" class="rowColor"> 752<td class="colFirst"><code>void</code></td> 753<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-java.io.OutputStream-java.lang.Object-">writeValue</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, 754 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 755<div class="block">Method that can be used to serialize any Java value as 756 JSON output, using output stream provided (using encoding 757 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonEncoding.html?is-external=true#UTF8" title="class or interface in com.fasterxml.jackson.core"><code>JsonEncoding.UTF8</code></a>).</div> 758</td> 759</tr> 760<tr id="i76" class="altColor"> 761<td class="colFirst"><code>void</code></td> 762<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-java.io.Writer-java.lang.Object-">writeValue</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> w, 763 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 764<div class="block">Method that can be used to serialize any Java value as 765 JSON output, using Writer provided.</div> 766</td> 767</tr> 768<tr id="i77" class="rowColor"> 769<td class="colFirst"><code>byte[]</code></td> 770<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValueAsBytes-java.lang.Object-">writeValueAsBytes</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 771<div class="block">Method that can be used to serialize any Java value as 772 a byte array.</div> 773</td> 774</tr> 775<tr id="i78" class="altColor"> 776<td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> 777<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValueAsString-java.lang.Object-">writeValueAsString</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</code> 778<div class="block">Method that can be used to serialize any Java value as 779 a String.</div> 780</td> 781</tr> 782<tr id="i79" class="rowColor"> 783<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 784<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-java.io.DataOutput-">writeValues</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a> out)</code> </td> 785</tr> 786<tr id="i80" class="altColor"> 787<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 788<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-java.io.File-">writeValues</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> out)</code> 789<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root 790 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div> 791</td> 792</tr> 793<tr id="i81" class="rowColor"> 794<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 795<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-com.fasterxml.jackson.core.JsonGenerator-">writeValues</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> g)</code> 796<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root 797 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div> 798</td> 799</tr> 800<tr id="i82" class="altColor"> 801<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 802<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-java.io.OutputStream-">writeValues</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</code> 803<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root 804 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div> 805</td> 806</tr> 807<tr id="i83" class="rowColor"> 808<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 809<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-java.io.Writer-">writeValues</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out)</code> 810<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root 811 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div> 812</td> 813</tr> 814<tr id="i84" class="altColor"> 815<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 816<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValuesAsArray-java.io.DataOutput-">writeValuesAsArray</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a> out)</code> </td> 817</tr> 818<tr id="i85" class="rowColor"> 819<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 820<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValuesAsArray-java.io.File-">writeValuesAsArray</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> out)</code> 821<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of 822 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div> 823</td> 824</tr> 825<tr id="i86" class="altColor"> 826<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 827<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValuesAsArray-com.fasterxml.jackson.core.JsonGenerator-">writeValuesAsArray</a></span>(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen)</code> 828<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of 829 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div> 830</td> 831</tr> 832<tr id="i87" class="rowColor"> 833<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 834<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValuesAsArray-java.io.OutputStream-">writeValuesAsArray</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out)</code> 835<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of 836 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div> 837</td> 838</tr> 839<tr id="i88" class="altColor"> 840<td class="colFirst"><code><a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a></code></td> 841<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValuesAsArray-java.io.Writer-">writeValuesAsArray</a></span>(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out)</code> 842<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of 843 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div> 844</td> 845</tr> 846</table> 847<ul class="blockList"> 848<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 849<!-- --> 850</a> 851<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 852<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 853</ul> 854</li> 855</ul> 856</li> 857</ul> 858</div> 859<div class="details"> 860<ul class="blockList"> 861<li class="blockList"> 862<!-- ============ FIELD DETAIL =========== --> 863<ul class="blockList"> 864<li class="blockList"><a name="field.detail"> 865<!-- --> 866</a> 867<h3>Field Detail</h3> 868<a name="NULL_PRETTY_PRINTER"> 869<!-- --> 870</a> 871<ul class="blockList"> 872<li class="blockList"> 873<h4>NULL_PRETTY_PRINTER</h4> 874<pre>protected static final <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a> NULL_PRETTY_PRINTER</pre> 875<div class="block">We need to keep track of explicit disabling of pretty printing; 876 easiest to do by a token value.</div> 877</li> 878</ul> 879<a name="Z:Z_config"> 880<!-- --> 881</a> 882<ul class="blockList"> 883<li class="blockList"> 884<h4>_config</h4> 885<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> _config</pre> 886<div class="block">General serialization configuration settings</div> 887</li> 888</ul> 889<a name="Z:Z_serializerProvider"> 890<!-- --> 891</a> 892<ul class="blockList"> 893<li class="blockList"> 894<h4>_serializerProvider</h4> 895<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> _serializerProvider</pre> 896</li> 897</ul> 898<a name="Z:Z_serializerFactory"> 899<!-- --> 900</a> 901<ul class="blockList"> 902<li class="blockList"> 903<h4>_serializerFactory</h4> 904<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ser/SerializerFactory.html" title="class in com.fasterxml.jackson.databind.ser">SerializerFactory</a> _serializerFactory</pre> 905</li> 906</ul> 907<a name="Z:Z_generatorFactory"> 908<!-- --> 909</a> 910<ul class="blockList"> 911<li class="blockList"> 912<h4>_generatorFactory</h4> 913<pre>protected final <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a> _generatorFactory</pre> 914<div class="block">Factory used for constructing <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>s</div> 915</li> 916</ul> 917<a name="Z:Z_generatorSettings"> 918<!-- --> 919</a> 920<ul class="blockList"> 921<li class="blockList"> 922<h4>_generatorSettings</h4> 923<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a> _generatorSettings</pre> 924<div class="block">Container for settings that need to be passed to <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> 925 constructed for serializing values.</div> 926<dl> 927<dt><span class="simpleTagLabel">Since:</span></dt> 928<dd>2.5</dd> 929</dl> 930</li> 931</ul> 932<a name="Z:Z_prefetch"> 933<!-- --> 934</a> 935<ul class="blockListLast"> 936<li class="blockList"> 937<h4>_prefetch</h4> 938<pre>protected final <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> _prefetch</pre> 939<div class="block">We may pre-fetch serializer if root type 940 is known (has been explicitly declared), and if so, reuse it afterwards. 941 This allows avoiding further serializer lookups and increases 942 performance a bit on cases where readers are reused.</div> 943<dl> 944<dt><span class="simpleTagLabel">Since:</span></dt> 945<dd>2.5</dd> 946</dl> 947</li> 948</ul> 949</li> 950</ul> 951<!-- ========= CONSTRUCTOR DETAIL ======== --> 952<ul class="blockList"> 953<li class="blockList"><a name="constructor.detail"> 954<!-- --> 955</a> 956<h3>Constructor Detail</h3> 957<a name="ObjectWriter-com.fasterxml.jackson.databind.ObjectMapper-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.core.PrettyPrinter-"> 958<!-- --> 959</a> 960<ul class="blockList"> 961<li class="blockList"> 962<h4>ObjectWriter</h4> 963<pre>protected ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a> mapper, 964 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 965 <a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType, 966 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a> pp)</pre> 967<div class="block">Constructor used by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a> for initial instantiation</div> 968</li> 969</ul> 970<a name="ObjectWriter-com.fasterxml.jackson.databind.ObjectMapper-com.fasterxml.jackson.databind.SerializationConfig-"> 971<!-- --> 972</a> 973<ul class="blockList"> 974<li class="blockList"> 975<h4>ObjectWriter</h4> 976<pre>protected ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a> mapper, 977 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</pre> 978<div class="block">Alternative constructor for initial instantiation by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a></div> 979</li> 980</ul> 981<a name="ObjectWriter-com.fasterxml.jackson.databind.ObjectMapper-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.core.FormatSchema-"> 982<!-- --> 983</a> 984<ul class="blockList"> 985<li class="blockList"> 986<h4>ObjectWriter</h4> 987<pre>protected ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a> mapper, 988 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 989 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a> s)</pre> 990<div class="block">Alternative constructor for initial instantiation by <a href="../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind"><code>ObjectMapper</code></a></div> 991</li> 992</ul> 993<a name="ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-com.fasterxml.jackson.databind.ObjectWriter.GeneratorSettings-com.fasterxml.jackson.databind.ObjectWriter.Prefetch-"> 994<!-- --> 995</a> 996<ul class="blockList"> 997<li class="blockList"> 998<h4>ObjectWriter</h4> 999<pre>protected ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 1000 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config, 1001 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a> genSettings, 1002 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> prefetch)</pre> 1003<div class="block">Copy constructor used for building variations.</div> 1004</li> 1005</ul> 1006<a name="ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-"> 1007<!-- --> 1008</a> 1009<ul class="blockList"> 1010<li class="blockList"> 1011<h4>ObjectWriter</h4> 1012<pre>protected ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 1013 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</pre> 1014<div class="block">Copy constructor used for building variations.</div> 1015</li> 1016</ul> 1017<a name="ObjectWriter-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.core.JsonFactory-"> 1018<!-- --> 1019</a> 1020<ul class="blockListLast"> 1021<li class="blockList"> 1022<h4>ObjectWriter</h4> 1023<pre>protected ObjectWriter(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 1024 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a> f)</pre> 1025<dl> 1026<dt><span class="simpleTagLabel">Since:</span></dt> 1027<dd>2.3</dd> 1028</dl> 1029</li> 1030</ul> 1031</li> 1032</ul> 1033<!-- ============ METHOD DETAIL ========== --> 1034<ul class="blockList"> 1035<li class="blockList"><a name="method.detail"> 1036<!-- --> 1037</a> 1038<h3>Method Detail</h3> 1039<a name="version--"> 1040<!-- --> 1041</a> 1042<ul class="blockList"> 1043<li class="blockList"> 1044<h4>version</h4> 1045<pre>public <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/Version.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Version</a> version()</pre> 1046<div class="block">Method that will return version information stored in and read from jar 1047 that contains this class.</div> 1048<dl> 1049<dt><span class="overrideSpecifyLabel">Specified by:</span></dt> 1050<dd><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/Versioned.html?is-external=true#version--" title="class or interface in com.fasterxml.jackson.core">version</a></code> in interface <code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/Versioned.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Versioned</a></code></dd> 1051</dl> 1052</li> 1053</ul> 1054<a name="Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.core.JsonFactory-"> 1055<!-- --> 1056</a> 1057<ul class="blockList"> 1058<li class="blockList"> 1059<h4>_new</h4> 1060<pre>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> _new(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 1061 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a> f)</pre> 1062<div class="block">Overridable factory method called by various "withXxx()" methods</div> 1063<dl> 1064<dt><span class="simpleTagLabel">Since:</span></dt> 1065<dd>2.5</dd> 1066</dl> 1067</li> 1068</ul> 1069<a name="Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter-com.fasterxml.jackson.databind.SerializationConfig-"> 1070<!-- --> 1071</a> 1072<ul class="blockList"> 1073<li class="blockList"> 1074<h4>_new</h4> 1075<pre>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> _new(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> base, 1076 <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> config)</pre> 1077<div class="block">Overridable factory method called by various "withXxx()" methods</div> 1078<dl> 1079<dt><span class="simpleTagLabel">Since:</span></dt> 1080<dd>2.5</dd> 1081</dl> 1082</li> 1083</ul> 1084<a name="Z:Z_new-com.fasterxml.jackson.databind.ObjectWriter.GeneratorSettings-com.fasterxml.jackson.databind.ObjectWriter.Prefetch-"> 1085<!-- --> 1086</a> 1087<ul class="blockList"> 1088<li class="blockList"> 1089<h4>_new</h4> 1090<pre>protected <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> _new(<a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.GeneratorSettings</a> genSettings, 1091 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.Prefetch.html" title="class in com.fasterxml.jackson.databind">ObjectWriter.Prefetch</a> prefetch)</pre> 1092<div class="block">Overridable factory method called by various "withXxx()" methods. 1093 It assumes `this` as base for settings other than those directly 1094 passed in.</div> 1095<dl> 1096<dt><span class="simpleTagLabel">Since:</span></dt> 1097<dd>2.5</dd> 1098</dl> 1099</li> 1100</ul> 1101<a name="Z:Z_newSequenceWriter-boolean-com.fasterxml.jackson.core.JsonGenerator-boolean-"> 1102<!-- --> 1103</a> 1104<ul class="blockList"> 1105<li class="blockList"> 1106<h4>_newSequenceWriter</h4> 1107<pre>protected <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> _newSequenceWriter(boolean wrapInArray, 1108 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 1109 boolean managedInput) 1110 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1111<div class="block">Overridable factory method called by <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValues-java.io.OutputStream-"><code>writeValues(OutputStream)</code></a> 1112 method (and its various overrides), and initializes it as necessary.</div> 1113<dl> 1114<dt><span class="throwsLabel">Throws:</span></dt> 1115<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1116<dt><span class="simpleTagLabel">Since:</span></dt> 1117<dd>2.5</dd> 1118</dl> 1119</li> 1120</ul> 1121<a name="with-com.fasterxml.jackson.databind.SerializationFeature-"> 1122<!-- --> 1123</a> 1124<ul class="blockList"> 1125<li class="blockList"> 1126<h4>with</h4> 1127<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> feature)</pre> 1128<div class="block">Method for constructing a new instance that is configured 1129 with specified feature enabled.</div> 1130</li> 1131</ul> 1132<a name="with-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-"> 1133<!-- --> 1134</a> 1135<ul class="blockList"> 1136<li class="blockList"> 1137<h4>with</h4> 1138<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> first, 1139 <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</pre> 1140<div class="block">Method for constructing a new instance that is configured 1141 with specified features enabled.</div> 1142</li> 1143</ul> 1144<a name="withFeatures-com.fasterxml.jackson.databind.SerializationFeature...-"> 1145<!-- --> 1146</a> 1147<ul class="blockList"> 1148<li class="blockList"> 1149<h4>withFeatures</h4> 1150<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withFeatures(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... features)</pre> 1151<div class="block">Method for constructing a new instance that is configured 1152 with specified features enabled.</div> 1153</li> 1154</ul> 1155<a name="without-com.fasterxml.jackson.databind.SerializationFeature-"> 1156<!-- --> 1157</a> 1158<ul class="blockList"> 1159<li class="blockList"> 1160<h4>without</h4> 1161<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> without(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> feature)</pre> 1162<div class="block">Method for constructing a new instance that is configured 1163 with specified feature enabled.</div> 1164</li> 1165</ul> 1166<a name="without-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-"> 1167<!-- --> 1168</a> 1169<ul class="blockList"> 1170<li class="blockList"> 1171<h4>without</h4> 1172<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> without(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> first, 1173 <a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</pre> 1174<div class="block">Method for constructing a new instance that is configured 1175 with specified features enabled.</div> 1176</li> 1177</ul> 1178<a name="withoutFeatures-com.fasterxml.jackson.databind.SerializationFeature...-"> 1179<!-- --> 1180</a> 1181<ul class="blockList"> 1182<li class="blockList"> 1183<h4>withoutFeatures</h4> 1184<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withoutFeatures(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... features)</pre> 1185<div class="block">Method for constructing a new instance that is configured 1186 with specified features enabled.</div> 1187</li> 1188</ul> 1189<a name="with-com.fasterxml.jackson.core.JsonGenerator.Feature-"> 1190<!-- --> 1191</a> 1192<ul class="blockList"> 1193<li class="blockList"> 1194<h4>with</h4> 1195<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a> feature)</pre> 1196<dl> 1197<dt><span class="simpleTagLabel">Since:</span></dt> 1198<dd>2.5</dd> 1199</dl> 1200</li> 1201</ul> 1202<a name="withFeatures-com.fasterxml.jackson.core.JsonGenerator.Feature...-"> 1203<!-- --> 1204</a> 1205<ul class="blockList"> 1206<li class="blockList"> 1207<h4>withFeatures</h4> 1208<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withFeatures(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>... features)</pre> 1209<dl> 1210<dt><span class="simpleTagLabel">Since:</span></dt> 1211<dd>2.5</dd> 1212</dl> 1213</li> 1214</ul> 1215<a name="without-com.fasterxml.jackson.core.JsonGenerator.Feature-"> 1216<!-- --> 1217</a> 1218<ul class="blockList"> 1219<li class="blockList"> 1220<h4>without</h4> 1221<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> without(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a> feature)</pre> 1222<dl> 1223<dt><span class="simpleTagLabel">Since:</span></dt> 1224<dd>2.5</dd> 1225</dl> 1226</li> 1227</ul> 1228<a name="withoutFeatures-com.fasterxml.jackson.core.JsonGenerator.Feature...-"> 1229<!-- --> 1230</a> 1231<ul class="blockList"> 1232<li class="blockList"> 1233<h4>withoutFeatures</h4> 1234<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withoutFeatures(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a>... features)</pre> 1235<dl> 1236<dt><span class="simpleTagLabel">Since:</span></dt> 1237<dd>2.5</dd> 1238</dl> 1239</li> 1240</ul> 1241<a name="with-com.fasterxml.jackson.core.StreamWriteFeature-"> 1242<!-- --> 1243</a> 1244<ul class="blockList"> 1245<li class="blockList"> 1246<h4>with</h4> 1247<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/StreamWriteFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">StreamWriteFeature</a> feature)</pre> 1248<dl> 1249<dt><span class="simpleTagLabel">Since:</span></dt> 1250<dd>2.11</dd> 1251</dl> 1252</li> 1253</ul> 1254<a name="without-com.fasterxml.jackson.core.StreamWriteFeature-"> 1255<!-- --> 1256</a> 1257<ul class="blockList"> 1258<li class="blockList"> 1259<h4>without</h4> 1260<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> without(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/StreamWriteFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">StreamWriteFeature</a> feature)</pre> 1261<dl> 1262<dt><span class="simpleTagLabel">Since:</span></dt> 1263<dd>2.11</dd> 1264</dl> 1265</li> 1266</ul> 1267<a name="with-com.fasterxml.jackson.core.FormatFeature-"> 1268<!-- --> 1269</a> 1270<ul class="blockList"> 1271<li class="blockList"> 1272<h4>with</h4> 1273<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a> feature)</pre> 1274<dl> 1275<dt><span class="simpleTagLabel">Since:</span></dt> 1276<dd>2.7</dd> 1277</dl> 1278</li> 1279</ul> 1280<a name="withFeatures-com.fasterxml.jackson.core.FormatFeature...-"> 1281<!-- --> 1282</a> 1283<ul class="blockList"> 1284<li class="blockList"> 1285<h4>withFeatures</h4> 1286<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withFeatures(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a>... features)</pre> 1287<dl> 1288<dt><span class="simpleTagLabel">Since:</span></dt> 1289<dd>2.7</dd> 1290</dl> 1291</li> 1292</ul> 1293<a name="without-com.fasterxml.jackson.core.FormatFeature-"> 1294<!-- --> 1295</a> 1296<ul class="blockList"> 1297<li class="blockList"> 1298<h4>without</h4> 1299<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> without(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a> feature)</pre> 1300<dl> 1301<dt><span class="simpleTagLabel">Since:</span></dt> 1302<dd>2.7</dd> 1303</dl> 1304</li> 1305</ul> 1306<a name="withoutFeatures-com.fasterxml.jackson.core.FormatFeature...-"> 1307<!-- --> 1308</a> 1309<ul class="blockList"> 1310<li class="blockList"> 1311<h4>withoutFeatures</h4> 1312<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withoutFeatures(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatFeature</a>... features)</pre> 1313<dl> 1314<dt><span class="simpleTagLabel">Since:</span></dt> 1315<dd>2.7</dd> 1316</dl> 1317</li> 1318</ul> 1319<a name="forType-com.fasterxml.jackson.databind.JavaType-"> 1320<!-- --> 1321</a> 1322<ul class="blockList"> 1323<li class="blockList"> 1324<h4>forType</h4> 1325<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> forType(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType)</pre> 1326<div class="block">Method that will construct a new instance that uses specific type 1327 as the root type for serialization, instead of runtime dynamic 1328 type of the root object itself. 1329<p> 1330 Note that method does NOT change state of this reader, but 1331 rather construct and returns a newly configured instance.</div> 1332<dl> 1333<dt><span class="simpleTagLabel">Since:</span></dt> 1334<dd>2.5</dd> 1335</dl> 1336</li> 1337</ul> 1338<a name="forType-java.lang.Class-"> 1339<!-- --> 1340</a> 1341<ul class="blockList"> 1342<li class="blockList"> 1343<h4>forType</h4> 1344<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> forType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> rootType)</pre> 1345<div class="block">Method that will construct a new instance that uses specific type 1346 as the root type for serialization, instead of runtime dynamic 1347 type of the root object itself.</div> 1348<dl> 1349<dt><span class="simpleTagLabel">Since:</span></dt> 1350<dd>2.5</dd> 1351</dl> 1352</li> 1353</ul> 1354<a name="forType-com.fasterxml.jackson.core.type.TypeReference-"> 1355<!-- --> 1356</a> 1357<ul class="blockList"> 1358<li class="blockList"> 1359<h4>forType</h4> 1360<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> forType(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/type/TypeReference.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.type">TypeReference</a><?> rootType)</pre> 1361<div class="block">Method that will construct a new instance that uses specific type 1362 as the root type for serialization, instead of runtime dynamic 1363 type of the root object itself.</div> 1364<dl> 1365<dt><span class="simpleTagLabel">Since:</span></dt> 1366<dd>2.5</dd> 1367</dl> 1368</li> 1369</ul> 1370<a name="withType-com.fasterxml.jackson.databind.JavaType-"> 1371<!-- --> 1372</a> 1373<ul class="blockList"> 1374<li class="blockList"> 1375<h4>withType</h4> 1376<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1377public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withType(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> rootType)</pre> 1378<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since 2.5 Use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.databind.JavaType-"><code>forType(JavaType)</code></a> instead</span></div> 1379</li> 1380</ul> 1381<a name="withType-java.lang.Class-"> 1382<!-- --> 1383</a> 1384<ul class="blockList"> 1385<li class="blockList"> 1386<h4>withType</h4> 1387<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1388public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withType(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> rootType)</pre> 1389<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since 2.5 Use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-"><code>forType(Class)</code></a> instead</span></div> 1390</li> 1391</ul> 1392<a name="withType-com.fasterxml.jackson.core.type.TypeReference-"> 1393<!-- --> 1394</a> 1395<ul class="blockList"> 1396<li class="blockList"> 1397<h4>withType</h4> 1398<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1399public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withType(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/type/TypeReference.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.type">TypeReference</a><?> rootType)</pre> 1400<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since 2.5 Use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-com.fasterxml.jackson.core.type.TypeReference-"><code>forType(TypeReference)</code></a> instead</span></div> 1401</li> 1402</ul> 1403<a name="with-java.text.DateFormat-"> 1404<!-- --> 1405</a> 1406<ul class="blockList"> 1407<li class="blockList"> 1408<h4>with</h4> 1409<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="https://docs.oracle.com/javase/8/docs/api/java/text/DateFormat.html?is-external=true" title="class or interface in java.text">DateFormat</a> df)</pre> 1410<div class="block">Fluent factory method that will construct a new writer instance that will 1411 use specified date format for serializing dates; or if null passed, one 1412 that will serialize dates as numeric timestamps. 1413<p> 1414 Note that the method does NOT change state of this reader, but 1415 rather construct and returns a newly configured instance.</div> 1416</li> 1417</ul> 1418<a name="withDefaultPrettyPrinter--"> 1419<!-- --> 1420</a> 1421<ul class="blockList"> 1422<li class="blockList"> 1423<h4>withDefaultPrettyPrinter</h4> 1424<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withDefaultPrettyPrinter()</pre> 1425<div class="block">Method that will construct a new instance that will use the default 1426 pretty printer for serialization.</div> 1427</li> 1428</ul> 1429<a name="with-com.fasterxml.jackson.databind.ser.FilterProvider-"> 1430<!-- --> 1431</a> 1432<ul class="blockList"> 1433<li class="blockList"> 1434<h4>with</h4> 1435<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="../../../../com/fasterxml/jackson/databind/ser/FilterProvider.html" title="class in com.fasterxml.jackson.databind.ser">FilterProvider</a> filterProvider)</pre> 1436<div class="block">Method that will construct a new instance that uses specified 1437 provider for resolving filter instances by id.</div> 1438</li> 1439</ul> 1440<a name="with-com.fasterxml.jackson.core.PrettyPrinter-"> 1441<!-- --> 1442</a> 1443<ul class="blockList"> 1444<li class="blockList"> 1445<h4>with</h4> 1446<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/PrettyPrinter.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">PrettyPrinter</a> pp)</pre> 1447<div class="block">Method that will construct a new instance that will use specified pretty 1448 printer (or, if null, will not do any pretty-printing)</div> 1449</li> 1450</ul> 1451<a name="withRootName-java.lang.String-"> 1452<!-- --> 1453</a> 1454<ul class="blockList"> 1455<li class="blockList"> 1456<h4>withRootName</h4> 1457<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withRootName(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> rootName)</pre> 1458<div class="block">Method for constructing a new instance with configuration that 1459 specifies what root name to use for "root element wrapping". 1460 See <a href="../../../../com/fasterxml/jackson/databind/cfg/MapperConfigBase.html#withRootName-java.lang.String-"><code>MapperConfigBase.withRootName(String)</code></a> for details. 1461<p> 1462 Note that method does NOT change state of this reader, but 1463 rather construct and returns a newly configured instance.</div> 1464<dl> 1465<dt><span class="paramLabel">Parameters:</span></dt> 1466<dd><code>rootName</code> - Root name to use, if non-empty; `null` for "use defaults", 1467 and empty String ("") for "do NOT add root wrapper"</dd> 1468</dl> 1469</li> 1470</ul> 1471<a name="withRootName-com.fasterxml.jackson.databind.PropertyName-"> 1472<!-- --> 1473</a> 1474<ul class="blockList"> 1475<li class="blockList"> 1476<h4>withRootName</h4> 1477<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withRootName(<a href="../../../../com/fasterxml/jackson/databind/PropertyName.html" title="class in com.fasterxml.jackson.databind">PropertyName</a> rootName)</pre> 1478<dl> 1479<dt><span class="simpleTagLabel">Since:</span></dt> 1480<dd>2.6</dd> 1481</dl> 1482</li> 1483</ul> 1484<a name="withoutRootName--"> 1485<!-- --> 1486</a> 1487<ul class="blockList"> 1488<li class="blockList"> 1489<h4>withoutRootName</h4> 1490<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withoutRootName()</pre> 1491<div class="block">Convenience method that is same as calling: 1492<code> 1493 withRootName("") 1494</code> 1495 which will forcibly prevent use of root name wrapping when writing 1496 values with this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>.</div> 1497<dl> 1498<dt><span class="simpleTagLabel">Since:</span></dt> 1499<dd>2.6</dd> 1500</dl> 1501</li> 1502</ul> 1503<a name="with-com.fasterxml.jackson.core.FormatSchema-"> 1504<!-- --> 1505</a> 1506<ul class="blockList"> 1507<li class="blockList"> 1508<h4>with</h4> 1509<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a> schema)</pre> 1510<div class="block">Method that will construct a new instance that uses specific format schema 1511 for serialization. 1512<p> 1513 Note that method does NOT change state of this reader, but 1514 rather construct and returns a newly configured instance.</div> 1515</li> 1516</ul> 1517<a name="withSchema-com.fasterxml.jackson.core.FormatSchema-"> 1518<!-- --> 1519</a> 1520<ul class="blockList"> 1521<li class="blockList"> 1522<h4>withSchema</h4> 1523<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 1524public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withSchema(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a> schema)</pre> 1525<div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">Since 2.5 use <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#with-com.fasterxml.jackson.core.FormatSchema-"><code>with(FormatSchema)</code></a> instead</span></div> 1526</li> 1527</ul> 1528<a name="withView-java.lang.Class-"> 1529<!-- --> 1530</a> 1531<ul class="blockList"> 1532<li class="blockList"> 1533<h4>withView</h4> 1534<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withView(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> view)</pre> 1535<div class="block">Method that will construct a new instance that uses specified 1536 serialization view for serialization (with null basically disables 1537 view processing) 1538<p> 1539 Note that the method does NOT change state of this reader, but 1540 rather construct and returns a newly configured instance.</div> 1541</li> 1542</ul> 1543<a name="with-java.util.Locale-"> 1544<!-- --> 1545</a> 1546<ul class="blockList"> 1547<li class="blockList"> 1548<h4>with</h4> 1549<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</a> l)</pre> 1550</li> 1551</ul> 1552<a name="with-java.util.TimeZone-"> 1553<!-- --> 1554</a> 1555<ul class="blockList"> 1556<li class="blockList"> 1557<h4>with</h4> 1558<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/TimeZone.html?is-external=true" title="class or interface in java.util">TimeZone</a> tz)</pre> 1559</li> 1560</ul> 1561<a name="with-com.fasterxml.jackson.core.Base64Variant-"> 1562<!-- --> 1563</a> 1564<ul class="blockList"> 1565<li class="blockList"> 1566<h4>with</h4> 1567<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/Base64Variant.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">Base64Variant</a> b64variant)</pre> 1568<div class="block">Method that will construct a new instance that uses specified default 1569 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/Base64Variant.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>Base64Variant</code></a> for base64 encoding</div> 1570<dl> 1571<dt><span class="simpleTagLabel">Since:</span></dt> 1572<dd>2.1</dd> 1573</dl> 1574</li> 1575</ul> 1576<a name="with-com.fasterxml.jackson.core.io.CharacterEscapes-"> 1577<!-- --> 1578</a> 1579<ul class="blockList"> 1580<li class="blockList"> 1581<h4>with</h4> 1582<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/io/CharacterEscapes.html?is-external=true" title="class or interface in com.fasterxml.jackson.core.io">CharacterEscapes</a> escapes)</pre> 1583<dl> 1584<dt><span class="simpleTagLabel">Since:</span></dt> 1585<dd>2.3</dd> 1586</dl> 1587</li> 1588</ul> 1589<a name="with-com.fasterxml.jackson.core.JsonFactory-"> 1590<!-- --> 1591</a> 1592<ul class="blockList"> 1593<li class="blockList"> 1594<h4>with</h4> 1595<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a> f)</pre> 1596<dl> 1597<dt><span class="simpleTagLabel">Since:</span></dt> 1598<dd>2.3</dd> 1599</dl> 1600</li> 1601</ul> 1602<a name="with-com.fasterxml.jackson.databind.cfg.ContextAttributes-"> 1603<!-- --> 1604</a> 1605<ul class="blockList"> 1606<li class="blockList"> 1607<h4>with</h4> 1608<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> with(<a href="../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a> attrs)</pre> 1609<dl> 1610<dt><span class="simpleTagLabel">Since:</span></dt> 1611<dd>2.3</dd> 1612</dl> 1613</li> 1614</ul> 1615<a name="withAttributes-java.util.Map-"> 1616<!-- --> 1617</a> 1618<ul class="blockList"> 1619<li class="blockList"> 1620<h4>withAttributes</h4> 1621<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withAttributes(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a><?,?> attrs)</pre> 1622<div class="block">Mutant factory method that allows construction of a new writer instance 1623 that uses specified set of default attribute values.</div> 1624<dl> 1625<dt><span class="simpleTagLabel">Since:</span></dt> 1626<dd>2.3</dd> 1627</dl> 1628</li> 1629</ul> 1630<a name="withAttribute-java.lang.Object-java.lang.Object-"> 1631<!-- --> 1632</a> 1633<ul class="blockList"> 1634<li class="blockList"> 1635<h4>withAttribute</h4> 1636<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withAttribute(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key, 1637 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value)</pre> 1638<dl> 1639<dt><span class="simpleTagLabel">Since:</span></dt> 1640<dd>2.3</dd> 1641</dl> 1642</li> 1643</ul> 1644<a name="withoutAttribute-java.lang.Object-"> 1645<!-- --> 1646</a> 1647<ul class="blockList"> 1648<li class="blockList"> 1649<h4>withoutAttribute</h4> 1650<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withoutAttribute(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> key)</pre> 1651<dl> 1652<dt><span class="simpleTagLabel">Since:</span></dt> 1653<dd>2.3</dd> 1654</dl> 1655</li> 1656</ul> 1657<a name="withRootValueSeparator-java.lang.String-"> 1658<!-- --> 1659</a> 1660<ul class="blockList"> 1661<li class="blockList"> 1662<h4>withRootValueSeparator</h4> 1663<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withRootValueSeparator(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> sep)</pre> 1664<dl> 1665<dt><span class="simpleTagLabel">Since:</span></dt> 1666<dd>2.5</dd> 1667</dl> 1668</li> 1669</ul> 1670<a name="withRootValueSeparator-com.fasterxml.jackson.core.SerializableString-"> 1671<!-- --> 1672</a> 1673<ul class="blockList"> 1674<li class="blockList"> 1675<h4>withRootValueSeparator</h4> 1676<pre>public <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a> withRootValueSeparator(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/SerializableString.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">SerializableString</a> sep)</pre> 1677<dl> 1678<dt><span class="simpleTagLabel">Since:</span></dt> 1679<dd>2.5</dd> 1680</dl> 1681</li> 1682</ul> 1683<a name="createGenerator-java.io.OutputStream-"> 1684<!-- --> 1685</a> 1686<ul class="blockList"> 1687<li class="blockList"> 1688<h4>createGenerator</h4> 1689<pre>public <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> createGenerator(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out) 1690 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1691<div class="block">Factory method for constructing properly initialized <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> 1692 to write content using specified <a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a>. 1693 Generator is not managed (or "owned") by ObjectWriter: caller is responsible 1694 for properly closing it once content generation is complete.</div> 1695<dl> 1696<dt><span class="throwsLabel">Throws:</span></dt> 1697<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1698<dt><span class="simpleTagLabel">Since:</span></dt> 1699<dd>2.11</dd> 1700</dl> 1701</li> 1702</ul> 1703<a name="createGenerator-java.io.OutputStream-com.fasterxml.jackson.core.JsonEncoding-"> 1704<!-- --> 1705</a> 1706<ul class="blockList"> 1707<li class="blockList"> 1708<h4>createGenerator</h4> 1709<pre>public <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> createGenerator(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, 1710 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonEncoding.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonEncoding</a> enc) 1711 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1712<div class="block">Factory method for constructing properly initialized <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> 1713 to write content using specified <a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><code>OutputStream</code></a> and encoding. 1714 Generator is not managed (or "owned") by ObjectWriter: caller is responsible 1715 for properly closing it once content generation is complete.</div> 1716<dl> 1717<dt><span class="throwsLabel">Throws:</span></dt> 1718<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1719<dt><span class="simpleTagLabel">Since:</span></dt> 1720<dd>2.11</dd> 1721</dl> 1722</li> 1723</ul> 1724<a name="createGenerator-java.io.Writer-"> 1725<!-- --> 1726</a> 1727<ul class="blockList"> 1728<li class="blockList"> 1729<h4>createGenerator</h4> 1730<pre>public <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> createGenerator(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> w) 1731 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1732<div class="block">Factory method for constructing properly initialized <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> 1733 to write content using specified <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io"><code>Writer</code></a>. 1734 Generator is not managed (or "owned") by ObjectWriter: caller is responsible 1735 for properly closing it once content generation is complete.</div> 1736<dl> 1737<dt><span class="throwsLabel">Throws:</span></dt> 1738<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1739<dt><span class="simpleTagLabel">Since:</span></dt> 1740<dd>2.11</dd> 1741</dl> 1742</li> 1743</ul> 1744<a name="createGenerator-java.io.File-com.fasterxml.jackson.core.JsonEncoding-"> 1745<!-- --> 1746</a> 1747<ul class="blockList"> 1748<li class="blockList"> 1749<h4>createGenerator</h4> 1750<pre>public <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> createGenerator(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> outputFile, 1751 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonEncoding.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonEncoding</a> enc) 1752 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1753<div class="block">Factory method for constructing properly initialized <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> 1754 to write content to specified <a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io"><code>File</code></a>, using specified encoding. 1755 Generator is not managed (or "owned") by ObjectWriter: caller is responsible 1756 for properly closing it once content generation is complete.</div> 1757<dl> 1758<dt><span class="throwsLabel">Throws:</span></dt> 1759<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1760<dt><span class="simpleTagLabel">Since:</span></dt> 1761<dd>2.11</dd> 1762</dl> 1763</li> 1764</ul> 1765<a name="createGenerator-java.io.DataOutput-"> 1766<!-- --> 1767</a> 1768<ul class="blockList"> 1769<li class="blockList"> 1770<h4>createGenerator</h4> 1771<pre>public <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> createGenerator(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a> out) 1772 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1773<div class="block">Factory method for constructing properly initialized <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> 1774 to write content using specified <a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io"><code>DataOutput</code></a>. 1775 Generator is not managed (or "owned") by ObjectWriter: caller is responsible 1776 for properly closing it once content generation is complete.</div> 1777<dl> 1778<dt><span class="throwsLabel">Throws:</span></dt> 1779<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1780<dt><span class="simpleTagLabel">Since:</span></dt> 1781<dd>2.11</dd> 1782</dl> 1783</li> 1784</ul> 1785<a name="writeValues-java.io.File-"> 1786<!-- --> 1787</a> 1788<ul class="blockList"> 1789<li class="blockList"> 1790<h4>writeValues</h4> 1791<pre>public <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> writeValues(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> out) 1792 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1793<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root 1794 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>. 1795 Sequence is not surrounded by JSON array; some backend types may not 1796 support writing of such sequences as root level. 1797 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all 1798 values have been written to ensure closing of underlying generator and 1799 output stream.</div> 1800<dl> 1801<dt><span class="paramLabel">Parameters:</span></dt> 1802<dd><code>out</code> - Target file to write value sequence to.</dd> 1803<dt><span class="throwsLabel">Throws:</span></dt> 1804<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1805<dt><span class="simpleTagLabel">Since:</span></dt> 1806<dd>2.5</dd> 1807</dl> 1808</li> 1809</ul> 1810<a name="writeValues-com.fasterxml.jackson.core.JsonGenerator-"> 1811<!-- --> 1812</a> 1813<ul class="blockList"> 1814<li class="blockList"> 1815<h4>writeValues</h4> 1816<pre>public <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> writeValues(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> g) 1817 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1818<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root 1819 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>. 1820 Sequence is not surrounded by JSON array; some backend types may not 1821 support writing of such sequences as root level. 1822 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all 1823 values have been written to ensure that all content gets flushed by 1824 the generator. However, since a <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> is explicitly passed, 1825 it will NOT be closed when <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a> is called.</div> 1826<dl> 1827<dt><span class="paramLabel">Parameters:</span></dt> 1828<dd><code>g</code> - Low-level generator caller has already constructed that will 1829 be used for actual writing of token stream.</dd> 1830<dt><span class="throwsLabel">Throws:</span></dt> 1831<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1832<dt><span class="simpleTagLabel">Since:</span></dt> 1833<dd>2.5</dd> 1834</dl> 1835</li> 1836</ul> 1837<a name="writeValues-java.io.Writer-"> 1838<!-- --> 1839</a> 1840<ul class="blockList"> 1841<li class="blockList"> 1842<h4>writeValues</h4> 1843<pre>public <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> writeValues(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out) 1844 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1845<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root 1846 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>. 1847 Sequence is not surrounded by JSON array; some backend types may not 1848 support writing of such sequences as root level. 1849 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all 1850 values have been written to ensure closing of underlying generator and 1851 output stream.</div> 1852<dl> 1853<dt><span class="paramLabel">Parameters:</span></dt> 1854<dd><code>out</code> - Target writer to use for writing the token stream</dd> 1855<dt><span class="throwsLabel">Throws:</span></dt> 1856<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1857<dt><span class="simpleTagLabel">Since:</span></dt> 1858<dd>2.5</dd> 1859</dl> 1860</li> 1861</ul> 1862<a name="writeValues-java.io.OutputStream-"> 1863<!-- --> 1864</a> 1865<ul class="blockList"> 1866<li class="blockList"> 1867<h4>writeValues</h4> 1868<pre>public <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> writeValues(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out) 1869 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1870<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write a sequence of root 1871 values using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>. 1872 Sequence is not surrounded by JSON array; some backend types may not 1873 support writing of such sequences as root level. 1874 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all 1875 values have been written to ensure closing of underlying generator and 1876 output stream.</div> 1877<dl> 1878<dt><span class="paramLabel">Parameters:</span></dt> 1879<dd><code>out</code> - Physical output stream to use for writing the token stream</dd> 1880<dt><span class="throwsLabel">Throws:</span></dt> 1881<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1882<dt><span class="simpleTagLabel">Since:</span></dt> 1883<dd>2.5</dd> 1884</dl> 1885</li> 1886</ul> 1887<a name="writeValues-java.io.DataOutput-"> 1888<!-- --> 1889</a> 1890<ul class="blockList"> 1891<li class="blockList"> 1892<h4>writeValues</h4> 1893<pre>public <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> writeValues(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a> out) 1894 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1895<dl> 1896<dt><span class="throwsLabel">Throws:</span></dt> 1897<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1898<dt><span class="simpleTagLabel">Since:</span></dt> 1899<dd>2.8</dd> 1900</dl> 1901</li> 1902</ul> 1903<a name="writeValuesAsArray-java.io.File-"> 1904<!-- --> 1905</a> 1906<ul class="blockList"> 1907<li class="blockList"> 1908<h4>writeValuesAsArray</h4> 1909<pre>public <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> writeValuesAsArray(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> out) 1910 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1911<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of 1912 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>. 1913 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all 1914 values have been written to ensure closing of underlying generator and 1915 output stream. 1916<p> 1917 Note that the type to use with <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-"><code>forType(Class)</code></a> needs to 1918 be type of individual values (elements) to write and NOT matching array 1919 or <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div> 1920<dl> 1921<dt><span class="paramLabel">Parameters:</span></dt> 1922<dd><code>out</code> - File to write token stream to</dd> 1923<dt><span class="throwsLabel">Throws:</span></dt> 1924<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1925<dt><span class="simpleTagLabel">Since:</span></dt> 1926<dd>2.5</dd> 1927</dl> 1928</li> 1929</ul> 1930<a name="writeValuesAsArray-com.fasterxml.jackson.core.JsonGenerator-"> 1931<!-- --> 1932</a> 1933<ul class="blockList"> 1934<li class="blockList"> 1935<h4>writeValuesAsArray</h4> 1936<pre>public <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> writeValuesAsArray(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen) 1937 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1938<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of 1939 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>. 1940 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all 1941 values have been written to ensure that all content gets flushed by 1942 the generator. However, since a <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> is explicitly passed, 1943 it will NOT be closed when <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a> is called. 1944<p> 1945 Note that the type to use with <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-"><code>forType(Class)</code></a> needs to 1946 be type of individual values (elements) to write and NOT matching array 1947 or <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div> 1948<dl> 1949<dt><span class="paramLabel">Parameters:</span></dt> 1950<dd><code>gen</code> - Underlying generator to use for writing the token stream</dd> 1951<dt><span class="throwsLabel">Throws:</span></dt> 1952<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1953<dt><span class="simpleTagLabel">Since:</span></dt> 1954<dd>2.5</dd> 1955</dl> 1956</li> 1957</ul> 1958<a name="writeValuesAsArray-java.io.Writer-"> 1959<!-- --> 1960</a> 1961<ul class="blockList"> 1962<li class="blockList"> 1963<h4>writeValuesAsArray</h4> 1964<pre>public <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> writeValuesAsArray(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> out) 1965 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1966<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of 1967 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>. 1968 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all 1969 values have been written to ensure closing of underlying generator and 1970 output stream. 1971<p> 1972 Note that the type to use with <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-"><code>forType(Class)</code></a> needs to 1973 be type of individual values (elements) to write and NOT matching array 1974 or <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div> 1975<dl> 1976<dt><span class="paramLabel">Parameters:</span></dt> 1977<dd><code>out</code> - Writer to use for writing the token stream</dd> 1978<dt><span class="throwsLabel">Throws:</span></dt> 1979<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 1980<dt><span class="simpleTagLabel">Since:</span></dt> 1981<dd>2.5</dd> 1982</dl> 1983</li> 1984</ul> 1985<a name="writeValuesAsArray-java.io.OutputStream-"> 1986<!-- --> 1987</a> 1988<ul class="blockList"> 1989<li class="blockList"> 1990<h4>writeValuesAsArray</h4> 1991<pre>public <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> writeValuesAsArray(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out) 1992 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 1993<div class="block">Method for creating a <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind"><code>SequenceWriter</code></a> to write an array of 1994 root-level values, using configuration of this <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a>. 1995 Resulting writer needs to be <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html#close--"><code>SequenceWriter.close()</code></a>d after all 1996 values have been written to ensure closing of underlying generator and 1997 output stream. 1998<p> 1999 Note that the type to use with <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#forType-java.lang.Class-"><code>forType(Class)</code></a> needs to 2000 be type of individual values (elements) to write and NOT matching array 2001 or <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util"><code>Collection</code></a> type.</div> 2002<dl> 2003<dt><span class="paramLabel">Parameters:</span></dt> 2004<dd><code>out</code> - Physical output stream to use for writing the token stream</dd> 2005<dt><span class="throwsLabel">Throws:</span></dt> 2006<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2007<dt><span class="simpleTagLabel">Since:</span></dt> 2008<dd>2.5</dd> 2009</dl> 2010</li> 2011</ul> 2012<a name="writeValuesAsArray-java.io.DataOutput-"> 2013<!-- --> 2014</a> 2015<ul class="blockList"> 2016<li class="blockList"> 2017<h4>writeValuesAsArray</h4> 2018<pre>public <a href="../../../../com/fasterxml/jackson/databind/SequenceWriter.html" title="class in com.fasterxml.jackson.databind">SequenceWriter</a> writeValuesAsArray(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a> out) 2019 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 2020<dl> 2021<dt><span class="throwsLabel">Throws:</span></dt> 2022<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2023<dt><span class="simpleTagLabel">Since:</span></dt> 2024<dd>2.8</dd> 2025</dl> 2026</li> 2027</ul> 2028<a name="isEnabled-com.fasterxml.jackson.databind.SerializationFeature-"> 2029<!-- --> 2030</a> 2031<ul class="blockList"> 2032<li class="blockList"> 2033<h4>isEnabled</h4> 2034<pre>public boolean isEnabled(<a href="../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> f)</pre> 2035</li> 2036</ul> 2037<a name="isEnabled-com.fasterxml.jackson.databind.MapperFeature-"> 2038<!-- --> 2039</a> 2040<ul class="blockList"> 2041<li class="blockList"> 2042<h4>isEnabled</h4> 2043<pre>public boolean isEnabled(<a href="../../../../com/fasterxml/jackson/databind/MapperFeature.html" title="enum in com.fasterxml.jackson.databind">MapperFeature</a> f)</pre> 2044</li> 2045</ul> 2046<a name="isEnabled-com.fasterxml.jackson.core.JsonParser.Feature-"> 2047<!-- --> 2048</a> 2049<ul class="blockList"> 2050<li class="blockList"> 2051<h4>isEnabled</h4> 2052<pre><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang">@Deprecated</a> 2053public boolean isEnabled(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonParser.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonParser.Feature</a> f)</pre> 2054<div class="block"><span class="deprecatedLabel">Deprecated.</span> </div> 2055<dl> 2056<dt><span class="simpleTagLabel">Since:</span></dt> 2057<dd>2.9</dd> 2058</dl> 2059</li> 2060</ul> 2061<a name="isEnabled-com.fasterxml.jackson.core.JsonGenerator.Feature-"> 2062<!-- --> 2063</a> 2064<ul class="blockList"> 2065<li class="blockList"> 2066<h4>isEnabled</h4> 2067<pre>public boolean isEnabled(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.Feature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator.Feature</a> f)</pre> 2068<dl> 2069<dt><span class="simpleTagLabel">Since:</span></dt> 2070<dd>2.9</dd> 2071</dl> 2072</li> 2073</ul> 2074<a name="isEnabled-com.fasterxml.jackson.core.StreamWriteFeature-"> 2075<!-- --> 2076</a> 2077<ul class="blockList"> 2078<li class="blockList"> 2079<h4>isEnabled</h4> 2080<pre>public boolean isEnabled(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/StreamWriteFeature.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">StreamWriteFeature</a> f)</pre> 2081<dl> 2082<dt><span class="simpleTagLabel">Since:</span></dt> 2083<dd>2.11</dd> 2084</dl> 2085</li> 2086</ul> 2087<a name="getConfig--"> 2088<!-- --> 2089</a> 2090<ul class="blockList"> 2091<li class="blockList"> 2092<h4>getConfig</h4> 2093<pre>public <a href="../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a> getConfig()</pre> 2094<dl> 2095<dt><span class="simpleTagLabel">Since:</span></dt> 2096<dd>2.2</dd> 2097</dl> 2098</li> 2099</ul> 2100<a name="getFactory--"> 2101<!-- --> 2102</a> 2103<ul class="blockList"> 2104<li class="blockList"> 2105<h4>getFactory</h4> 2106<pre>public <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonFactory</a> getFactory()</pre> 2107<dl> 2108<dt><span class="simpleTagLabel">Since:</span></dt> 2109<dd>2.2</dd> 2110</dl> 2111</li> 2112</ul> 2113<a name="getTypeFactory--"> 2114<!-- --> 2115</a> 2116<ul class="blockList"> 2117<li class="blockList"> 2118<h4>getTypeFactory</h4> 2119<pre>public <a href="../../../../com/fasterxml/jackson/databind/type/TypeFactory.html" title="class in com.fasterxml.jackson.databind.type">TypeFactory</a> getTypeFactory()</pre> 2120</li> 2121</ul> 2122<a name="hasPrefetchedSerializer--"> 2123<!-- --> 2124</a> 2125<ul class="blockList"> 2126<li class="blockList"> 2127<h4>hasPrefetchedSerializer</h4> 2128<pre>public boolean hasPrefetchedSerializer()</pre> 2129<div class="block">Diagnostics method that can be called to check whether this writer 2130 has pre-fetched serializer to use: pre-fetching improves performance 2131 when writer instances are reused as it avoids a per-call serializer 2132 lookup.</div> 2133<dl> 2134<dt><span class="simpleTagLabel">Since:</span></dt> 2135<dd>2.2</dd> 2136</dl> 2137</li> 2138</ul> 2139<a name="getAttributes--"> 2140<!-- --> 2141</a> 2142<ul class="blockList"> 2143<li class="blockList"> 2144<h4>getAttributes</h4> 2145<pre>public <a href="../../../../com/fasterxml/jackson/databind/cfg/ContextAttributes.html" title="class in com.fasterxml.jackson.databind.cfg">ContextAttributes</a> getAttributes()</pre> 2146<dl> 2147<dt><span class="simpleTagLabel">Since:</span></dt> 2148<dd>2.3</dd> 2149</dl> 2150</li> 2151</ul> 2152<a name="writeValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-"> 2153<!-- --> 2154</a> 2155<ul class="blockList"> 2156<li class="blockList"> 2157<h4>writeValue</h4> 2158<pre>public void writeValue(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> g, 2159 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 2160 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 2161<div class="block">Method that can be used to serialize any Java value as 2162 JSON output, using provided <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a>.</div> 2163<dl> 2164<dt><span class="throwsLabel">Throws:</span></dt> 2165<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2166</dl> 2167</li> 2168</ul> 2169<a name="writeValue-java.io.File-java.lang.Object-"> 2170<!-- --> 2171</a> 2172<ul class="blockList"> 2173<li class="blockList"> 2174<h4>writeValue</h4> 2175<pre>public void writeValue(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</a> resultFile, 2176 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 2177 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, 2178 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a>, 2179 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2180<div class="block">Method that can be used to serialize any Java value as 2181 JSON output, written to File provided.</div> 2182<dl> 2183<dt><span class="throwsLabel">Throws:</span></dt> 2184<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2185<dd><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></code></dd> 2186<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2187</dl> 2188</li> 2189</ul> 2190<a name="writeValue-java.io.OutputStream-java.lang.Object-"> 2191<!-- --> 2192</a> 2193<ul class="blockList"> 2194<li class="blockList"> 2195<h4>writeValue</h4> 2196<pre>public void writeValue(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io">OutputStream</a> out, 2197 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 2198 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, 2199 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a>, 2200 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2201<div class="block">Method that can be used to serialize any Java value as 2202 JSON output, using output stream provided (using encoding 2203 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonEncoding.html?is-external=true#UTF8" title="class or interface in com.fasterxml.jackson.core"><code>JsonEncoding.UTF8</code></a>). 2204<p> 2205 Note: method does not close the underlying stream explicitly 2206 here; however, <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonFactory</code></a> this mapper uses may choose 2207 to close the stream depending on its settings (by default, 2208 it will try to close it when <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> we construct 2209 is closed).</div> 2210<dl> 2211<dt><span class="throwsLabel">Throws:</span></dt> 2212<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2213<dd><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></code></dd> 2214<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2215</dl> 2216</li> 2217</ul> 2218<a name="writeValue-java.io.Writer-java.lang.Object-"> 2219<!-- --> 2220</a> 2221<ul class="blockList"> 2222<li class="blockList"> 2223<h4>writeValue</h4> 2224<pre>public void writeValue(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/Writer.html?is-external=true" title="class or interface in java.io">Writer</a> w, 2225 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 2226 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a>, 2227 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a>, 2228 <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2229<div class="block">Method that can be used to serialize any Java value as 2230 JSON output, using Writer provided. 2231<p> 2232 Note: method does not close the underlying stream explicitly 2233 here; however, <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonFactory.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonFactory</code></a> this mapper uses may choose 2234 to close the stream depending on its settings (by default, 2235 it will try to close it when <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a> we construct 2236 is closed).</div> 2237<dl> 2238<dt><span class="throwsLabel">Throws:</span></dt> 2239<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2240<dd><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerationException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerationException</a></code></dd> 2241<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2242</dl> 2243</li> 2244</ul> 2245<a name="writeValue-java.io.DataOutput-java.lang.Object-"> 2246<!-- --> 2247</a> 2248<ul class="blockList"> 2249<li class="blockList"> 2250<h4>writeValue</h4> 2251<pre>public void writeValue(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/DataOutput.html?is-external=true" title="class or interface in java.io">DataOutput</a> out, 2252 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 2253 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 2254<dl> 2255<dt><span class="throwsLabel">Throws:</span></dt> 2256<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2257<dt><span class="simpleTagLabel">Since:</span></dt> 2258<dd>2.8</dd> 2259</dl> 2260</li> 2261</ul> 2262<a name="writeValueAsString-java.lang.Object-"> 2263<!-- --> 2264</a> 2265<ul class="blockList"> 2266<li class="blockList"> 2267<h4>writeValueAsString</h4> 2268<pre>public <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> writeValueAsString(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 2269 throws <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre> 2270<div class="block">Method that can be used to serialize any Java value as 2271 a String. Functionally equivalent to calling 2272 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-java.io.Writer-java.lang.Object-"><code>writeValue(Writer,Object)</code></a> with <a href="https://docs.oracle.com/javase/8/docs/api/java/io/StringWriter.html?is-external=true" title="class or interface in java.io"><code>StringWriter</code></a> 2273 and constructing String, but more efficient. 2274<p> 2275 Note: prior to version 2.1, throws clause included <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>; 2.1 removed it.</div> 2276<dl> 2277<dt><span class="throwsLabel">Throws:</span></dt> 2278<dd><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd> 2279</dl> 2280</li> 2281</ul> 2282<a name="writeValueAsBytes-java.lang.Object-"> 2283<!-- --> 2284</a> 2285<ul class="blockList"> 2286<li class="blockList"> 2287<h4>writeValueAsBytes</h4> 2288<pre>public byte[] writeValueAsBytes(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 2289 throws <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></pre> 2290<div class="block">Method that can be used to serialize any Java value as 2291 a byte array. Functionally equivalent to calling 2292 <a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.html#writeValue-java.io.Writer-java.lang.Object-"><code>writeValue(Writer,Object)</code></a> with <a href="https://docs.oracle.com/javase/8/docs/api/java/io/ByteArrayOutputStream.html?is-external=true" title="class or interface in java.io"><code>ByteArrayOutputStream</code></a> 2293 and getting bytes, but more efficient. 2294 Encoding used will be UTF-8. 2295<p> 2296 Note: prior to version 2.1, throws clause included <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><code>IOException</code></a>; 2.1 removed it.</div> 2297<dl> 2298<dt><span class="throwsLabel">Throws:</span></dt> 2299<dd><code><a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonProcessingException.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonProcessingException</a></code></dd> 2300</dl> 2301</li> 2302</ul> 2303<a name="acceptJsonFormatVisitor-com.fasterxml.jackson.databind.JavaType-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-"> 2304<!-- --> 2305</a> 2306<ul class="blockList"> 2307<li class="blockList"> 2308<h4>acceptJsonFormatVisitor</h4> 2309<pre>public void acceptJsonFormatVisitor(<a href="../../../../com/fasterxml/jackson/databind/JavaType.html" title="class in com.fasterxml.jackson.databind">JavaType</a> type, 2310 <a href="../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor) 2311 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2312<div class="block">Method for visiting type hierarchy for given type, using specified visitor. 2313 Visitation uses <code>Serializer</code> hierarchy and related properties 2314<p> 2315 This method can be used for things like 2316 generating <a href="http://json-schema.org/">Json Schema</a> 2317 instance for specified type.</div> 2318<dl> 2319<dt><span class="paramLabel">Parameters:</span></dt> 2320<dd><code>type</code> - Type to generate schema for (possibly with generic signature)</dd> 2321<dt><span class="throwsLabel">Throws:</span></dt> 2322<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2323<dt><span class="simpleTagLabel">Since:</span></dt> 2324<dd>2.2</dd> 2325</dl> 2326</li> 2327</ul> 2328<a name="acceptJsonFormatVisitor-java.lang.Class-com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper-"> 2329<!-- --> 2330</a> 2331<ul class="blockList"> 2332<li class="blockList"> 2333<h4>acceptJsonFormatVisitor</h4> 2334<pre>public void acceptJsonFormatVisitor(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type, 2335 <a href="../../../../com/fasterxml/jackson/databind/jsonFormatVisitors/JsonFormatVisitorWrapper.html" title="interface in com.fasterxml.jackson.databind.jsonFormatVisitors">JsonFormatVisitorWrapper</a> visitor) 2336 throws <a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></pre> 2337<div class="block">Since 2.6</div> 2338<dl> 2339<dt><span class="throwsLabel">Throws:</span></dt> 2340<dd><code><a href="../../../../com/fasterxml/jackson/databind/JsonMappingException.html" title="class in com.fasterxml.jackson.databind">JsonMappingException</a></code></dd> 2341</dl> 2342</li> 2343</ul> 2344<a name="canSerialize-java.lang.Class-"> 2345<!-- --> 2346</a> 2347<ul class="blockList"> 2348<li class="blockList"> 2349<h4>canSerialize</h4> 2350<pre>public boolean canSerialize(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type)</pre> 2351</li> 2352</ul> 2353<a name="canSerialize-java.lang.Class-java.util.concurrent.atomic.AtomicReference-"> 2354<!-- --> 2355</a> 2356<ul class="blockList"> 2357<li class="blockList"> 2358<h4>canSerialize</h4> 2359<pre>public boolean canSerialize(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> type, 2360 <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/AtomicReference.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicReference</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang">Throwable</a>> cause)</pre> 2361<div class="block">Method for checking whether instances of given type can be serialized, 2362 and optionally why (as per <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Throwable.html?is-external=true" title="class or interface in java.lang"><code>Throwable</code></a> returned).</div> 2363<dl> 2364<dt><span class="simpleTagLabel">Since:</span></dt> 2365<dd>2.3</dd> 2366</dl> 2367</li> 2368</ul> 2369<a name="Z:Z_serializerProvider--"> 2370<!-- --> 2371</a> 2372<ul class="blockList"> 2373<li class="blockList"> 2374<h4>_serializerProvider</h4> 2375<pre>protected <a href="../../../../com/fasterxml/jackson/databind/ser/DefaultSerializerProvider.html" title="class in com.fasterxml.jackson.databind.ser">DefaultSerializerProvider</a> _serializerProvider()</pre> 2376<div class="block">Overridable helper method used for constructing 2377 <a href="../../../../com/fasterxml/jackson/databind/SerializerProvider.html" title="class in com.fasterxml.jackson.databind"><code>SerializerProvider</code></a> to use for serialization.</div> 2378</li> 2379</ul> 2380<a name="Z:Z_verifySchemaType-com.fasterxml.jackson.core.FormatSchema-"> 2381<!-- --> 2382</a> 2383<ul class="blockList"> 2384<li class="blockList"> 2385<h4>_verifySchemaType</h4> 2386<pre>protected void _verifySchemaType(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/FormatSchema.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">FormatSchema</a> schema)</pre> 2387<dl> 2388<dt><span class="simpleTagLabel">Since:</span></dt> 2389<dd>2.2</dd> 2390</dl> 2391</li> 2392</ul> 2393<a name="Z:Z_configAndWriteValue-com.fasterxml.jackson.core.JsonGenerator-java.lang.Object-"> 2394<!-- --> 2395</a> 2396<ul class="blockList"> 2397<li class="blockList"> 2398<h4>_configAndWriteValue</h4> 2399<pre>protected final void _configAndWriteValue(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen, 2400 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> value) 2401 throws <a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre> 2402<div class="block">Method called to configure the generator as necessary and then 2403 call write functionality</div> 2404<dl> 2405<dt><span class="throwsLabel">Throws:</span></dt> 2406<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd> 2407</dl> 2408</li> 2409</ul> 2410<a name="Z:Z_configureGenerator-com.fasterxml.jackson.core.JsonGenerator-"> 2411<!-- --> 2412</a> 2413<ul class="blockList"> 2414<li class="blockList"> 2415<h4>_configureGenerator</h4> 2416<pre>protected final void _configureGenerator(<a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core">JsonGenerator</a> gen)</pre> 2417<div class="block">Helper method called to set or override settings of passed-in 2418 <a href="http://fasterxml.github.io/jackson-core/javadoc/2.10/com/fasterxml/jackson/core/JsonGenerator.html?is-external=true" title="class or interface in com.fasterxml.jackson.core"><code>JsonGenerator</code></a></div> 2419<dl> 2420<dt><span class="simpleTagLabel">Since:</span></dt> 2421<dd>2.5</dd> 2422</dl> 2423</li> 2424</ul> 2425<a name="Z:Z_assertNotNull-java.lang.String-java.lang.Object-"> 2426<!-- --> 2427</a> 2428<ul class="blockListLast"> 2429<li class="blockList"> 2430<h4>_assertNotNull</h4> 2431<pre>protected final void _assertNotNull(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> paramName, 2432 <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> src)</pre> 2433</li> 2434</ul> 2435</li> 2436</ul> 2437</li> 2438</ul> 2439</div> 2440</div> 2441<!-- ========= END OF CLASS DATA ========= --> 2442<!-- ======= START OF BOTTOM NAVBAR ====== --> 2443<div class="bottomNav"><a name="navbar.bottom"> 2444<!-- --> 2445</a> 2446<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 2447<a name="navbar.bottom.firstrow"> 2448<!-- --> 2449</a> 2450<ul class="navList" title="Navigation"> 2451<li><a href="../../../../overview-summary.html">Overview</a></li> 2452<li><a href="package-summary.html">Package</a></li> 2453<li class="navBarCell1Rev">Class</li> 2454<li><a href="class-use/ObjectWriter.html">Use</a></li> 2455<li><a href="package-tree.html">Tree</a></li> 2456<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 2457<li><a href="../../../../index-all.html">Index</a></li> 2458<li><a href="../../../../help-doc.html">Help</a></li> 2459</ul> 2460</div> 2461<div class="subNav"> 2462<ul class="navList"> 2463<li><a href="../../../../com/fasterxml/jackson/databind/ObjectReader.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Prev Class</span></a></li> 2464<li><a href="../../../../com/fasterxml/jackson/databind/ObjectWriter.GeneratorSettings.html" title="class in com.fasterxml.jackson.databind"><span class="typeNameLink">Next Class</span></a></li> 2465</ul> 2466<ul class="navList"> 2467<li><a href="../../../../index.html?com/fasterxml/jackson/databind/ObjectWriter.html" target="_top">Frames</a></li> 2468<li><a href="ObjectWriter.html" target="_top">No Frames</a></li> 2469</ul> 2470<ul class="navList" id="allclasses_navbar_bottom"> 2471<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 2472</ul> 2473<div> 2474<script type="text/javascript"><!-- 2475 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 2476 if(window==top) { 2477 allClassesLink.style.display = "block"; 2478 } 2479 else { 2480 allClassesLink.style.display = "none"; 2481 } 2482 //--> 2483</script> 2484</div> 2485<div> 2486<ul class="subNavList"> 2487<li>Summary: </li> 2488<li><a href="#nested.class.summary">Nested</a> | </li> 2489<li><a href="#field.summary">Field</a> | </li> 2490<li><a href="#constructor.summary">Constr</a> | </li> 2491<li><a href="#method.summary">Method</a></li> 2492</ul> 2493<ul class="subNavList"> 2494<li>Detail: </li> 2495<li><a href="#field.detail">Field</a> | </li> 2496<li><a href="#constructor.detail">Constr</a> | </li> 2497<li><a href="#method.detail">Method</a></li> 2498</ul> 2499</div> 2500<a name="skip.navbar.bottom"> 2501<!-- --> 2502</a></div> 2503<!-- ======== END OF BOTTOM NAVBAR ======= --> 2504<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 2505</body> 2506</html> 2507