📅  最后修改于: 2022-03-11 14:45:58.093000             🧑  作者: Mango
read closely, it is two different functions with very similar names. json.load() takes a file like object with a read() method, json.loads() takes a string. It's easy to miss the "s" at the end and think they are the same method. –
Joshmaker
Apr 25 '13 at 12:02