Reset this tokenizer to use the specified json as a source object for tokens.
Synopsis
Declared in <baljsn_jsontokenizer.h>
int
reset(bdljsn::Json const* json);
Description
All state associated with a previously specified source object (if any) is discarded. The behavior is undefined unless json‐>isArray() or json‐>isObject().
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
json |
source JSON array or object |
Created with MrDocs