Function weather_cli::read_json_response
source · pub fn read_json_response<T: DeserializeOwned>(
response: &str,
error_message_type: ErrorMessageType,
error_context: &str
) -> Result<T>Expand description
Reads the given json file and returns the string.