Class ProjectParser

java.lang.Object
com.testmonitor.parsers.ProjectParser

public class ProjectParser extends Object
  • Constructor Details

    • ProjectParser

      public ProjectParser()
  • Method Details

    • parse

      public static ArrayList<Project> parse(org.json.JSONObject response)
      Parse a JSONObject in a list of projects
      Parameters:
      response - The JSON response of a request
      Returns:
      A parsed list of projects
    • parse

      public static Project parse(HashMap<String,Object> item)
      Parse a hashmap into a project.
      Parameters:
      item - the hashmap that contains the project data.
      Returns:
      The parsed project