#include <univalue.h>
#include <univalue_utffilter.h>
#include <cstdint>
#include <cstdio>
#include <cstring>
#include <string>
#include <string_view>
#include <vector>
Go to the source code of this file.
|
#define | expect(bit) (expectMask & (EXP_##bit)) |
|
#define | setExpect(bit) (expectMask |= EXP_##bit) |
|
#define | clearExpect(bit) (expectMask &= ~EXP_##bit) |
|
|
static bool | json_isdigit (int ch) |
|
static const char * | hatoui (const char *first, const char *last, unsigned int &out) |
|
enum jtokentype | getJsonToken (std::string &tokenVal, unsigned int &consumed, const char *raw, const char *end) |
|
◆ clearExpect
#define clearExpect |
( |
|
bit | ) |
(expectMask &= ~EXP_##bit) |
◆ expect
#define expect |
( |
|
bit | ) |
(expectMask & (EXP_##bit)) |
◆ setExpect
#define setExpect |
( |
|
bit | ) |
(expectMask |= EXP_##bit) |
◆ expect_bits
Enumerator |
---|
EXP_OBJ_NAME | |
EXP_COLON | |
EXP_ARR_VALUE | |
EXP_VALUE | |
EXP_NOT_VALUE | |
Definition at line 275 of file univalue_read.cpp.
◆ getJsonToken()
enum jtokentype getJsonToken |
( |
std::string & |
tokenVal, |
|
|
unsigned int & |
consumed, |
|
|
const char * |
raw, |
|
|
const char * |
end |
|
) |
| |
◆ hatoui()
static const char * hatoui |
( |
const char * |
first, |
|
|
const char * |
last, |
|
|
unsigned int & |
out |
|
) |
| |
|
static |
◆ json_isdigit()
static bool json_isdigit |
( |
int |
ch | ) |
|
|
static |
◆ MAX_JSON_DEPTH
constexpr size_t MAX_JSON_DEPTH = 512 |
|
staticconstexpr |