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 Wed Sep 25 19:26:34 PDT 2019 --> 6<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 7<title>JsonFormat.Shape (Jackson-annotations 2.10.0 API)</title> 8<meta name="date" content="2019-09-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="JsonFormat.Shape (Jackson-annotations 2.10.0 API)"; 17 } 18 } 19 catch(err) { 20 } 21//--> 22var methods = {"i0":10,"i1":10,"i2":9,"i3":9}; 23var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li> 42<li class="navBarCell1Rev">Class</li> 43<li><a href="class-use/JsonFormat.Shape.html">Use</a></li> 44<li><a href="package-tree.html">Tree</a></li> 45<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 46<li><a href="../../../../index-all.html">Index</a></li> 47<li><a href="../../../../help-doc.html">Help</a></li> 48</ul> 49</div> 50<div class="subNav"> 51<ul class="navList"> 52<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Features.html" title="class in com.fasterxml.jackson.annotation"><span class="typeNameLink">Prev Class</span></a></li> 53<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation"><span class="typeNameLink">Next Class</span></a></li> 54</ul> 55<ul class="navList"> 56<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.Shape.html" target="_top">Frames</a></li> 57<li><a href="JsonFormat.Shape.html" target="_top">No Frames</a></li> 58</ul> 59<ul class="navList" id="allclasses_navbar_top"> 60<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 61</ul> 62<div> 63<script type="text/javascript"><!-- 64 allClassesLink = document.getElementById("allclasses_navbar_top"); 65 if(window==top) { 66 allClassesLink.style.display = "block"; 67 } 68 else { 69 allClassesLink.style.display = "none"; 70 } 71 //--> 72</script> 73</div> 74<div> 75<ul class="subNavList"> 76<li>Summary: </li> 77<li>Nested | </li> 78<li><a href="#enum.constant.summary">Enum Constants</a> | </li> 79<li>Field | </li> 80<li><a href="#method.summary">Method</a></li> 81</ul> 82<ul class="subNavList"> 83<li>Detail: </li> 84<li><a href="#enum.constant.detail">Enum Constants</a> | </li> 85<li>Field | </li> 86<li><a href="#method.detail">Method</a></li> 87</ul> 88</div> 89<a name="skip.navbar.top"> 90<!-- --> 91</a></div> 92<!-- ========= END OF TOP NAVBAR ========= --> 93<!-- ======== START OF CLASS DATA ======== --> 94<div class="header"> 95<div class="subTitle">com.fasterxml.jackson.annotation</div> 96<h2 title="Enum JsonFormat.Shape" class="title">Enum JsonFormat.Shape</h2> 97</div> 98<div class="contentContainer"> 99<ul class="inheritance"> 100<li><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> 101<li> 102<ul class="inheritance"> 103<li><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a>></li> 104<li> 105<ul class="inheritance"> 106<li>com.fasterxml.jackson.annotation.JsonFormat.Shape</li> 107</ul> 108</li> 109</ul> 110</li> 111</ul> 112<div class="description"> 113<ul class="blockList"> 114<li class="blockList"> 115<dl> 116<dt>All Implemented Interfaces:</dt> 117<dd><a href="https://docs.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a>></dd> 118</dl> 119<dl> 120<dt>Enclosing class:</dt> 121<dd><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.html" title="annotation in com.fasterxml.jackson.annotation">JsonFormat</a></dd> 122</dl> 123<hr> 124<br> 125<pre>public static enum <span class="typeNameLabel">JsonFormat.Shape</span> 126extends <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a>></pre> 127<div class="block">Value enumeration used for indicating preferred Shape; translates 128 loosely to JSON types, with some extra values to indicate less precise 129 choices (i.e. allowing one of multiple actual shapes)</div> 130</li> 131</ul> 132</div> 133<div class="summary"> 134<ul class="blockList"> 135<li class="blockList"> 136<!-- =========== ENUM CONSTANT SUMMARY =========== --> 137<ul class="blockList"> 138<li class="blockList"><a name="enum.constant.summary"> 139<!-- --> 140</a> 141<h3>Enum Constant Summary</h3> 142<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> 143<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> 144<tr> 145<th class="colOne" scope="col">Enum Constant and Description</th> 146</tr> 147<tr class="altColor"> 148<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#ANY">ANY</a></span></code> 149<div class="block">Marker enum value that indicates "whatever" choice, meaning that annotation 150 does NOT specify shape to use.</div> 151</td> 152</tr> 153<tr class="rowColor"> 154<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#ARRAY">ARRAY</a></span></code> 155<div class="block">Value that indicates that (JSON) Array type should be used.</div> 156</td> 157</tr> 158<tr class="altColor"> 159<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#BINARY">BINARY</a></span></code> 160<div class="block">Value that indicates that Binary type (native, if format supports it; 161 encoding using Base64 if only textual types supported) should be used.</div> 162</td> 163</tr> 164<tr class="rowColor"> 165<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#BOOLEAN">BOOLEAN</a></span></code> 166<div class="block">Value that indicates that (JSON) boolean type 167 (true, false) should be used.</div> 168</td> 169</tr> 170<tr class="altColor"> 171<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NATURAL">NATURAL</a></span></code> 172<div class="block">Marker enum value that indicates the "default" choice for given datatype; 173 for example, JSON String for <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>, or JSON Number 174 for Java numbers.</div> 175</td> 176</tr> 177<tr class="rowColor"> 178<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NUMBER">NUMBER</a></span></code> 179<div class="block">Value that indicates that a numeric (JSON) type should be used 180 (but does not specify whether integer or floating-point representation 181 should be used)</div> 182</td> 183</tr> 184<tr class="altColor"> 185<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NUMBER_FLOAT">NUMBER_FLOAT</a></span></code> 186<div class="block">Value that indicates that floating-point numeric type should be used</div> 187</td> 188</tr> 189<tr class="rowColor"> 190<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NUMBER_INT">NUMBER_INT</a></span></code> 191<div class="block">Value that indicates that integer number type should be used 192 (and not <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NUMBER_FLOAT"><code>NUMBER_FLOAT</code></a>).</div> 193</td> 194</tr> 195<tr class="altColor"> 196<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#OBJECT">OBJECT</a></span></code> 197<div class="block">Value that indicates that (JSON) Object type should be used.</div> 198</td> 199</tr> 200<tr class="rowColor"> 201<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#SCALAR">SCALAR</a></span></code> 202<div class="block">Value that indicates shape should not be structural (that is, not 203 <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#ARRAY"><code>ARRAY</code></a> or <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#OBJECT"><code>OBJECT</code></a>, but can be any other shape.</div> 204</td> 205</tr> 206<tr class="altColor"> 207<td class="colOne"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#STRING">STRING</a></span></code> 208<div class="block">Value that indicates that (JSON) String type should be used.</div> 209</td> 210</tr> 211</table> 212</li> 213</ul> 214<!-- ========== METHOD SUMMARY =========== --> 215<ul class="blockList"> 216<li class="blockList"><a name="method.summary"> 217<!-- --> 218</a> 219<h3>Method Summary</h3> 220<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> 221<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></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></caption> 222<tr> 223<th class="colFirst" scope="col">Modifier and Type</th> 224<th class="colLast" scope="col">Method and Description</th> 225</tr> 226<tr id="i0" class="altColor"> 227<td class="colFirst"><code>boolean</code></td> 228<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#isNumeric--">isNumeric</a></span>()</code> </td> 229</tr> 230<tr id="i1" class="rowColor"> 231<td class="colFirst"><code>boolean</code></td> 232<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#isStructured--">isStructured</a></span>()</code> </td> 233</tr> 234<tr id="i2" class="altColor"> 235<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a></code></td> 236<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> 237<div class="block">Returns the enum constant of this type with the specified name.</div> 238</td> 239</tr> 240<tr id="i3" class="rowColor"> 241<td class="colFirst"><code>static <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a>[]</code></td> 242<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#values--">values</a></span>()</code> 243<div class="block">Returns an array containing the constants of this enum type, in 244the order they are declared.</div> 245</td> 246</tr> 247</table> 248<ul class="blockList"> 249<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum"> 250<!-- --> 251</a> 252<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3> 253<code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li> 254</ul> 255<ul class="blockList"> 256<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> 257<!-- --> 258</a> 259<h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> 260<code><a href="https://docs.oracle.com/javase/6/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/6/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/6/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/6/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/6/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/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> 261</ul> 262</li> 263</ul> 264</li> 265</ul> 266</div> 267<div class="details"> 268<ul class="blockList"> 269<li class="blockList"> 270<!-- ============ ENUM CONSTANT DETAIL =========== --> 271<ul class="blockList"> 272<li class="blockList"><a name="enum.constant.detail"> 273<!-- --> 274</a> 275<h3>Enum Constant Detail</h3> 276<a name="ANY"> 277<!-- --> 278</a> 279<ul class="blockList"> 280<li class="blockList"> 281<h4>ANY</h4> 282<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> ANY</pre> 283<div class="block">Marker enum value that indicates "whatever" choice, meaning that annotation 284 does NOT specify shape to use. 285 Note that this is different from <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NATURAL"><code>NATURAL</code></a>, which 286 specifically instructs use of the "natural" shape for datatype.</div> 287</li> 288</ul> 289<a name="NATURAL"> 290<!-- --> 291</a> 292<ul class="blockList"> 293<li class="blockList"> 294<h4>NATURAL</h4> 295<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> NATURAL</pre> 296<div class="block">Marker enum value that indicates the "default" choice for given datatype; 297 for example, JSON String for <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang"><code>String</code></a>, or JSON Number 298 for Java numbers. 299 Note that this is different from <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#ANY"><code>ANY</code></a> in that this is actual 300 explicit choice that overrides possible default settings.</div> 301<dl> 302<dt><span class="simpleTagLabel">Since:</span></dt> 303<dd>2.8</dd> 304</dl> 305</li> 306</ul> 307<a name="SCALAR"> 308<!-- --> 309</a> 310<ul class="blockList"> 311<li class="blockList"> 312<h4>SCALAR</h4> 313<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> SCALAR</pre> 314<div class="block">Value that indicates shape should not be structural (that is, not 315 <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#ARRAY"><code>ARRAY</code></a> or <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#OBJECT"><code>OBJECT</code></a>, but can be any other shape.</div> 316</li> 317</ul> 318<a name="ARRAY"> 319<!-- --> 320</a> 321<ul class="blockList"> 322<li class="blockList"> 323<h4>ARRAY</h4> 324<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> ARRAY</pre> 325<div class="block">Value that indicates that (JSON) Array type should be used.</div> 326</li> 327</ul> 328<a name="OBJECT"> 329<!-- --> 330</a> 331<ul class="blockList"> 332<li class="blockList"> 333<h4>OBJECT</h4> 334<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> OBJECT</pre> 335<div class="block">Value that indicates that (JSON) Object type should be used.</div> 336</li> 337</ul> 338<a name="NUMBER"> 339<!-- --> 340</a> 341<ul class="blockList"> 342<li class="blockList"> 343<h4>NUMBER</h4> 344<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> NUMBER</pre> 345<div class="block">Value that indicates that a numeric (JSON) type should be used 346 (but does not specify whether integer or floating-point representation 347 should be used)</div> 348</li> 349</ul> 350<a name="NUMBER_FLOAT"> 351<!-- --> 352</a> 353<ul class="blockList"> 354<li class="blockList"> 355<h4>NUMBER_FLOAT</h4> 356<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> NUMBER_FLOAT</pre> 357<div class="block">Value that indicates that floating-point numeric type should be used</div> 358</li> 359</ul> 360<a name="NUMBER_INT"> 361<!-- --> 362</a> 363<ul class="blockList"> 364<li class="blockList"> 365<h4>NUMBER_INT</h4> 366<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> NUMBER_INT</pre> 367<div class="block">Value that indicates that integer number type should be used 368 (and not <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html#NUMBER_FLOAT"><code>NUMBER_FLOAT</code></a>).</div> 369</li> 370</ul> 371<a name="STRING"> 372<!-- --> 373</a> 374<ul class="blockList"> 375<li class="blockList"> 376<h4>STRING</h4> 377<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> STRING</pre> 378<div class="block">Value that indicates that (JSON) String type should be used.</div> 379</li> 380</ul> 381<a name="BOOLEAN"> 382<!-- --> 383</a> 384<ul class="blockList"> 385<li class="blockList"> 386<h4>BOOLEAN</h4> 387<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> BOOLEAN</pre> 388<div class="block">Value that indicates that (JSON) boolean type 389 (true, false) should be used.</div> 390</li> 391</ul> 392<a name="BINARY"> 393<!-- --> 394</a> 395<ul class="blockListLast"> 396<li class="blockList"> 397<h4>BINARY</h4> 398<pre>public static final <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> BINARY</pre> 399<div class="block">Value that indicates that Binary type (native, if format supports it; 400 encoding using Base64 if only textual types supported) should be used.</div> 401<dl> 402<dt><span class="simpleTagLabel">Since:</span></dt> 403<dd>2.10</dd> 404</dl> 405</li> 406</ul> 407</li> 408</ul> 409<!-- ============ METHOD DETAIL ========== --> 410<ul class="blockList"> 411<li class="blockList"><a name="method.detail"> 412<!-- --> 413</a> 414<h3>Method Detail</h3> 415<a name="values--"> 416<!-- --> 417</a> 418<ul class="blockList"> 419<li class="blockList"> 420<h4>values</h4> 421<pre>public static <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a>[] values()</pre> 422<div class="block">Returns an array containing the constants of this enum type, in 423the order they are declared. This method may be used to iterate 424over the constants as follows: 425<pre> 426for (JsonFormat.Shape c : JsonFormat.Shape.values()) 427 System.out.println(c); 428</pre></div> 429<dl> 430<dt><span class="returnLabel">Returns:</span></dt> 431<dd>an array containing the constants of this enum type, in the order they are declared</dd> 432</dl> 433</li> 434</ul> 435<a name="valueOf-java.lang.String-"> 436<!-- --> 437</a> 438<ul class="blockList"> 439<li class="blockList"> 440<h4>valueOf</h4> 441<pre>public static <a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Shape.html" title="enum in com.fasterxml.jackson.annotation">JsonFormat.Shape</a> valueOf(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> 442<div class="block">Returns the enum constant of this type with the specified name. 443The string must match <i>exactly</i> an identifier used to declare an 444enum constant in this type. (Extraneous whitespace characters are 445not permitted.)</div> 446<dl> 447<dt><span class="paramLabel">Parameters:</span></dt> 448<dd><code>name</code> - the name of the enum constant to be returned.</dd> 449<dt><span class="returnLabel">Returns:</span></dt> 450<dd>the enum constant with the specified name</dd> 451<dt><span class="throwsLabel">Throws:</span></dt> 452<dd><code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd> 453<dd><code><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd> 454</dl> 455</li> 456</ul> 457<a name="isNumeric--"> 458<!-- --> 459</a> 460<ul class="blockList"> 461<li class="blockList"> 462<h4>isNumeric</h4> 463<pre>public boolean isNumeric()</pre> 464</li> 465</ul> 466<a name="isStructured--"> 467<!-- --> 468</a> 469<ul class="blockListLast"> 470<li class="blockList"> 471<h4>isStructured</h4> 472<pre>public boolean isStructured()</pre> 473</li> 474</ul> 475</li> 476</ul> 477</li> 478</ul> 479</div> 480</div> 481<!-- ========= END OF CLASS DATA ========= --> 482<!-- ======= START OF BOTTOM NAVBAR ====== --> 483<div class="bottomNav"><a name="navbar.bottom"> 484<!-- --> 485</a> 486<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> 487<a name="navbar.bottom.firstrow"> 488<!-- --> 489</a> 490<ul class="navList" title="Navigation"> 491<li><a href="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li> 492<li class="navBarCell1Rev">Class</li> 493<li><a href="class-use/JsonFormat.Shape.html">Use</a></li> 494<li><a href="package-tree.html">Tree</a></li> 495<li><a href="../../../../deprecated-list.html">Deprecated</a></li> 496<li><a href="../../../../index-all.html">Index</a></li> 497<li><a href="../../../../help-doc.html">Help</a></li> 498</ul> 499</div> 500<div class="subNav"> 501<ul class="navList"> 502<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Features.html" title="class in com.fasterxml.jackson.annotation"><span class="typeNameLink">Prev Class</span></a></li> 503<li><a href="../../../../com/fasterxml/jackson/annotation/JsonFormat.Value.html" title="class in com.fasterxml.jackson.annotation"><span class="typeNameLink">Next Class</span></a></li> 504</ul> 505<ul class="navList"> 506<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonFormat.Shape.html" target="_top">Frames</a></li> 507<li><a href="JsonFormat.Shape.html" target="_top">No Frames</a></li> 508</ul> 509<ul class="navList" id="allclasses_navbar_bottom"> 510<li><a href="../../../../allclasses-noframe.html">All Classes</a></li> 511</ul> 512<div> 513<script type="text/javascript"><!-- 514 allClassesLink = document.getElementById("allclasses_navbar_bottom"); 515 if(window==top) { 516 allClassesLink.style.display = "block"; 517 } 518 else { 519 allClassesLink.style.display = "none"; 520 } 521 //--> 522</script> 523</div> 524<div> 525<ul class="subNavList"> 526<li>Summary: </li> 527<li>Nested | </li> 528<li><a href="#enum.constant.summary">Enum Constants</a> | </li> 529<li>Field | </li> 530<li><a href="#method.summary">Method</a></li> 531</ul> 532<ul class="subNavList"> 533<li>Detail: </li> 534<li><a href="#enum.constant.detail">Enum Constants</a> | </li> 535<li>Field | </li> 536<li><a href="#method.detail">Method</a></li> 537</ul> 538</div> 539<a name="skip.navbar.bottom"> 540<!-- --> 541</a></div> 542<!-- ======== END OF BOTTOM NAVBAR ======= --> 543<p class="legalCopy"><small>Copyright © 2008–2019 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p> 544</body> 545</html> 546