# loads() str to json data
# jumps() json to str
# jump() json to file
def ladstest():
data = '{"name": "July", "salary": 999999, "title": "CEO", "manager": null}'
json_data=json.loads(data)
print(json_data)
s = json.dumps(json_data)
print(s)
json.dump(json_data,open("C:pythondemoLiaoXueFengdata estjs2.json","w"))
#load() file to json
def ladtest():
f =open("C:pythondemoLiaoXueFengdata estjs.json","r")
json_data = json.load(f)
f.close()
print(json_data)
ladstest()