boxine / bx_py_utils

Various Python utility functions
MIT License
7 stars 1 forks source link

Add write_json_file #210

Closed phihag closed 3 months ago

phihag commented 3 months ago

This is the equivalent of read_json_file – writing a JSON file. It's done correctly, i.e. atomatically. If there is an error with JSON encoding or the program is aborted, nothing will be left.