Список сохранения Python в JSON
import json
with open('data.json', 'w') as f:
json.dump(data, f)
Gifted Gull
import json
with open('data.json', 'w') as f:
json.dump(data, f)