Represents a JSON reader which implements Archiver concept.
More...
#include <archiver.h>
|
| void * | mDocument |
| | DOM result of parsing.
|
| void * | mStack |
| | Stack for iterating the DOM.
|
| bool | mError |
| | Whether an error has occurred.
|
Represents a JSON reader which implements Archiver concept.
◆ JsonReader() [1/2]
| JsonReader::JsonReader |
( |
const char * | json | ) |
|
Constructor.
- Parameters
-
| json | A non-const source json string for in-situ parsing. |
- Note
- in-situ means the source JSON string will be modified after parsing.
◆ ~JsonReader()
| JsonReader::~JsonReader |
( |
| ) |
|
◆ JsonReader() [2/2]
◆ EndArray()
◆ EndObject()
◆ HasMember()
| bool JsonReader::HasMember |
( |
const char * | name | ) |
const |
◆ Member()
| JsonReader & JsonReader::Member |
( |
const char * | name | ) |
|
◆ Next()
| void JsonReader::Next |
( |
| ) |
|
|
private |
◆ operator bool()
| JsonReader::operator bool |
( |
| ) |
const |
|
inline |
◆ operator&() [1/5]
◆ operator&() [2/5]
◆ operator&() [3/5]
◆ operator&() [4/5]
| JsonReader & JsonReader::operator& |
( |
std::string & | s | ) |
|
◆ operator&() [5/5]
| JsonReader & JsonReader::operator& |
( |
unsigned & | u | ) |
|
◆ operator=()
◆ SetNull()
◆ StartArray()
| JsonReader & JsonReader::StartArray |
( |
size_t * | size = 0 | ) |
|
◆ StartObject()
◆ IsReader
| const bool JsonReader::IsReader = true |
|
static |
◆ IsWriter
| const bool JsonReader::IsWriter = !IsReader |
|
static |
◆ mDocument
| void* JsonReader::mDocument |
|
private |
◆ mError
Whether an error has occurred.
◆ mStack
Stack for iterating the DOM.
The documentation for this class was generated from the following files: