public void ReadFile() {
		JSONParser jsonParser = new JSONParser();

		try {
			FileReader json = new FileReader("src/config.json");

			Object obj = jsonParser.parse(json);
			JSONObject jsonObject = (JSONObject) obj;

			setHost((String) jsonObject.get("host"));
			setPort((String) jsonObject.get("port"));
			setUsername((String) jsonObject.get("username"));
			setDbname((String) jsonObject.get("dbname"));
			setPassword((String) jsonObject.get("password"));
			setServerport((String) jsonObject.get("serverport"));
			setWeather_expiration_time((String) jsonObject.get("weather_expiration_time"));
			setWeather_lat((String) jsonObject.get("weather_lat"));
			setWeather_lon((String) jsonObject.get("weather_lon"));
			setWeather_future_in_days((String) jsonObject.get("weather_future_in_days"));
			setQOTD_expiration_time((String) jsonObject.get("qotd_expiration_time"));
			setEncryptionkey ((String) jsonObject.get("encryptionkey"));

		} catch (ParseException e) {
			e.printStackTrace();
		} catch (NullPointerException e) {
			e.printStackTrace();
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}