美文网首页
python json 模块

python json 模块

作者: Leoguo小哥 | 来源:发表于2020-04-17 10:57 被阅读0次

json转换

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

json.loads() 将字符串对象转换为字典

json 读取,写入操作

json.load()  读取json文件数据

json.dump()  写入json数据到json文件

相关文章

网友评论

      本文标题:python json 模块

      本文链接:https://www.haomeiwen.com/subject/jrhevhtx.html