json.dump(s) & json.load(s) · string: import json io = open("in.json","r") string = io.read() # json.loads(str) dictionary = json.loads(string) # or one-liner # ...
確定! 回上一頁