(Json文件)json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 1 col

  • 问题描述

    json.load()载入json文件时出现如题错误。

  • 解决方案

    其中'key':'value'改为“key”:"value"就可以了。

发布了857 篇原创文章 · 获赞 1291 · 访问量 92万+

猜你喜欢

转载自blog.csdn.net/The_Time_Runner/article/details/105353404