3 ms·
> json.load(fp, , cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, kw) It looks like you copied that
by Cpoll 6y ago
> json.load(fp, , cls=None, object_hook=None, parse_float=None, parse_int=None, parse_constant=None, object_pairs_hook=None, kw)
It looks like you copied that from https://docs.python.org/3/library/json.html https://docs.python.org/3/library/json.html
Those are all optional parameters, if you don't need them it's just:
json.load(fp)
Which, to the best of my knowledge will behave just like the JS version.