/// <summary> /// Default ctor /// </summary> internal AirportStatus(JSONObject source) { Delay = source.GetBoolean("delay"); IataCode = source.GetString("IATA"); State= source.GetString("state"); City = source.GetString("city"); Name = source.GetString("name"); var weather = source.GetJSONObject("weather"); Temperature = weather.GetString("temp"); Wind = weather.GetString("wind"); }
public static bool DeserializeSystemBoolean(JSONObject jsonObject, string name) { return jsonObject.GetBoolean(name); }