JSON RPC
JSON-RPC 2.0 library for C++
|
Implements the functionality for handling JSON RPC requests. More...
Go to the source code of this file.
Namespaces | |
namespace | wwa |
namespace | wwa::json_rpc |
Library namespace. | |
Functions | |
static void | wwa::json_rpc::from_json (const nlohmann::json &j, jsonrpc_request &r) |
Deserializes a JSON object into a jsonrpc_request structure. | |
Implements the functionality for handling JSON RPC requests.
This source file contains the implementation of the jsonrpc_request
struct's methods. It includes the deserialization of a JSON object into a jsonrpc_request
structure and the validation of the JSON RPC request.
The file uses the nlohmann::json library for JSON handling and includes additional headers for exception handling and utility functions.
Definition in file request.cpp.