docs: @Nullable
    public static int[] getIntArray(@Nullable final JsonArray array) {
      if (null == array) return null;
      return IntStream.range(0, array.size()).map(i -> array.get(i).getAsInt()).toArray();
    }