To `JSONEachRow`
}
    else
    {
        writeCString("}\n", out);
    }
    field_number = 0;
}
void JSONEachRowRowOutputFormat::writeRowBetweenDelimiter()
{
    
    if (settings.json.array_of_rows)
    {
        writeCString(",\n", out);
    }
}
void JSONEachRowRowOutputFormat::writePrefix()
{
    if (settings.json.array_of_rows)
    {
        writeCString("[\n", out);
    }
}
void JSONEachRowRowOutputFormat::writeSuffix()
{
    if (settings.json.array_of_rows)
    {
        writeCString("\n]\n", out);
    }
}
void registerOutputFormatJSONEachRow(FormatFactory & factory)