code: @SuppressWarnings("unchecked")
      public static <T> T getObject(Config config, String path, Class<T> clazz) {
          Object obj = getObject(config, path);
          return obj != null && clazz.isAssignableFrom(obj.getClass()) ? (T) obj : null;
      }
docs: Get a configuration as Java object. Return {@code null} if missing or wrong type.
  
  @param config
  @param path
  @param clazz
  @return