5 ms·
In Python it's json.load(file), so no indirection needed whatsoever.
In Python it's json.load(file), so no indirection needed whatsoever.
That is indirection though. json.load basically calls fp.read() and then passes that value to be deserialised.
Everything is indirection.
It doesn't stop being what it is just because the standard library does it.