Function write_json_sync

Source
pub fn write_json_sync<T>(filename: &Path, value: &T) -> Result<()>
where T: Serialize,
Expand description

Write a serializable value to a text file using serde-json.