Class PropsJsonParse

  • All Implemented Interfaces:
    JsonParse

    public final class PropsJsonParse
    extends Object
    implements JsonParse
    Parse json response into property list
    Version:
    2.0
    Author:
    Frank Giordano
    • Method Detail

      • getInstance

        public static JsonParse getInstance()
        Get singleton instance
        Returns:
        PropsParseResponse object
      • parseResponse

        public Object parseResponse()
        Parse team config's properties json representation into a Map object
        Specified by:
        parseResponse in interface JsonParse
        Returns:
        hashmap of property values
      • setJsonObject

        public JsonParse setJsonObject​(org.json.simple.JSONObject data)
        Set the data to be parsed
        Specified by:
        setJsonObject in interface JsonParse
        Parameters:
        data - json data to parse
        Returns:
        JsonParseResponse this object