Skip to content

Commit 1225eb7

Browse files
committed
Clarify occurrences of "object literal" as JSON
1 parent 9cfc2d6 commit 1225eb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/json.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Basic Usage
284284

285285
:param object_hook:
286286
If set, a function that is called with the result of
287-
any object literal decoded (a :class:`dict`).
287+
any JSON object literal decoded (a :class:`dict`).
288288
The return value of this function will be used
289289
instead of the :class:`dict`.
290290
This feature can be used to implement custom decoders,
@@ -294,7 +294,7 @@ Basic Usage
294294

295295
:param object_pairs_hook:
296296
If set, a function that is called with the result of
297-
any object literal decoded with an ordered list of pairs.
297+
any JSON object literal decoded with an ordered list of pairs.
298298
The return value of this function will be used
299299
instead of the :class:`dict`.
300300
This feature can be used to implement custom decoders.

0 commit comments

Comments
 (0)