mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-26 14:19:32 +00:00
More compatibility with stdlib json module.
This commit is contained in:
parent
6df4fa315e
commit
c7f0a099e1
@ -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"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user