code: public void write(ProgressVisitor progress, ResultSet resultSet, File file) throws SQLException, IOException {
          write(progress, resultSet, file, null);
      }
docs: Write a resulset to a json file
  
  @param progress
  @param resultSet
  @param file
  @throws SQLException
  @throws IOException