0 Posted 2020-12-16Updated 2024-01-11Pythona few seconds read (About 33 words)json data in python | read, write, and transferimport jsondata = [ { 'a' : 1, 'b' : 2, 'c' : 3, 'd' : 4, 'e' : 5 } ]json = json.dumps(data)print jsonjsonData = '{"a":1,"b":2,"c":3,"d":4,"e":5}';text = json.loads(jsonData)print textConfig = json.load(open('config.json')) json data in python | read, write, and transferhttps://karobben.github.io/2020/12/16/Python/json/AuthorKarobbenPosted on2020-12-16Updated on2024-01-11Licensed under#PythonHTML