Function reth_fs_util::read_json_file
source ยท pub fn read_json_file<T: DeserializeOwned>(path: &Path) -> Result<T>
Expand description
Reads the JSON file and deserialize it into the provided type.
pub fn read_json_file<T: DeserializeOwned>(path: &Path) -> Result<T>
Reads the JSON file and deserialize it into the provided type.