pub fn read_json<T: DeserializeOwned>(path: &Path) -> Result<Option<T>>Expand description
Read and deserialize JSON from path. Returns Ok(None) if the file does not exist.
pub fn read_json<T: DeserializeOwned>(path: &Path) -> Result<Option<T>>Read and deserialize JSON from path. Returns Ok(None) if the file does not exist.