Function workflow_store::fs::write_json
source ยท pub async fn write_json<T>(filename: &Path, value: &T) -> Result<()>where
T: Serialize,
Expand description
Write a serializable value to a text file using serde-json
.
pub async fn write_json<T>(filename: &Path, value: &T) -> Result<()>where
T: Serialize,
Write a serializable value to a text file using serde-json
.