class Temperature {

	@JsonIgnore
	public double getValueInKelvin() {
		double kelvin = type.toKelvin(value);
		return round(kelvin);
	}

	@JsonCreator public  Temperature(
		@JsonProperty("value") double value,
		@JsonProperty("type") TemperatureType type);

}