pub fn write_json_atomic<T: Serialize + ?Sized>( path: &Path, value: &T, mode: u32, ) -> Result<()>
Serialize value as JSON and write it through write_atomic.
value
write_atomic