[#BloombergLP-baljsn-DecoderOptionsUtil-setMode]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::xref:BloombergLP/baljsn/DecoderOptionsUtil.adoc[DecoderOptionsUtil]::setMode
:relfileprefix: ../../../
:mrdocs:

Set the attributes of the specified `options` to the configuration associated with the specified `mode`&period; See &lcub;Modes&rcub; for details&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
void
setMode(
    xref:BloombergLP/baljsn/DecoderOptions.adoc[DecoderOptions]* options,
    xref:BloombergLP/baljsn/DecoderOptionsUtil/Mode.adoc[Mode] mode);
----


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