Create a JsonTokenizer that tokenizes the specified json object.
Synopsis
Declared in <baljsn_jsontokenizer.h>
JsonTokenizer(
bdljsn::Json const* json,
allocator_type const& allocator = allocator_type());
Description
Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used. The behavior is undefined unless json‐>isArray() or json‐>isObject(). Note that json can also be specified via the reset method.
Parameters
Name |
Description |
json |
source JSON array or object |
allocator |
memory allocator; default uses the default allocator |
Created with MrDocs