"G:/FastWorkStateServer/logs/redis_fabu.py", line 20, in
print(json.loads(str2))
File "D:\python3.6.5...\lib\json\__init__.py", line 354, in loads
return _default_decoder.decode(s)
File "D:\python3.6.5\lib...\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "D:\python3.6.5...\lib\json\decoder.py", line 355, in raw_decode
obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError...: Expecting property name enclosed in double quotes: line 1 column 2 (char 1)
错误原因:字符串里用单引号来标识字符。