Class JsonUtils

java.lang.Object
com.anhtester.utils.JsonUtils

public class JsonUtils extends Object
To construct the map by the reading the config values from JSON. Not used in this framework but can be leveraged instead of property file based on the requirements
  • Method Details

    • get

      public static String get(String key)
    • readJsonFile

      public static StringBuffer readJsonFile(String jsonPath)
    • setJsonFile

      public static void setJsonFile(String jsonPath)
    • getJsonDataSourceString

      public static String getJsonDataSourceString()
    • getData

      public static Object getData(String key)