class WXJsonUtils {

  public @NonNull static <T> List<T> getList(String json, Class<T> clazz) {
    List<T> result = null;
    try {
      result = JSONObject.parseArray(json, clazz);
    } catch (Exception e) {
      e.printStackTrace();
      result = new ArrayList<>();
    }
    return result;
  }

}