python json模块 字典 输出中文

时间:2014-12-19 23:19:19   收藏:0   阅读:240
json.dumps({‘text‘:"中文"},ensure_ascii=False,indent=2)

python json模块 字典得到字符串,输出中文

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!