ADTF
3.18.2
|
Utility base class to facilitate JSON conversions. More...
Static Public Member Functions | |
static Json::Value | result_to_json (a_util::result::Result nResult) |
Get the Json::Value representation of an object of type a_util::result::Result. More... | |
static std::string | to_string (uint64_t nValue) |
Convert an unsigned integer to a string. More... | |
static std::string | to_string (int64_t nValue) |
Convert a signed integer to a string. More... | |
static a_util::result::Result | json_to_result (const Json::Value &oValue) |
Get the a_util::result::Result representation of an object of type Json::Value . More... | |
static uint64_t | stoull (const std::string &strValue) |
Convert a string to an unsigned integer. More... | |
static int64_t | stoll (const std::string &strValue) |
Convert a string to a signed integer. More... | |
Utility base class to facilitate JSON conversions.
Definition at line 28 of file json_rpc.h.
|
static |
Get the a_util::result::Result representation of an object of type Json::Value
.
[in] | oValue | The json value object to convert |
|
static |
Get the Json::Value
representation of an object of type a_util::result::Result.
[in] | nResult | The result object to convert |
|
static |
Convert a string to a signed integer.
[in] | strValue | The value to convert |
strValue
|
static |
Convert a string to an unsigned integer.
[in] | strValue | The value to convert |
strValue
|
static |
Convert a signed integer to a string.
[in] | nValue | The value to convert |
nValue
|
static |
Convert an unsigned integer to a string.
[in] | nValue | The value to convert |
nValue