Class UserParser

java.lang.Object
com.testmonitor.parsers.UserParser

public class UserParser extends Object
  • Constructor Details

    • UserParser

      public UserParser()
  • Method Details

    • parse

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

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