# import json
#将数据类型转换成字符串
# data = {"a":"123"}
# a = json.dumps(data)
# print(a,type(a))
# b = json.loads(a)
# print(b,type(b)) #将数据类型转换成字节,作为python私有,支持多种数据类型
# import pickle
# data = {"a":"123"}
# a = pickle.dumps(data)
# print(a,type(a))
# b = pickle.loads(a)
# print(b,type(b))