reth_fs_util

Function write_json_file

Source
pub fn write_json_file<T: Serialize>(path: &Path, obj: &T) -> Result<()>
Expand description

Writes the object as a JSON object.