Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
univalue.h File Reference
#include <charconv>
#include <cstddef>
#include <cstdint>
#include <map>
#include <stdexcept>
#include <string>
#include <string_view>
#include <system_error>
#include <type_traits>
#include <utility>
#include <vector>
Include dependency graph for univalue.h:

Go to the source code of this file.

Classes

class  UniValue
class  UniValue::type_error

Enumerations

enum  jtokentype {
  JTOK_ERR = -1 , JTOK_NONE = 0 , JTOK_OBJ_OPEN , JTOK_OBJ_CLOSE ,
  JTOK_ARR_OPEN , JTOK_ARR_CLOSE , JTOK_COLON , JTOK_COMMA ,
  JTOK_KW_NULL , JTOK_KW_TRUE , JTOK_KW_FALSE , JTOK_NUMBER ,
  JTOK_STRING
}

Functions

enum jtokentype getJsonToken (std::string &tokenVal, unsigned int &consumed, const char *raw, const char *end)
const char * uvTypeName (UniValue::VType t)
static bool jsonTokenIsValue (enum jtokentype jtt)
static bool json_isspace (int ch)

Variables

const UniValue NullUniValue

Enumeration Type Documentation

◆ jtokentype

enum jtokentype
Enumerator
JTOK_ERR 
JTOK_NONE 
JTOK_OBJ_OPEN 
JTOK_OBJ_CLOSE 
JTOK_ARR_OPEN 
JTOK_ARR_CLOSE 
JTOK_COLON 
JTOK_COMMA 
JTOK_KW_NULL 
JTOK_KW_TRUE 
JTOK_KW_FALSE 
JTOK_NUMBER 
JTOK_STRING 

Definition at line 152 of file univalue.h.

Function Documentation

◆ getJsonToken()

enum jtokentype getJsonToken ( std::string & tokenVal,
unsigned int & consumed,
const char * raw,
const char * end )
extern

Definition at line 54 of file univalue_read.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ json_isspace()

bool json_isspace ( int ch)
inlinestatic

Definition at line 189 of file univalue.h.

Here is the caller graph for this function:

◆ jsonTokenIsValue()

bool jsonTokenIsValue ( enum jtokentype jtt)
inlinestatic

Definition at line 172 of file univalue.h.

Here is the caller graph for this function:

◆ uvTypeName()

const char * uvTypeName ( UniValue::VType t)
extern

Definition at line 217 of file univalue.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ NullUniValue

const UniValue NullUniValue
extern

Definition at line 15 of file univalue.cpp.