json中loads()和dumps()的应用 import jsons = {'name': 'jack'} #将dict转换成strl = json.dumps(s)print(type(l))#将str转换成dictm = json.loads(l)print(type(m))