BloombergLP::bdljsn::Tokenizer::setAllowHeterogenousArrays

Set the allowHeterogenousArrays option to the specified value.

Synopsis

Declared in <bdljsn_tokenizer.h>

Tokenizer&
setAllowHeterogenousArrays(bool value);

Description

Return a non-const reference to this tokenizer. If the allowHeterogenousArrays value is true this tokenizer will successfully tokenize heterogeneous values within an array. If the option's value is false then the tokenizer will return an error for arrays having heterogeneous values. By default, the value of the allowHeterogenousArrays option is true. The behavior is undefined unless e_RELAXED == conformanceMode().

Return Value

a non-const reference to this tokenizer

Parameters

NameDescription
valuenew value for allowHeterogenousArrays