code: public Object string_to_resource(Class<?> responseClass, String response)
  	{
  		Gson gson = new Gson();
  		return gson.fromJson(response, responseClass);
  	}
docs: Converts Json string to netscaler resource.
  @param responseClass Type of the class to which the string has to be converted to.
  @param response input string.
  @return returns nitro resource object.