docs: @SuppressWarnings("unchecked")
    public <T> T fromJson(JsonElement json, Type typeOfT) throws JsonSyntaxException {
      if (json == null) {
        return null;
      }
      return (T) fromJson(new JsonTreeReader(json), typeOfT);
    }