Set the allowStandAloneValues option to the specified value and return a non‐`const` reference to this tokenizer. If the allowStandAloneValues value is true this tokenizer will successfully tokenize JSON values (strings and numbers). If the option's value is false then the tokenizer will only tokenize complete JSON documents (JSON objects and arrays) and return an error for stand alone JSON values. By default, the value of the allowStandAloneValues option is true. The behavior is undefined unless e_RELAXED == conformanceMode().

Synopsis

Declared in <bdljsn_tokenizer.h>

Tokenizer&
setAllowStandAloneValues(bool value);

Created with MrDocs