立即学习:https://edu.csdn.net/course/play/26755/340139?utm_source=blogtoedu
使用dumps函数可以将字典转换为JSON字符串,使用loads函数可以将JSON字符串转换为字典。