class JsonPrinter implements OutputPrinter {

    @Override
    public void finish()
            throws IOException
    {
        writer.flush();
    }

    public  JsonPrinter(List<String> fieldNames, Writer writer);

}