@@ -124,7 +124,8 @@ Basic Usage
124124 sort_keys=False, **kw)
125125
126126 Serialize *obj * as a JSON formatted stream to *fp * (a ``.write() ``-supporting
127- :term: `file-like object `).
127+ :term: `file-like object `) using this :ref: `conversion table
128+ <py-to-json-table>`.
128129
129130 If *skipkeys * is ``True `` (default: ``False ``), then dict keys that are not
130131 of a basic type (:class: `str `, :class: `int `, :class: `float `, :class: `bool `,
@@ -183,8 +184,9 @@ Basic Usage
183184 indent=None, separators=None, default=None, \
184185 sort_keys=False, **kw)
185186
186- Serialize *obj * to a JSON formatted :class: `str `. The arguments have the
187- same meaning as in :func: `dump `.
187+ Serialize *obj * to a JSON formatted :class: `str ` using this :ref: `conversion
188+ table <py-to-json-table>`. The arguments have the same meaning as in
189+ :func: `dump `.
188190
189191 .. note ::
190192
@@ -204,7 +206,8 @@ Basic Usage
204206.. function :: load(fp, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, **kw)
205207
206208 Deserialize *fp * (a ``.read() ``-supporting :term: `file-like object `
207- containing a JSON document) to a Python object.
209+ containing a JSON document) to a Python object using this :ref: `conversion
210+ table <json-to-py-table>`.
208211
209212 *object_hook * is an optional function that will be called with the result of
210213 any object literal decoded (a :class: `dict `). The return value of
@@ -249,7 +252,7 @@ Basic Usage
249252.. function :: loads(s, encoding=None, cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, **kw)
250253
251254 Deserialize *s * (a :class: `str ` instance containing a JSON document) to a
252- Python object.
255+ Python object using this :ref: ` conversion table < json-to-py-table >` .
253256
254257 The other arguments have the same meaning as in :func: `load `, except
255258 *encoding * which is ignored and deprecated.
@@ -264,6 +267,8 @@ Encoders and Decoders
264267
265268 Performs the following translations in decoding by default:
266269
270+ .. _json-to-py-table :
271+
267272 +---------------+-------------------+
268273 | JSON | Python |
269274 +===============+===================+
@@ -345,6 +350,8 @@ Encoders and Decoders
345350
346351 Supports the following objects and types by default:
347352
353+ .. _py-to-json-table :
354+
348355 +-------------------+---------------+
349356 | Python | JSON |
350357 +===================+===============+
0 commit comments