We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b079384 commit 7ff9a73Copy full SHA for 7ff9a73
1 file changed
Doc/whatsnew/3.15.rst
@@ -788,6 +788,17 @@ inspect
788
for :func:`~inspect.getdoc`.
789
(Contributed by Serhiy Storchaka in :gh:`132686`.)
790
791
+json
792
+----
793
+
794
+* Add the *array_hook* parameter to :func:`~json.load` and
795
+ :func:`~json.loads` functions:
796
+ Allow a callback for JSON literal array types to customize Python lists in
797
+ the resulting decoded object. Passing combined :class:`frozendict` to
798
+ *object_pairs_hook* param and :class:`tuple` to ``array_hook`` will yield a
799
+ deeply nested immutable Python structure representing the JSON data.
800
+ (Contributed by Joao S. O. Bueno in :gh:`146440`)
801
802
803
locale
804
------
0 commit comments