class GridColumnsJsonWriter {

  public String getJson(List<GridColumnGroup> groups) {
    String json = new JSONArray(getJsonStructure(groups)).toString();
    s_logger.debug("Returning JSON for columns {}", json);
    return json;
  }

  public  GridColumnsJsonWriter(ResultsFormatter formatter);

}