python json模块使用

import json

json.dumps() # 将字典转换为json字符串

json.loads() # 将json字符串转为字典

posted on 2021-10-18 11:21  CJTARRR  阅读(20)  评论(0编辑  收藏  举报