Function weather_cli::read_json_file
source · pub fn read_json_file<T: DeserializeOwned>(json_name: &str) -> Result<T>Expand description
Read a JSON file and return the string.
pub fn read_json_file<T: DeserializeOwned>(json_name: &str) -> Result<T>Read a JSON file and return the string.