public void Deserialize(JObject root) { this.m_exit_music_start_time = root["exit_music_start_time"].GetFloat(0.0f); this.m_exit_no_explosions = root["exit_no_explosions"].GetBool(false); this.m_alien_lava = root["alien_lava"].GetBool(false); this.m_custom_count = root["custom_count"].GetInt(0); this.m_objective = (CustomLevelInfoObjective)Enum.Parse(typeof(CustomLevelInfoObjective), root["objective"].GetString("NORMAL")); }