Function jsonutils::file::write_json_with_indent
source ยท pub fn write_json_with_indent<T: Serialize, P: AsRef<Path>>(
path: P,
value: T,
indent: usize,
) -> Result<(), Error>
Expand description
Writes an object to a JSON file with a custom indentation.