Class SuggestionDeserializer

java.lang.Object
app.controller.deserializer.SuggestionDeserializer

public class SuggestionDeserializer extends Object
The SuggestionDeserializer class contains methods to deserialize data into a SuggestionList object.
  • Method Details

    • deserialize

      public static SuggestionList deserialize(ArrayList<ArrayList<String>> data, UserList userList, CampList campList)
      Deserializes the provided data into a SuggestionList object.
      Parameters:
      data - The data to deserialize, represented as an ArrayList of ArrayLists of Strings.
      userList - The UserList containing user information to associate with suggestions.
      campList - The CampList containing camp information to associate with suggestions.
      Returns:
      A SuggestionList object populated with deserialized suggestion data.