Skip to main content

atomic_write_json

Function atomic_write_json 

Source
pub fn atomic_write_json<T: Serialize>(path: &Path, value: &T) -> Result<()>
Expand description

Atomically write a serde-serializable value as pretty-printed JSON.