pub fn write_json_atomic<T: Serialize + ?Sized>( path: &Path, value: &T, ) -> Result<(), StoreError>
Serialize value as pretty-printed JSON and write it atomically to path.
value
path