json python 基本转换
摘要:
if __name__ == '__main__': # 将python对象test转换json对象 test = [{"username":"测试","age":16},(2,3),1] print type(test) python_to_json = json.dumps(test,ensur 阅读全文
posted @ 2018-02-11 16:50 高渐离1992 阅读(110) 评论(0) 推荐(0) 编辑