Bitcoin Core 28.99.0
P2P Digital Currency
Classes | Enumerations | Functions | Variables
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 150 of file univalue.h.

Function Documentation

◆ getJsonToken()

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

Definition at line 55 of file univalue_read.cpp.

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

◆ json_isspace()

static bool json_isspace ( int  ch)
inlinestatic

Definition at line 187 of file univalue.h.

Here is the caller graph for this function:

◆ jsonTokenIsValue()

static bool jsonTokenIsValue ( enum jtokentype  jtt)
inlinestatic

Definition at line 170 of file univalue.h.

Here is the caller graph for this function:

◆ uvTypeName()

const char * uvTypeName ( UniValue::VType  t)

Definition at line 218 of file univalue.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ NullUniValue

const UniValue NullUniValue
extern

Definition at line 16 of file univalue.cpp.