Subversion Repositories AndroidProjects

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
356 chris 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.6.0_26) on Sun Jan 27 20:37:08 CET 2013 -->
6
<TITLE>
7
Json.Serializer (libgdx API)
8
</TITLE>
9
 
10
<META NAME="date" CONTENT="2013-01-27">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    if (location.href.indexOf('is-external=true') == -1) {
18
        parent.document.title="Json.Serializer (libgdx API)";
19
    }
20
}
21
</SCRIPT>
22
<NOSCRIPT>
23
</NOSCRIPT>
24
 
25
</HEAD>
26
 
27
<BODY BGCOLOR="white" onload="windowTitle();">
28
<HR>
29
 
30
 
31
<!-- ========= START OF TOP NAVBAR ======= -->
32
<A NAME="navbar_top"><!-- --></A>
33
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35
<TR>
36
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37
<A NAME="navbar_top_firstrow"><!-- --></A>
38
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39
  <TR ALIGN="center" VALIGN="top">
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Json.Serializer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48
  </TR>
49
</TABLE>
50
</TD>
51
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
 
53
                                libgdx API
54
                                <style>
55
                                body, td, th { font-family:Helvetica, Tahoma, Arial, sans-serif; font-size:10pt }
56
                                pre, code, tt { font-size:9pt; font-family:Lucida Console, Courier New, sans-serif }
57
                                h1, h2, h3, .FrameTitleFont, .FrameHeadingFont, .TableHeadingColor font { font-size:105%;  font-weight:bold }
58
                                .TableHeadingColor { background:#EEEEFF; }
59
                                a { text-decoration:none }
60
                                a:hover { text-decoration:underline }
61
                                a:link, a:visited { color:blue }
62
                                table { border:0px }
63
                                .TableRowColor td:first-child { border-left:1px solid black }
64
                                .TableRowColor td { border:0px; border-bottom:1px solid black; border-right:1px solid black }
65
                                hr { border:0px; border-bottom:1px solid #333366; }
66
                                </style>
67
                        </EM>
68
</TD>
69
</TR>
70
 
71
<TR>
72
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
73
&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/Json.Serializable.html" title="interface in com.badlogic.gdx.utils"><B>PREV CLASS</B></A>&nbsp;
74
&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/JsonReader.html" title="class in com.badlogic.gdx.utils"><B>NEXT CLASS</B></A></FONT></TD>
75
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
76
  <A HREF="../../../../index.html?com/badlogic/gdx/utils/Json.Serializer.html" target="_top"><B>FRAMES</B></A>  &nbsp;
77
&nbsp;<A HREF="Json.Serializer.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
78
&nbsp;<SCRIPT type="text/javascript">
79
  <!--
80
  if(window==top) {
81
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
82
  }
83
  //-->
84
</SCRIPT>
85
<NOSCRIPT>
86
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
87
</NOSCRIPT>
88
 
89
 
90
</FONT></TD>
91
</TR>
92
<TR>
93
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
94
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
95
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
96
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
97
</TR>
98
</TABLE>
99
<A NAME="skip-navbar_top"></A>
100
<!-- ========= END OF TOP NAVBAR ========= -->
101
 
102
<HR>
103
<!-- ======== START OF CLASS DATA ======== -->
104
<H2>
105
<FONT SIZE="-1">
106
com.badlogic.gdx.utils</FONT>
107
<BR>
108
Interface Json.Serializer&lt;T&gt;</H2>
109
<DL>
110
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../com/badlogic/gdx/utils/Json.ReadOnlySerializer.html" title="class in com.badlogic.gdx.utils">Json.ReadOnlySerializer</A></DD>
111
</DL>
112
<DL>
113
<DT><B>Enclosing class:</B><DD><A HREF="../../../../com/badlogic/gdx/utils/Json.html" title="class in com.badlogic.gdx.utils">Json</A></DD>
114
</DL>
115
<HR>
116
<DL>
117
<DT><PRE>public static interface <B>Json.Serializer&lt;T&gt;</B></DL>
118
</PRE>
119
 
120
<P>
121
<HR>
122
 
123
<P>
124
 
125
<!-- ========== METHOD SUMMARY =========== -->
126
 
127
<A NAME="method_summary"><!-- --></A>
128
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
129
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
130
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
131
<B>Method Summary</B></FONT></TH>
132
</TR>
133
<TR BGCOLOR="white" CLASS="TableRowColor">
134
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
135
<CODE>&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/Json.Serializer.html" title="type parameter in Json.Serializer">T</A></CODE></FONT></TD>
136
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Json.Serializer.html#read(com.badlogic.gdx.utils.Json, java.lang.Object, java.lang.Class)">read</A></B>(<A HREF="../../../../com/badlogic/gdx/utils/Json.html" title="class in com.badlogic.gdx.utils">Json</A>&nbsp;json,
137
     java.lang.Object&nbsp;jsonData,
138
     java.lang.Class&nbsp;type)</CODE>
139
 
140
<BR>
141
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
142
</TR>
143
<TR BGCOLOR="white" CLASS="TableRowColor">
144
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
145
<CODE>&nbsp;void</CODE></FONT></TD>
146
<TD><CODE><B><A HREF="../../../../com/badlogic/gdx/utils/Json.Serializer.html#write(com.badlogic.gdx.utils.Json, T, java.lang.Class)">write</A></B>(<A HREF="../../../../com/badlogic/gdx/utils/Json.html" title="class in com.badlogic.gdx.utils">Json</A>&nbsp;json,
147
      <A HREF="../../../../com/badlogic/gdx/utils/Json.Serializer.html" title="type parameter in Json.Serializer">T</A>&nbsp;object,
148
      java.lang.Class&nbsp;knownType)</CODE>
149
 
150
<BR>
151
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
152
</TR>
153
</TABLE>
154
&nbsp;
155
<P>
156
 
157
<!-- ============ METHOD DETAIL ========== -->
158
 
159
<A NAME="method_detail"><!-- --></A>
160
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
161
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
162
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
163
<B>Method Detail</B></FONT></TH>
164
</TR>
165
</TABLE>
166
 
167
<A NAME="write(com.badlogic.gdx.utils.Json,java.lang.Object,java.lang.Class)"><!-- --></A><A NAME="write(com.badlogic.gdx.utils.Json, T, java.lang.Class)"><!-- --></A><H3>
168
write</H3>
169
<PRE>
170
void <B>write</B>(<A HREF="../../../../com/badlogic/gdx/utils/Json.html" title="class in com.badlogic.gdx.utils">Json</A>&nbsp;json,
171
           <A HREF="../../../../com/badlogic/gdx/utils/Json.Serializer.html" title="type parameter in Json.Serializer">T</A>&nbsp;object,
172
           java.lang.Class&nbsp;knownType)</PRE>
173
<DL>
174
<DD><DL>
175
</DL>
176
</DD>
177
</DL>
178
<HR>
179
 
180
<A NAME="read(com.badlogic.gdx.utils.Json, java.lang.Object, java.lang.Class)"><!-- --></A><H3>
181
read</H3>
182
<PRE>
183
<A HREF="../../../../com/badlogic/gdx/utils/Json.Serializer.html" title="type parameter in Json.Serializer">T</A> <B>read</B>(<A HREF="../../../../com/badlogic/gdx/utils/Json.html" title="class in com.badlogic.gdx.utils">Json</A>&nbsp;json,
184
       java.lang.Object&nbsp;jsonData,
185
       java.lang.Class&nbsp;type)</PRE>
186
<DL>
187
<DD><DL>
188
</DL>
189
</DD>
190
</DL>
191
<!-- ========= END OF CLASS DATA ========= -->
192
<HR>
193
 
194
 
195
<!-- ======= START OF BOTTOM NAVBAR ====== -->
196
<A NAME="navbar_bottom"><!-- --></A>
197
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
198
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
199
<TR>
200
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
201
<A NAME="navbar_bottom_firstrow"><!-- --></A>
202
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
203
  <TR ALIGN="center" VALIGN="top">
204
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
205
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
206
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
207
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/Json.Serializer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
208
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
209
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
210
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
211
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
212
  </TR>
213
</TABLE>
214
</TD>
215
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
216
libgdx API</EM>
217
</TD>
218
</TR>
219
 
220
<TR>
221
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
222
&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/Json.Serializable.html" title="interface in com.badlogic.gdx.utils"><B>PREV CLASS</B></A>&nbsp;
223
&nbsp;<A HREF="../../../../com/badlogic/gdx/utils/JsonReader.html" title="class in com.badlogic.gdx.utils"><B>NEXT CLASS</B></A></FONT></TD>
224
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
225
  <A HREF="../../../../index.html?com/badlogic/gdx/utils/Json.Serializer.html" target="_top"><B>FRAMES</B></A>  &nbsp;
226
&nbsp;<A HREF="Json.Serializer.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
227
&nbsp;<SCRIPT type="text/javascript">
228
  <!--
229
  if(window==top) {
230
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
231
  }
232
  //-->
233
</SCRIPT>
234
<NOSCRIPT>
235
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
236
</NOSCRIPT>
237
 
238
 
239
</FONT></TD>
240
</TR>
241
<TR>
242
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
243
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
244
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
245
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
246
</TR>
247
</TABLE>
248
<A NAME="skip-navbar_bottom"></A>
249
<!-- ======== END OF BOTTOM NAVBAR ======= -->
250
 
251
<HR>
252
 
253
                                <div style="font-size:9pt"><i>
254
                                Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)
255
                                </i></div>
256
 
257
</BODY>
258
</HTML>