F:\python\python35\python.exe E: / code / clself / Test / test_example1.py string info type is - - >: < class 'str' > dict info type is - - >: < class 'dict' > { 'name' : 'test' , 'age' : 18 } Traceback (most recent call last): File "E:/code/clself/Test/test_example1.py" , line 10 , in <module> d_info = json.loads(s_info) File "F:\python\python35\lib\json\__init__.py" , line 319 , in loads return _default_decoder.decode(s) File "F:\python\python35\lib\json\decoder.py" , line 339 , in decode obj, end = self .raw_decode(s, idx = _w(s, 0 ).end()) File "F:\python\python35\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 ) Process finished with exit code 1 |