JSON Daten speichern
ID | 197 |
---|---|
Link Reference | Not set |
Link Credits | Not set |
Link Technical Documentation | Not set |
PlCodelang | Python |
PlGroup | JSON |
PlItemTitle | JSON Daten speichern |
Code | myData_dict = {"key1":"value1"} fileObj = open('myData.json', 'w+') jsonDump = json.dumps(myData_dict) fileObj.write(jsonDump) fileObj.close() |
Result Example |