• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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>JsonRawValue (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="JsonRawValue (Jackson-annotations 2.10.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="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li>
36<li class="navBarCell1Rev">Class</li>
37<li><a href="class-use/JsonRawValue.html">Use</a></li>
38<li><a href="package-tree.html">Tree</a></li>
39<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
40<li><a href="../../../../index-all.html">Index</a></li>
41<li><a href="../../../../help-doc.html">Help</a></li>
42</ul>
43</div>
44<div class="subNav">
45<ul class="navList">
46<li><a href="../../../../com/fasterxml/jackson/annotation/JsonPropertyOrder.html" title="annotation in com.fasterxml.jackson.annotation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
47<li><a href="../../../../com/fasterxml/jackson/annotation/JsonRootName.html" title="annotation in com.fasterxml.jackson.annotation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
48</ul>
49<ul class="navList">
50<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonRawValue.html" target="_top">Frames</a></li>
51<li><a href="JsonRawValue.html" target="_top">No&nbsp;Frames</a></li>
52</ul>
53<ul class="navList" id="allclasses_navbar_top">
54<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
55</ul>
56<div>
57<script type="text/javascript"><!--
58  allClassesLink = document.getElementById("allclasses_navbar_top");
59  if(window==top) {
60    allClassesLink.style.display = "block";
61  }
62  else {
63    allClassesLink.style.display = "none";
64  }
65  //-->
66</script>
67</div>
68<div>
69<ul class="subNavList">
70<li>Summary:&nbsp;</li>
71<li>Field&nbsp;|&nbsp;</li>
72<li>Required&nbsp;|&nbsp;</li>
73<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
74</ul>
75<ul class="subNavList">
76<li>Detail:&nbsp;</li>
77<li>Field&nbsp;|&nbsp;</li>
78<li><a href="#annotation.type.element.detail">Element</a></li>
79</ul>
80</div>
81<a name="skip.navbar.top">
82<!--   -->
83</a></div>
84<!-- ========= END OF TOP NAVBAR ========= -->
85<!-- ======== START OF CLASS DATA ======== -->
86<div class="header">
87<div class="subTitle">com.fasterxml.jackson.annotation</div>
88<h2 title="Annotation Type JsonRawValue" class="title">Annotation Type JsonRawValue</h2>
89</div>
90<div class="contentContainer">
91<div class="description">
92<ul class="blockList">
93<li class="blockList">
94<hr>
95<br>
96<pre><a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/Target.html?is-external=true" title="class or interface in java.lang.annotation">@Target</a>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/Target.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>={<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/ElementType.html?is-external=true#ANNOTATION_TYPE" title="class or interface in java.lang.annotation">ANNOTATION_TYPE</a>,<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/ElementType.html?is-external=true#METHOD" title="class or interface in java.lang.annotation">METHOD</a>,<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/ElementType.html?is-external=true#FIELD" title="class or interface in java.lang.annotation">FIELD</a>})
97 <a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/Retention.html?is-external=true" title="class or interface in java.lang.annotation">@Retention</a>(<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/Retention.html?is-external=true#value--" title="class or interface in java.lang.annotation">value</a>=<a href="https://docs.oracle.com/javase/6/docs/api/java/lang/annotation/RetentionPolicy.html?is-external=true#RUNTIME" title="class or interface in java.lang.annotation">RUNTIME</a>)
98public @interface <span class="memberNameLabel">JsonRawValue</span></pre>
99<div class="block">Marker annotation that indicates that the annotated method
100 or field should be serialized by including literal String value
101 of the property as is, without quoting of characters.
102 This can be useful for injecting values already serialized in JSON or
103 passing javascript function definitions from server to a javascript client.
104<p>
105 Warning: the resulting JSON stream may be invalid depending on your input value.</div>
106</li>
107</ul>
108</div>
109<div class="summary">
110<ul class="blockList">
111<li class="blockList">
112<!-- =========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY =========== -->
113<ul class="blockList">
114<li class="blockList"><a name="annotation.type.optional.element.summary">
115<!--   -->
116</a>
117<h3>Optional Element Summary</h3>
118<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Optional Element Summary table, listing optional elements, and an explanation">
119<caption><span>Optional Elements</span><span class="tabEnd">&nbsp;</span></caption>
120<tr>
121<th class="colFirst" scope="col">Modifier and Type</th>
122<th class="colLast" scope="col">Optional Element and Description</th>
123</tr>
124<tr class="altColor">
125<td class="colFirst"><code>boolean</code></td>
126<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/fasterxml/jackson/annotation/JsonRawValue.html#value--">value</a></span></code>
127<div class="block">Optional argument that defines whether this annotation is active
128 or not.</div>
129</td>
130</tr>
131</table>
132</li>
133</ul>
134</li>
135</ul>
136</div>
137<div class="details">
138<ul class="blockList">
139<li class="blockList">
140<!-- ============ ANNOTATION TYPE MEMBER DETAIL =========== -->
141<ul class="blockList">
142<li class="blockList"><a name="annotation.type.element.detail">
143<!--   -->
144</a>
145<h3>Element Detail</h3>
146<a name="value--">
147<!--   -->
148</a>
149<ul class="blockListLast">
150<li class="blockList">
151<h4>value</h4>
152<pre>public abstract&nbsp;boolean&nbsp;value</pre>
153<div class="block">Optional argument that defines whether this annotation is active
154 or not. The only use for value 'false' if for overriding purposes
155 (which is not needed often); most likely it is needed for use
156 with "mix-in annotations" (aka "annotation overrides").
157 For most cases, however, default value of "true" is just fine
158 and should be omitted.</div>
159<dl>
160<dt>Default:</dt>
161<dd>true</dd>
162</dl>
163</li>
164</ul>
165</li>
166</ul>
167</li>
168</ul>
169</div>
170</div>
171<!-- ========= END OF CLASS DATA ========= -->
172<!-- ======= START OF BOTTOM NAVBAR ====== -->
173<div class="bottomNav"><a name="navbar.bottom">
174<!--   -->
175</a>
176<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
177<a name="navbar.bottom.firstrow">
178<!--   -->
179</a>
180<ul class="navList" title="Navigation">
181<li><a href="../../../../com/fasterxml/jackson/annotation/package-summary.html">Package</a></li>
182<li class="navBarCell1Rev">Class</li>
183<li><a href="class-use/JsonRawValue.html">Use</a></li>
184<li><a href="package-tree.html">Tree</a></li>
185<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
186<li><a href="../../../../index-all.html">Index</a></li>
187<li><a href="../../../../help-doc.html">Help</a></li>
188</ul>
189</div>
190<div class="subNav">
191<ul class="navList">
192<li><a href="../../../../com/fasterxml/jackson/annotation/JsonPropertyOrder.html" title="annotation in com.fasterxml.jackson.annotation"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
193<li><a href="../../../../com/fasterxml/jackson/annotation/JsonRootName.html" title="annotation in com.fasterxml.jackson.annotation"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
194</ul>
195<ul class="navList">
196<li><a href="../../../../index.html?com/fasterxml/jackson/annotation/JsonRawValue.html" target="_top">Frames</a></li>
197<li><a href="JsonRawValue.html" target="_top">No&nbsp;Frames</a></li>
198</ul>
199<ul class="navList" id="allclasses_navbar_bottom">
200<li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
201</ul>
202<div>
203<script type="text/javascript"><!--
204  allClassesLink = document.getElementById("allclasses_navbar_bottom");
205  if(window==top) {
206    allClassesLink.style.display = "block";
207  }
208  else {
209    allClassesLink.style.display = "none";
210  }
211  //-->
212</script>
213</div>
214<div>
215<ul class="subNavList">
216<li>Summary:&nbsp;</li>
217<li>Field&nbsp;|&nbsp;</li>
218<li>Required&nbsp;|&nbsp;</li>
219<li><a href="#annotation.type.optional.element.summary">Optional</a></li>
220</ul>
221<ul class="subNavList">
222<li>Detail:&nbsp;</li>
223<li>Field&nbsp;|&nbsp;</li>
224<li><a href="#annotation.type.element.detail">Element</a></li>
225</ul>
226</div>
227<a name="skip.navbar.bottom">
228<!--   -->
229</a></div>
230<!-- ======== END OF BOTTOM NAVBAR ======= -->
231<p class="legalCopy"><small>Copyright &#169; 2008&#x2013;2019 <a href="http://fasterxml.com/">FasterXML</a>. All rights reserved.</small></p>
232</body>
233</html>
234