Reset this tokenizer to read data from the specified streambuf.

Synopsis

Declared in <bdljsn_tokenizer.h>

void
reset(std::streambuf* streambuf);

Description

Note that the reader will not be on a valid node until advanceToNextToken is called. Note that this function does not change the the conformanceMode nor the values of any of the individual token options: * allowConsecutiveSeparators * allowFormFeedAsWhitespace * allowHeterogenousArrays * allowNonUtf8StringLiterals * allowStandAloneValues * allowTrailingTopLevelComma * allowUnescapedControlCharacters

Parameters

Name

Description

streambuf

input stream buffer to read from

Created with MrDocs