[#BloombergLP-bdljsn-Tokenizer-setConformanceMode] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Tokenizer.adoc[Tokenizer]::setConformanceMode :relfileprefix: ../../../ :mrdocs: Set the `conformanceMode` of this tokenizer to the specified `mode` and return a non‐`const` reference to this tokenizer. If `mode` is `e_STRICT_20240119` the option values of this tokenizer are set to be fully compliant with RFC8259 (see https://www.rfc‐editor.org/rfc/rfc8259) == Synopsis Declared in `<bdljsn_tokenizer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdljsn/Tokenizer.adoc[Tokenizer]& setConformanceMode(xref:BloombergLP/bdljsn/Tokenizer/ConformanceMode-03.adoc[ConformanceMode] mode); ---- == Description Specifically, those option values are: ` allowConsecutiveSeparators() == false; allowFormFeedAsWhitespace() == false; allowHeterogeneousArrays() == true; allowNonUtf8StringLiterals() == false; allowStandAloneValues() == true; allowTrailingTopLevelComma() == false; allowUnescapedControlCharacters() = false; ` Otherwise (i.e., `mode` is `e_RELAXED`), those option values can be set in any combination. Note that the behavior is undefined if individual options are set when `conformanceMode` is _not_ `e_RELAXED`. [.small]#Created with https://www.mrdocs.com[MrDocs]#