Function write_json

Source
pub fn write_json<T: Serialize>(path: &Path, json: &T) -> Result<()>