[#BloombergLP-bdljsn-Tokenizer-advanceToNextToken]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdljsn.adoc[bdljsn]::xref:BloombergLP/bdljsn/Tokenizer.adoc[Tokenizer]::advanceToNextToken
:relfileprefix: ../../../
:mrdocs:

Move to the next token in the data steam&period; Return 0 on success and a non&hyphen;zero value otherwise&period; Each call to `advanceToNextToken` invalidates the string references returned by the `value` accessor for prior nodes&period; This function _may_ fail to move to the next token if doing so would advanced past a character sequence that is not valid JSON, and is guaranteed to do so (fail to move) if `e&lowbar;RELAXED !&equals; conformanceMode()`&period; The behavior is undefined unless `reset` has been called&period;

== Synopsis

Declared in `&lt;bdljsn&lowbar;tokenizer&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
advanceToNextToken();
----


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