Bitcoin Core  0.20.99
P2P Digital Currency
Classes | Enumerations | Functions | Variables
univalue.h File Reference
#include <stdint.h>
#include <string.h>
#include <string>
#include <vector>
#include <map>
#include <cassert>
#include <sstream>
Include dependency graph for univalue.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UniValue
 

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

Function Documentation

◆ find_value()

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

Definition at line 234 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 51 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 218 of file univalue.h.

Here is the caller graph for this function:

◆ jsonTokenIsValue()

static bool jsonTokenIsValue ( enum jtokentype  jtt)
inlinestatic

Definition at line 201 of file univalue.h.

Here is the caller graph for this function:

◆ uvTypeName()

const char* uvTypeName ( UniValue::VType  t)

Definition at line 219 of file univalue.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ NullUniValue

const UniValue NullUniValue

Definition at line 13 of file univalue.cpp.