python3--json反序列化

# Auther: Aaron Fan

# 加载文件中的数据

import json

with open('test.txt','r',encoding='utf-8') as f:
info = json.loads(f.read())

print(info)
posted @ 2016-12-14 00:52  范恒  阅读(212)  评论(0编辑  收藏  举报