json.load(fp[, encoding[, cls[, object_hook[, parse_float[, parse_int[, parse_constant[, object_pairs_hook[, **kw]]]]]]]])¶
Deserialize fp (a .read()-supporting file-like object containing a JSON document) to a Python object using this conversion table.
The json.load method is the return value of the read method of reading a file-like object, so if you want to return a json string in the read method, printing is not possible.
The json.load method is the return value of the read method of reading a file-like object, so if you want to return a json string in the read method, printing is not possible.