Bitcoin Core  24.99.0
P2P Digital Currency
Classes | Enumerations | Functions | Variables
univalue.h File Reference
#include <charconv>
#include <cstdint>
#include <cstring>
#include <map>
#include <stdexcept>
#include <string>
#include <type_traits>
#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)
 
const UniValuefind_value (const UniValue &obj, const std::string &name)
 

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 154 of file univalue.h.

Function Documentation

◆ find_value()

const UniValue& find_value ( const UniValue obj,
const std::string &  name 
)

Definition at line 233 of file univalue.cpp.

Here is the caller graph for this function:

◆ getJsonToken()

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

Definition at line 28 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 191 of file univalue.h.

◆ jsonTokenIsValue()

static bool jsonTokenIsValue ( enum jtokentype  jtt)
inlinestatic

Definition at line 174 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.