[#BloombergLP-baljsn-Encoder_Formatter-2constructor]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/Encoder_Formatter.adoc[Encoder&lowbar;Formatter]::Encoder&lowbar;Formatter
:relfileprefix: ../../../
:mrdocs:

Create a `Encoder&lowbar;Formatter` object using the specified `stream` and `options`&period;

== Synopsis

Declared in `&lt;baljsn&lowbar;encoder&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
Encoder&lowbar;Formatter(
    std::ostream& stream,
    xref:BloombergLP/baljsn/EncoderOptions.adoc[EncoderOptions] const& options);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *stream*
| output stream for formatted JSON
| *options*
| encoding options controlling formatting
|===


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