[#BloombergLP-ball-RecordJsonFormatter-setRecordSeparator]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/RecordJsonFormatter.adoc[RecordJsonFormatter]::setRecordSeparator
:relfileprefix: ../../../
:mrdocs:

Set the record separator for this record JSON formatter to the specified `recordSeparator`&period;

== Synopsis

Declared in `&lt;ball&lowbar;recordjsonformatter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setRecordSeparator(std::string&lowbar;view const& recordSeparator);
----

== Description

The `recordSeparator` will be printed by each invocation of `operator()` after the formatted record&period; The default is a single newline character, &quot;n&quot;&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *recordSeparator*
| string printed after each formatted record
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
