Json dumping a dict throws TypeError: keys must be a string

前端 未结 7 1230
余生分开走
余生分开走 2020-12-09 10:20

I am attempting to convert the following dict into JSON using json.dumps:

 {
     \'post_engaged\': 36,
     \'post_impressions\':          


        
7条回答
提交回复
热议问题