[#BloombergLP-ball-RecordJsonFormatter-2constructor-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/ball.adoc[ball]::xref:BloombergLP/ball/RecordJsonFormatter.adoc[RecordJsonFormatter]::RecordJsonFormatter :relfileprefix: ../../../ :mrdocs: Create a record JSON formatter having a default format specification and record separator. Optionally specify an `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory; otherwise, the allocator is used. The default format specification is: ` ["timestamp", "processId", "threadId", "severity", "file", "line",] "category", "message", "attributes"] ` The default record separator is "n". == Synopsis Declared in `<ball_recordjsonformatter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit RecordJsonFormatter(xref:BloombergLP/ball/RecordJsonFormatter/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#