ValueError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

ValueError: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)

这个错误是由于json.loads()接受的参数并不是直接的一个字典,而需要固定格式的。 引号必须为双引号。单引号不行

例如:
错误```{123:123,234:234}

**正确**```{"123":"123","234":"234"}
原文地址:https://www.cnblogs.com/Zidon/p/5981428.html