这个报错是怎么了?
with open('celoacc.json', 'r') as f:
jdict = json.load(f)
total = []
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 1 (char 2)
这个报错是怎么了?
with open('celoacc.json', 'r') as f:
jdict = json.load(f)
total = []
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 1 (char 2)
json中有单引号问题,可以参考下面文章:
https://blog.csdn.net/qq_41375609/article/details/100118545
觉得有用的话采纳一下哈