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
Read a JSON file and return the string.