Requirement update

Bugfix
This commit is contained in:
2021-07-20 13:25:02 +03:00
parent 5a1f7801a2
commit b8884b4877
3 changed files with 10 additions and 11 deletions

View File

@ -232,12 +232,12 @@ def json_decode_object_hook(
def json_load(f, **kwargs):
kwargs.update(object_hook=json_decode_object_hook)
# kwargs.update(object_hook=json_decode_object_hook)
return json.load(f, **kwargs)
def json_loads(s: str, **kwargs):
kwargs.update(object_hook=json_decode_object_hook)
# kwargs.update(object_hook=json_decode_object_hook)
return json.loads(s, **kwargs)