Skip to content

Commit 27ece59

Browse files
committed
docs
git-svn-id: http://simplejson.googlecode.com/svn/trunk@6 a4795897-2c25-0410-b006-0d3caba88fa1
1 parent 9e7d1a3 commit 27ece59

10 files changed

Lines changed: 2179 additions & 0 deletions
Lines changed: 205 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,205 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2+
<HTML>
3+
4+
<HEAD><META CONTENT="text/html; charset=utf-8" HTTP-EQUIV="Content-Type">
5+
<TITLE>simplejson.JSONDecoder -- Simple JSON &amp;lt;&lt;a class="reference" href="http://json.org">http://json.org&lt;/a>&amp;gt; decoder</TITLE>
6+
<LINK HREF="layout.css" TYPE="text/css" REL="stylesheet">
7+
8+
</HEAD>
9+
<BODY>
10+
<DIV ID="page">
11+
12+
<DIV ID="top-nav">
13+
<H1 ID="doc-title">
14+
<A HREF="index.html" REL="index">simplejson 1.1</A></H1>
15+
<DIV CLASS="online-navigation">
16+
<A HREF="index.html" REL="index">index</A>
17+
<SPAN ID="nav-docs">
18+
19+
</SPAN>
20+
21+
22+
<BR>
23+
24+
25+
26+
<A HREF="module-simplejson.html" TITLE="simplejson reference">
27+
simplejson
28+
</A>
29+
30+
31+
<A HREF="class-simplejson.JSONDecoder.html">details</A>
32+
33+
<A HREF="class-simplejson.JSONDecoder-index.html">
34+
tree
35+
</A>
36+
37+
38+
</DIV>
39+
</DIV>
40+
41+
<DIV ID="main-content">
42+
43+
<H1 CLASS="pudge-member-page-heading">
44+
<TT>JSONDecoder</TT>
45+
</H1>
46+
<H4 CLASS="pudge-member-page-subheading">
47+
Simple JSON &lt;<A HREF="http://json.org" CLASS="reference">http://json.org</A>> decoder
48+
</H4>
49+
<P CLASS="pudge-member-parent-link">
50+
<SMALL>
51+
The JSONDecoder class is accessible via the
52+
<A HREF="module-simplejson.html">
53+
<TT>simplejson</TT>
54+
</A> module.
55+
</SMALL>
56+
</P>
57+
<DIV ID="pudge-section-nav">
58+
<UL>
59+
<LI>
60+
<A HREF="#attributes" CLASS="pudge-section-link">
61+
Attributes (1)
62+
</A>
63+
64+
</LI>
65+
66+
<LI>
67+
<A HREF="#methods" CLASS="pudge-section-link">
68+
Methods (1)
69+
</A>
70+
71+
</LI>
72+
73+
<LI>
74+
<A HREF="simplejson/decoder.py.html?f=196&amp;l=257#196" CLASS="pudge-section-link">
75+
Source
76+
</A>
77+
</LI>
78+
</UL>
79+
</DIV>
80+
<DIV STYLE="clear: left">
81+
</DIV>
82+
<DIV CLASS="rst pudge-module-doc">
83+
<P>Performs the following translations in decoding:</P>
84+
<TABLE BORDER="1" CLASS="docutils">
85+
<COLGROUP>
86+
<COL WIDTH="44%">
87+
88+
<COL WIDTH="56%">
89+
90+
</COLGROUP>
91+
<THEAD VALIGN="bottom">
92+
<TR>
93+
<TH CLASS="head">JSON</TH>
94+
<TH CLASS="head">Python</TH>
95+
</TR>
96+
</THEAD>
97+
<TBODY VALIGN="top">
98+
<TR>
99+
<TD>object</TD>
100+
<TD>dict</TD>
101+
</TR>
102+
<TR>
103+
<TD>array</TD>
104+
<TD>list</TD>
105+
</TR>
106+
<TR>
107+
<TD>string</TD>
108+
<TD>unicode</TD>
109+
</TR>
110+
<TR>
111+
<TD>number (int)</TD>
112+
<TD>int, long</TD>
113+
</TR>
114+
<TR>
115+
<TD>number (real)</TD>
116+
<TD>float</TD>
117+
</TR>
118+
<TR>
119+
<TD>true</TD>
120+
<TD>True</TD>
121+
</TR>
122+
<TR>
123+
<TD>false</TD>
124+
<TD>False</TD>
125+
</TR>
126+
<TR>
127+
<TD>null</TD>
128+
<TD>None</TD>
129+
</TR>
130+
</TBODY>
131+
</TABLE>
132+
<P>It also understands <TT CLASS="docutils literal"><SPAN CLASS="pre">NaN</SPAN></TT>, <TT CLASS="docutils literal"><SPAN CLASS="pre">Infinity</SPAN></TT>, and <TT CLASS="docutils literal"><SPAN CLASS="pre">-Infinity</SPAN></TT> as
133+
their corresponding <TT CLASS="docutils literal"><SPAN CLASS="pre">float</SPAN></TT> values, which is outside the JSON spec.</P>
134+
</DIV>
135+
136+
<HR>
137+
138+
139+
140+
141+
<A NAME="attributes">
142+
143+
144+
</A>
145+
<H2>Attributes</H2>
146+
<DIV CLASS="pudge-member name">
147+
<A NAME="scanner">
148+
</A>
149+
<H4 CLASS="pudge-member-name">
150+
<SPAN CLASS="prefix">a</SPAN>
151+
<TT>
152+
<A HREF="class-simplejson.JSONDecoder.html#scanner" CLASS="pudge-obj-link">scanner</A></TT></H4>
153+
<DIV CLASS="pudge-section rst">
154+
<PRE>&lt;simplejson.scanner.Scanner object at 0x67ec70></PRE>
155+
</DIV>
156+
</DIV>
157+
158+
159+
<A NAME="methods">
160+
161+
162+
</A>
163+
<H2>Methods</H2>
164+
<DIV CLASS="pudge-member routine alias">
165+
<A NAME="__init__">
166+
</A>
167+
<H4 CLASS="pudge-member-name">
168+
<SPAN CLASS="prefix">f</SPAN>
169+
<TT>
170+
<A HREF="class-simplejson.JSONDecoder.html#__init__" CLASS="pudge-obj-link">__init__</A>(self, encoding=None)</TT>
171+
<A HREF="simplejson/decoder.py.html?f=228&amp;l=230#228" TITLE="View Source">...</A>
172+
</H4>
173+
<DIV CLASS="pudge-section rst">
174+
175+
176+
177+
178+
</DIV>
179+
</DIV>
180+
181+
182+
183+
<P>
184+
<SMALL>
185+
186+
187+
See
188+
<A HREF="simplejson/decoder.py.html?f=196&amp;l=257#196" TITLE="simplejson/decoder.py:196">the source</A>
189+
for more information.
190+
</SMALL>
191+
</P>
192+
</DIV>
193+
194+
<DIV ID="footer">
195+
196+
<P ID="pudge">
197+
Built with
198+
<A HREF="http://lesscode.org/projects/pudge/">
199+
Pudge/0.1</A>
200+
</P>
201+
202+
</DIV>
203+
</DIV>
204+
</BODY>
205+
</HTML>

0 commit comments

Comments
 (0)