From c7f0a099e1533f4b41563bf05d22cea3277fa21c Mon Sep 17 00:00:00 2001 From: Itamar Turner-Trauring Date: Thu, 26 Aug 2021 15:44:54 -0400 Subject: [PATCH] More compatibility with stdlib json module. --- src/allmydata/util/jsonbytes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/allmydata/util/jsonbytes.py b/src/allmydata/util/jsonbytes.py index 08e0cb68e..8ddc4c453 100644 --- a/src/allmydata/util/jsonbytes.py +++ b/src/allmydata/util/jsonbytes.py @@ -116,6 +116,7 @@ def dumps_bytes(obj, *args, **kwargs): # To make this module drop-in compatible with json module: loads = json.loads +load = json.load __all__ = ["dumps", "loads"]