代码 with open(full_filename, 'r', encoding='utf-8', errors='ignore') as the_file:
data = json.load(the_file) JSONDecodeError:期望值:第1行第1列(字符0) 我试着在谷歌上搜索解决方案,但都不起作用。
然而,当我尝试使用python的json模块加载它时,它给出了以下错误- JSONDecodeError:期望值:第7行第1列(char 6) 有没有其他加载Json文件的方法?/tree/master/data/sentihood 我的代码很简单: with open("sentihood-train.json", "r") as read_it:
data = json.load