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

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