#include <json_rpc.h>
Inherited by rpc::jsonrpc_object_server< ServerStub, Connector > [protected], and rpc::jsonrpc_remote_interface< Stub, Interface, Connector, ConnectorInitializer > [protected].
Utility base class to facilitate JSON conversions
◆ json_to_result()
◆ result_to_json()
Get the Json::Value representation of an object of type a_util::result::Result
- Parameters
-
| [in] | nResult | The result object to convert |
- Returns
- Json::Value representation
◆ stoll()
| static int64_t rpc::cJSONConversions::stoll |
( |
const std::string & | strValue | ) |
|
|
static |
Convert a string to a signed integer
- Parameters
-
| [in] | strValue | The value to convert |
- Returns
- Signed integer representation of
strValue
◆ stoull()
| static uint64_t rpc::cJSONConversions::stoull |
( |
const std::string & | strValue | ) |
|
|
static |
Convert a string to an unsigned integer
- Parameters
-
| [in] | strValue | The value to convert |
- Returns
- Unsigned integer representation of
strValue
◆ to_string() [1/2]
| static std::string rpc::cJSONConversions::to_string |
( |
int64_t | nValue | ) |
|
|
static |
Convert a signed integer to a string
- Parameters
-
| [in] | nValue | The value to convert |
- Returns
- String representation of
nValue
◆ to_string() [2/2]
| static std::string rpc::cJSONConversions::to_string |
( |
uint64_t | nValue | ) |
|
|
static |
Convert an unsigned integer to a string
- Parameters
-
| [in] | nValue | The value to convert |
- Returns
- String representation of
nValue
The documentation for this class was generated from the following file:
- /workspace/conan/dev_essential/1.6.3/dw/stable/package/65324bff46e457721a7ba250afe9d61dc2b0e57a/include/rpc/json_rpc.h