/// Write Json Link to a file.
Write Json Link to a file.
Write Json Link to a file .
async fn write_json(writer: &mut BufWriter<File>, json: &str) -> Result<(), std::io::Error> {
    writer.write(json.as_bytes()).await?;
    writer.write(b",\n").await?;
    Ok(())
}
async fn write_json ( writer : & mut BufWriter < File > , json : & str ) -> Result < ( ) , std :: io :: Error > { writer . write ( json . as_bytes ( ) ) . await ? ; writer . write ( b" \n " ) . await ? ; Ok ( ( ) ) }
Write Json Link to a file.
Write Json Link to a file .
writer
&mut BufWriter<File>
json
&str