Skip to content

Commit 9cd60a5

Browse files
committed
Fix blurb content + formatting
1 parent 47072c3 commit 9cd60a5

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
json
2-
-----
3-
4-
* Add the *array_hook* parameter to :func:`~load` and :func:`~loads` functions:
5-
Allow a callback for JSON literal array types to customize Python lists in the
6-
resulting decoded object. Passing combined :class:`frozendict` to *object_pairs_hook*
7-
param and :class:`tuple` to ``array_hook`` will yield a deeply nested immutable
8-
Python structure representing the JSON data.
1+
:mod:`json`: Add the *array_hook* parameter to :func:`~json.load` and :func:`~json.loads` functions:
2+
Allow a callback for JSON literal array types to customize Python lists in the
3+
resulting decoded object. Passing combined :class:`frozendict` to *object_pairs_hook*
4+
param and :class:`tuple` to ``array_hook`` will yield a deeply nested immutable
5+
Python structure representing the JSON data.

0 commit comments

Comments
 (0)