pub async fn write_json_with_options<T>( filename: &Path, options: Options, value: &T, ) -> Result<()>where T: Serialize,
Write a serializable value to a text file using serde-json.
serde-json