@@ -231,9 +231,8 @@ Basic Usage
231
231
result of any object literal decoded with an ordered list of pairs. The
232
232
return value of *object_pairs_hook * will be used instead of the
233
233
:class: `dict `. This feature can be used to implement custom decoders that
234
- rely on the order that the key and value pairs are decoded (for example,
235
- :func: `collections.OrderedDict ` will remember the order of insertion). If
236
- *object_hook * is also defined, the *object_pairs_hook * takes priority.
234
+ rely on the order that the key and value pairs are decoded. If *object_hook *
235
+ is also defined, the *object_pairs_hook * takes priority.
237
236
238
237
.. versionchanged :: 3.1
239
238
Added support for *object_pairs_hook *.
@@ -326,9 +325,8 @@ Encoders and Decoders
326
325
JSON object decoded with an ordered list of pairs. The return value of
327
326
*object_pairs_hook * will be used instead of the :class: `dict `. This
328
327
feature can be used to implement custom decoders that rely on the order
329
- that the key and value pairs are decoded (for example,
330
- :func: `collections.OrderedDict ` will remember the order of insertion). If
331
- *object_hook * is also defined, the *object_pairs_hook * takes priority.
328
+ that the key and value pairs are decoded. If *object_hook * is also defined,
329
+ the *object_pairs_hook * takes priority.
332
330
333
331
.. versionchanged :: 3.1
334
332
Added support for *object_pairs_hook *.
0 commit comments