Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
'What's New' entry
  • Loading branch information
jsbueno committed Mar 26, 2026
commit 7ff9a7388d8e1e277931920d240068cd012d5260
11 changes: 11 additions & 0 deletions Doc/whatsnew/3.15.rst
Original file line number Diff line number Diff line change
Expand Up @@ -788,6 +788,17 @@ inspect
for :func:`~inspect.getdoc`.
(Contributed by Serhiy Storchaka in :gh:`132686`.)

json
----

* Add the *array_hook* parameter to :func:`~json.load` and
:func:`~json.loads` functions:
Allow a callback for JSON literal array types to customize Python lists in
Comment thread
jsbueno marked this conversation as resolved.
Outdated
the resulting decoded object. Passing combined :class:`frozendict` to
*object_pairs_hook* param and :class:`tuple` to ``array_hook`` will yield a
deeply nested immutable Python structure representing the JSON data.
(Contributed by Joao S. O. Bueno in :gh:`146440`)


locale
------
Expand Down