darkfi::util::file

Function save_json_file

Source
pub fn save_json_file(
    path: &Path,
    value: &JsonValue,
    pretty: bool,
) -> Result<()>