This class implements a mechanism that makes the organization and values of a non‐scalar bdljsn::Json object available as a series of tokens. Some tokens have associated values. See .
Synopsis
Declared in <baljsn_jsontokenizer.h>
class JsonTokenizer;
Type Aliases
Name |
Description |
Type of the allocator used to supply memory. |
Enums
Name |
Description |
Enumeration of tokenizer token types. |
Member Functions
Name |
Description |
|
Constructors |
|
Destroy this object. |
Move to the next token in the source object. Return 0 on success and a non‐zero value otherwise. The return value is non‐zero when there are no more tokens in the source object. The behavior is undefined unless a source object was specified on construction and/or a call to |
|
Return the allocator used by this object to supply memory. Note that if no allocator was supplied at construction the default allocator in effect at construction is used. |
|
Reset this tokenizer to use the specified |
|
Return the type of the current token. |
|
|
Static Member Functions
Name |
Description |
Write the string representation of the specified enumeration |
|
Return the non‐modifiable string representation corresponding to the specified enumeration |
Friends
Name |
Description |
This class provides a mechanism for extracting token information from a |
Created with MrDocs