You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<P>Performs the following translations in decoding:</P>
84
+
<TABLEBORDER="1" CLASS="docutils">
85
+
<COLGROUP>
86
+
<COLWIDTH="44%">
87
+
88
+
<COLWIDTH="56%">
89
+
90
+
</COLGROUP>
91
+
<THEADVALIGN="bottom">
92
+
<TR>
93
+
<THCLASS="head">JSON</TH>
94
+
<THCLASS="head">Python</TH>
95
+
</TR>
96
+
</THEAD>
97
+
<TBODYVALIGN="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 <TTCLASS="docutils literal"><SPANCLASS="pre">NaN</SPAN></TT>, <TTCLASS="docutils literal"><SPANCLASS="pre">Infinity</SPAN></TT>, and <TTCLASS="docutils literal"><SPANCLASS="pre">-Infinity</SPAN></TT> as
133
+
their corresponding <TTCLASS="docutils literal"><SPANCLASS="pre">float</SPAN></TT> values, which is outside the JSON spec.</P>
0 commit comments