一般转换str为dict都用的json.loads,但是如果str开头为 ""就会报错,但是却可以用ast.literal_eval image.png image.png 在看看''开头的str转换为dict image.png