TypeError: the JSON object must be str, not 'TextIOWrapper'
我用的是python3,我的加载代码是:#读取数据withopen('dict_author_id.json','r')asf:data=json.loads(f)print(data["R.Lauterbach"])然后报错了,错误信息为:Traceback(mostrecentcalllast):File"data_preprocessing.py",line111,inprocess()Fi