Working with json

Writing json to file

import json
with open('data.json', 'w', encoding='utf-8') as f:
    json.dump(data, f, ensure_ascii=False, indent=4)

 


Revision #1
Created 22 March 2025 09:22:13 by Conor
Updated 22 March 2025 09:23:16 by Conor