nlib
|
Class that reads the JSON-RPC response byte string. More...
#include "nn/nlib/msgpack/jsonrpc/JsonRpcResponse.h"
Public Types | |
typedef UniquePtr< JsonRpcResponse > | ValueType |
Stores the JSON-RPC response via UniquePtr . | |
typedef Nlist< ValueType > | ListType |
Type that stores the JSON-RPC response sequence. | |
Static Public Member Functions | |
static errno_t | ReadResponse (const void *p, size_t n, ListType *result_list) noexcept |
Creates the JsonRpcResponse object sequence from the JSON-RPC response byte string. More... | |
Class that reads the JSON-RPC response byte string.
JsonRpcClient::ResolveResponse
. Definition at line 92 of file JsonRpcResponse.h.
|
staticnoexcept |
Creates the JsonRpcResponse
object sequence from the JSON-RPC response byte string.
[in] | p | Pointer to the JSON-RPC response byte string. |
[in] | n | Size of the byte array. |
[out] | result_list | Pointer to the object storing the JSON-RPC response. |
0 | Success. |
EINVAL | p or resultList is NULL or n is 0 . |
ENOMEM | memory allocation failed. |
EILSEQ | JSON parsing failed, or the required key does not exist. |
© 2012-2017 Nintendo Co., Ltd. All rights reserved.