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 Sat Apr 25 17:14:53 PDT 2020 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>Uses of Class com.fasterxml.jackson.databind.SerializationFeature (jackson-databind 2.11.0 API)</title> 8<meta name="date" content="2020-04-25"> 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="Uses of Class com.fasterxml.jackson.databind.SerializationFeature (jackson-databind 2.11.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22</script> 23<noscript> 24<div>JavaScript is disabled on your browser.</div> 25</noscript> 26<!-- ========= START OF TOP NAVBAR ======= --> 27<div class="topNav"><a name="navbar.top"> 28<!-- --> 29</a> 30<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> 31<a name="navbar.top.firstrow"> 32<!-- --> 33</a> 34<ul class="navList" title="Navigation"> 35<li><a href="../../../../../overview-summary.html">Overview</a></li> 36<li><a href="../package-summary.html">Package</a></li> 37<li><a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">Class</a></li> 38<li class="navBarCell1Rev">Use</li> 39<li><a href="../package-tree.html">Tree</a></li> 40<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 41<li><a href="../../../../../index-all.html">Index</a></li> 42<li><a href="../../../../../help-doc.html">Help</a></li> 43</ul> 44</div> 45<div class="subNav"> 46<ul class="navList"> 47<li>Prev</li> 48<li>Next</li> 49</ul> 50<ul class="navList"> 51<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/class-use/SerializationFeature.html" target="_top">Frames</a></li> 52<li><a href="SerializationFeature.html" target="_top">No Frames</a></li> 53</ul> 54<ul class="navList" id="allclasses_navbar_top"> 55<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 56</ul> 57<div> 58<script type="text/javascript"><!-- 59 allClassesLink = document.getElementById("allclasses_navbar_top"); 60 if(window==top) { 61 allClassesLink.style.display = "block"; 62 } 63 else { 64 allClassesLink.style.display = "none"; 65 } 66 //--> 67</script> 68</div> 69<a name="skip.navbar.top"> 70<!-- --> 71</a></div> 72<!-- ========= END OF TOP NAVBAR ========= --> 73<div class="header"> 74<h2 title="Uses of Class com.fasterxml.jackson.databind.SerializationFeature" class="title">Uses of Class<br>com.fasterxml.jackson.databind.SerializationFeature</h2> 75</div> 76<div class="classUseContainer"> 77<ul class="blockList"> 78<li class="blockList"> 79<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation"> 80<caption><span>Packages that use <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a></span><span class="tabEnd"> </span></caption> 81<tr> 82<th class="colFirst" scope="col">Package</th> 83<th class="colLast" scope="col">Description</th> 84</tr> 85<tbody> 86<tr class="altColor"> 87<td class="colFirst"><a href="#com.fasterxml.jackson.databind">com.fasterxml.jackson.databind</a></td> 88<td class="colLast"> 89<div class="block">Basic data binding (mapping) functionality that 90allows for reading JSON content into Java Objects (POJOs) 91and JSON Trees (<a href="../../../../../com/fasterxml/jackson/databind/JsonNode.html" title="class in com.fasterxml.jackson.databind"><code>JsonNode</code></a>), as well as 92writing Java Objects and trees as JSON.</div> 93</td> 94</tr> 95<tr class="rowColor"> 96<td class="colFirst"><a href="#com.fasterxml.jackson.databind.cfg">com.fasterxml.jackson.databind.cfg</a></td> 97<td class="colLast"> 98<div class="block">Package that contains most of configuration-related classes; 99exception being couple of most-commonly used configuration 100things (like Feature enumerations) that are at the 101main level (<code>com.fasterxml.jackson.databind</code>).</div> 102</td> 103</tr> 104</tbody> 105</table> 106</li> 107<li class="blockList"> 108<ul class="blockList"> 109<li class="blockList"><a name="com.fasterxml.jackson.databind"> 110<!-- --> 111</a> 112<h3>Uses of <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> in <a href="../../../../../com/fasterxml/jackson/databind/package-summary.html">com.fasterxml.jackson.databind</a></h3> 113<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 114<caption><span>Methods in <a href="../../../../../com/fasterxml/jackson/databind/package-summary.html">com.fasterxml.jackson.databind</a> that return <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a></span><span class="tabEnd"> </span></caption> 115<tr> 116<th class="colFirst" scope="col">Modifier and Type</th> 117<th class="colLast" scope="col">Method and Description</th> 118</tr> 119<tbody> 120<tr class="altColor"> 121<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a></code></td> 122<td class="colLast"><span class="typeNameLabel">SerializationFeature.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html#valueOf-java.lang.String-">valueOf</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> name)</code> 123<div class="block">Returns the enum constant of this type with the specified name.</div> 124</td> 125</tr> 126<tr class="rowColor"> 127<td class="colFirst"><code>static <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>[]</code></td> 128<td class="colLast"><span class="typeNameLabel">SerializationFeature.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html#values--">values</a></span>()</code> 129<div class="block">Returns an array containing the constants of this enum type, in 130the order they are declared.</div> 131</td> 132</tr> 133</tbody> 134</table> 135<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 136<caption><span>Methods in <a href="../../../../../com/fasterxml/jackson/databind/package-summary.html">com.fasterxml.jackson.databind</a> with parameters of type <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a></span><span class="tabEnd"> </span></caption> 137<tr> 138<th class="colFirst" scope="col">Modifier and Type</th> 139<th class="colLast" scope="col">Method and Description</th> 140</tr> 141<tbody> 142<tr class="altColor"> 143<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a></code></td> 144<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#configure-com.fasterxml.jackson.databind.SerializationFeature-boolean-">configure</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> f, 145 boolean state)</code> 146<div class="block">Method for changing state of an on/off serialization feature for 147 this object mapper.</div> 148</td> 149</tr> 150<tr class="rowColor"> 151<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a></code></td> 152<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#disable-com.fasterxml.jackson.databind.SerializationFeature-">disable</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> f)</code> 153<div class="block">Method for enabling specified <a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>DeserializationConfig</code></a> features.</div> 154</td> 155</tr> 156<tr class="altColor"> 157<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a></code></td> 158<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#disable-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">disable</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> first, 159 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... f)</code> 160<div class="block">Method for enabling specified <a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>DeserializationConfig</code></a> features.</div> 161</td> 162</tr> 163<tr class="rowColor"> 164<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a></code></td> 165<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#disable-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">disable</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> first, 166 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... f)</code> 167<div class="block">Method for enabling specified <a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>DeserializationConfig</code></a> features.</div> 168</td> 169</tr> 170<tr class="altColor"> 171<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a></code></td> 172<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#enable-com.fasterxml.jackson.databind.SerializationFeature-">enable</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> f)</code> 173<div class="block">Method for enabling specified <a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>DeserializationConfig</code></a> feature.</div> 174</td> 175</tr> 176<tr class="rowColor"> 177<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a></code></td> 178<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#enable-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">enable</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> first, 179 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... f)</code> 180<div class="block">Method for enabling specified <a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>DeserializationConfig</code></a> features.</div> 181</td> 182</tr> 183<tr class="altColor"> 184<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html" title="class in com.fasterxml.jackson.databind">ObjectMapper</a></code></td> 185<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#enable-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">enable</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> first, 186 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... f)</code> 187<div class="block">Method for enabling specified <a href="../../../../../com/fasterxml/jackson/databind/DeserializationConfig.html" title="class in com.fasterxml.jackson.databind"><code>DeserializationConfig</code></a> features.</div> 188</td> 189</tr> 190<tr class="rowColor"> 191<td class="colFirst"><code>boolean</code></td> 192<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><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> 193</tr> 194<tr class="altColor"> 195<td class="colFirst"><code>boolean</code></td> 196<td class="colLast"><span class="typeNameLabel">SerializationConfig.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.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> 197</tr> 198<tr class="rowColor"> 199<td class="colFirst"><code>boolean</code></td> 200<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.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> 201<div class="block">Method for checking whether given serialization-specific 202 feature is enabled.</div> 203</td> 204</tr> 205<tr class="altColor"> 206<td class="colFirst"><code>boolean</code></td> 207<td class="colLast"><span class="typeNameLabel">SerializerProvider.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/SerializerProvider.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> feature)</code> 208<div class="block">Convenience method for checking whether specified serialization 209 feature is enabled or not.</div> 210</td> 211</tr> 212<tr class="rowColor"> 213<td class="colFirst"><code>boolean</code></td> 214<td class="colLast"><span class="typeNameLabel">Module.SetupContext.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/Module.SetupContext.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> 215</tr> 216<tr class="altColor"> 217<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 218<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><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> 219<div class="block">Method for constructing a new instance that is configured 220 with specified feature enabled.</div> 221</td> 222</tr> 223<tr class="rowColor"> 224<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 225<td class="colLast"><span class="typeNameLabel">SerializationConfig.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.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> 226<div class="block">Fluent factory method that will construct and return a new configuration 227 object instance with specified feature enabled.</div> 228</td> 229</tr> 230<tr class="altColor"> 231<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 232<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><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, 233 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</code> 234<div class="block">Method for constructing a new instance that is configured 235 with specified features enabled.</div> 236</td> 237</tr> 238<tr class="rowColor"> 239<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 240<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><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, 241 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</code> 242<div class="block">Method for constructing a new instance that is configured 243 with specified features enabled.</div> 244</td> 245</tr> 246<tr class="altColor"> 247<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 248<td class="colLast"><span class="typeNameLabel">SerializationConfig.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.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, 249 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... features)</code> 250<div class="block">Fluent factory method that will construct and return a new configuration 251 object instance with specified features enabled.</div> 252</td> 253</tr> 254<tr class="rowColor"> 255<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 256<td class="colLast"><span class="typeNameLabel">SerializationConfig.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.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, 257 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... features)</code> 258<div class="block">Fluent factory method that will construct and return a new configuration 259 object instance with specified features enabled.</div> 260</td> 261</tr> 262<tr class="altColor"> 263<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 264<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><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> 265<div class="block">Method for constructing a new instance that is configured 266 with specified features enabled.</div> 267</td> 268</tr> 269<tr class="rowColor"> 270<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 271<td class="colLast"><span class="typeNameLabel">SerializationConfig.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.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> 272<div class="block">Fluent factory method that will construct and return a new configuration 273 object instance with specified features enabled.</div> 274</td> 275</tr> 276<tr class="altColor"> 277<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 278<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><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> 279<div class="block">Method for constructing a new instance that is configured 280 with specified feature enabled.</div> 281</td> 282</tr> 283<tr class="rowColor"> 284<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 285<td class="colLast"><span class="typeNameLabel">SerializationConfig.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.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> 286<div class="block">Fluent factory method that will construct and return a new configuration 287 object instance with specified feature disabled.</div> 288</td> 289</tr> 290<tr class="altColor"> 291<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 292<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><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, 293 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</code> 294<div class="block">Method for constructing a new instance that is configured 295 with specified features enabled.</div> 296</td> 297</tr> 298<tr class="rowColor"> 299<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 300<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><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, 301 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</code> 302<div class="block">Method for constructing a new instance that is configured 303 with specified features enabled.</div> 304</td> 305</tr> 306<tr class="altColor"> 307<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 308<td class="colLast"><span class="typeNameLabel">SerializationConfig.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.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, 309 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... features)</code> 310<div class="block">Fluent factory method that will construct and return a new configuration 311 object instance with specified features disabled.</div> 312</td> 313</tr> 314<tr class="rowColor"> 315<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 316<td class="colLast"><span class="typeNameLabel">SerializationConfig.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.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, 317 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... features)</code> 318<div class="block">Fluent factory method that will construct and return a new configuration 319 object instance with specified features disabled.</div> 320</td> 321</tr> 322<tr class="altColor"> 323<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 324<td class="colLast"><span class="typeNameLabel">ObjectWriter.</span><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> 325<div class="block">Method for constructing a new instance that is configured 326 with specified features enabled.</div> 327</td> 328</tr> 329<tr class="rowColor"> 330<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.html" title="class in com.fasterxml.jackson.databind">SerializationConfig</a></code></td> 331<td class="colLast"><span class="typeNameLabel">SerializationConfig.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/SerializationConfig.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> 332<div class="block">Fluent factory method that will construct and return a new configuration 333 object instance with specified features disabled.</div> 334</td> 335</tr> 336<tr class="altColor"> 337<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 338<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer-com.fasterxml.jackson.databind.SerializationFeature-">writer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> feature)</code> 339<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> with 340 specified feature enabled (compared to settings that this 341 mapper instance has).</div> 342</td> 343</tr> 344<tr class="rowColor"> 345<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 346<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">writer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> first, 347 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</code> 348<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> with 349 specified features enabled (compared to settings that this 350 mapper instance has).</div> 351</td> 352</tr> 353<tr class="altColor"> 354<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind">ObjectWriter</a></code></td> 355<td class="colLast"><span class="typeNameLabel">ObjectMapper.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/ObjectMapper.html#writer-com.fasterxml.jackson.databind.SerializationFeature-com.fasterxml.jackson.databind.SerializationFeature...-">writer</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> first, 356 <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... other)</code> 357<div class="block">Factory method for constructing <a href="../../../../../com/fasterxml/jackson/databind/ObjectWriter.html" title="class in com.fasterxml.jackson.databind"><code>ObjectWriter</code></a> with 358 specified features enabled (compared to settings that this 359 mapper instance has).</div> 360</td> 361</tr> 362</tbody> 363</table> 364</li> 365<li class="blockList"><a name="com.fasterxml.jackson.databind.cfg"> 366<!-- --> 367</a> 368<h3>Uses of <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> in <a href="../../../../../com/fasterxml/jackson/databind/cfg/package-summary.html">com.fasterxml.jackson.databind.cfg</a></h3> 369<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> 370<caption><span>Methods in <a href="../../../../../com/fasterxml/jackson/databind/cfg/package-summary.html">com.fasterxml.jackson.databind.cfg</a> with parameters of type <a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a></span><span class="tabEnd"> </span></caption> 371<tr> 372<th class="colFirst" scope="col">Modifier and Type</th> 373<th class="colLast" scope="col">Method and Description</th> 374</tr> 375<tbody> 376<tr class="altColor"> 377<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperBuilder.html" title="type parameter in MapperBuilder">B</a></code></td> 378<td class="colLast"><span class="typeNameLabel">MapperBuilder.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperBuilder.html#configure-com.fasterxml.jackson.databind.SerializationFeature-boolean-">configure</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a> feature, 379 boolean state)</code> </td> 380</tr> 381<tr class="rowColor"> 382<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperBuilder.html" title="type parameter in MapperBuilder">B</a></code></td> 383<td class="colLast"><span class="typeNameLabel">MapperBuilder.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperBuilder.html#disable-com.fasterxml.jackson.databind.SerializationFeature...-">disable</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... features)</code> </td> 384</tr> 385<tr class="altColor"> 386<td class="colFirst"><code><a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperBuilder.html" title="type parameter in MapperBuilder">B</a></code></td> 387<td class="colLast"><span class="typeNameLabel">MapperBuilder.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperBuilder.html#enable-com.fasterxml.jackson.databind.SerializationFeature...-">enable</a></span>(<a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">SerializationFeature</a>... features)</code> </td> 388</tr> 389<tr class="rowColor"> 390<td class="colFirst"><code>boolean</code></td> 391<td class="colLast"><span class="typeNameLabel">MapperBuilder.</span><code><span class="memberNameLink"><a href="../../../../../com/fasterxml/jackson/databind/cfg/MapperBuilder.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> 392</tr> 393</tbody> 394</table> 395</li> 396</ul> 397</li> 398</ul> 399</div> 400<!-- ======= START OF BOTTOM NAVBAR ====== --> 401<div class="bottomNav"><a name="navbar.bottom"> 402<!-- --> 403</a> 404<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 405<a name="navbar.bottom.firstrow"> 406<!-- --> 407</a> 408<ul class="navList" title="Navigation"> 409<li><a href="../../../../../overview-summary.html">Overview</a></li> 410<li><a href="../package-summary.html">Package</a></li> 411<li><a href="../../../../../com/fasterxml/jackson/databind/SerializationFeature.html" title="enum in com.fasterxml.jackson.databind">Class</a></li> 412<li class="navBarCell1Rev">Use</li> 413<li><a href="../package-tree.html">Tree</a></li> 414<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> 415<li><a href="../../../../../index-all.html">Index</a></li> 416<li><a href="../../../../../help-doc.html">Help</a></li> 417</ul> 418</div> 419<div class="subNav"> 420<ul class="navList"> 421<li>Prev</li> 422<li>Next</li> 423</ul> 424<ul class="navList"> 425<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/class-use/SerializationFeature.html" target="_top">Frames</a></li> 426<li><a href="SerializationFeature.html" target="_top">No Frames</a></li> 427</ul> 428<ul class="navList" id="allclasses_navbar_bottom"> 429<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> 430</ul> 431<div> 432<script type="text/javascript"><!-- 433 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 434 if(window==top) { 435 allClassesLink.style.display = "block"; 436 } 437 else { 438 allClassesLink.style.display = "none"; 439 } 440 //--> 441</script> 442</div> 443<a name="skip.navbar.bottom"> 444<!-- --> 445</a></div> 446<!-- ======== END OF BOTTOM NAVBAR ======= --> 447<p class="legalCopy"><small>Copyright © 2008–2020 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 448</body> 449</html> 450