Mechanism for traversing JSON data one node at a time.
Synopsis
Declared in <bdljsn_tokenizer.h>
class Tokenizer;
Description
This class provides a mechanism for traversing JSON data stored in a bsl::streambuf one node at a time and allows clients to access the data associated with that node, including its type and data value.
Type Aliases
Enums
Name |
Description |
Tokenizer constants. |
|
JSON conformance modes supported by this tokenizer. |
|
Token types returned by the tokenizer. |
Member Functions
Name |
Description |
|
Create a |
|
Destroy this object. |
Move to the next token in the data stream. |
|
Return the value of the |
|
Return the value of the |
|
Return the value of the |
|
Return the value of the |
|
Return the value of the |
|
Return the value of the |
|
Return the value of the |
|
Return the |
|
Return the offset of the current octet being tokenized. |
|
Return the last read position relative to when |
|
Return the status of the last call to |
|
Reset this tokenizer to read data from the specified |
|
Reset the held |
|
Set the |
|
Set the |
|
Set the |
|
Set the |
|
Set the |
|
Set the |
|
Set the |
|
Set the |
|
Return the token type of the current token. |
|
Load the current token value into |
Created with MrDocs