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 a JSON file and returns serialized data.