odin_rpc_json_to_bytes
Overview
Helper function to convert a JSON string into a MessagePack encoded byte array.
Parameters
| Name | Type | Description |
|---|---|---|
json | const char * | The JSON string to convert. |
out_bytes | uint8_t * | Buffer to write the MessagePack data to. |
out_bytes_length | uint32_t * | Input: buffer size, Output: actual data length. |
Return Value
| Type | Description |
|---|---|
OdinError | ODIN_ERROR_SUCCESS on success. |