Function write_json_with_options

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

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