code: private JsonArray loadJSONArray(File jsonFile) throws JsonParseException {
  
          logger.entering(jsonFile);
  
          String jsonTxt;
  
          try {
              jsonTxt = FileUtils.readFileToString(jsonFile, "UTF-8");
          } catch (IOException e) {
              logger.log(Level.SEVERE, e.getMessage(), e);
              throw new ReporterException(e);
          }
  
          StringBuilder completeJSONTxt = new StringBuilder("[");
          completeJSONTxt.append(StringUtils.removeEnd(jsonTxt, ",\n"));
          completeJSONTxt.append("]");
          JsonArray testObjects = (new JsonParser()).parse(completeJSONTxt.toString()).getAsJsonArray();
  
          logger.exiting(testObjects);
  
          return testObjects;
      }
docs: Load the json array for the given file
  
  @param jsonFile
  json file location
  @return JSONArray
  @throws JSONException