docs: private static void getSizeMultiDimensionalArray(JsonArray jsonArray, List<Integer> dimensions) {
          Iterator<JsonElement> iterator = jsonArray.iterator();
  
          if (iterator.hasNext()) {
              JsonElement jsonElement = iterator.next();
              if (jsonElement.isJsonArray()) {
                  JsonArray shapeArray = jsonElement.getAsJsonArray();
                  dimensions.add(shapeArray.size());
                  getSizeMultiDimensionalArray(shapeArray, dimensions);
              }
          }
      }