public void endPersistentOutput() {
    if (!persistentOutput) {
      return;
    }
    persistentOutput = false;
    if (outputJSON) {
      out.print("]");
    }
  }
ends output of a single, persistent list. at present, only relevant in the case of JSON output.
hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALPrettyPrinter.java