trq_msg_json()
#
trq_msg_json()
retrieves the JSON representation of a queue message. The returned JSON object is not owned by the caller and must not be modified or freed.
Prototype
json_t *trq_msg_json(
q_msg msg
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The queue message whose JSON representation is to be retrieved. |
Return Value
A pointer to a json_t
object representing the message. The returned JSON object is not owned by the caller.
Notes
The returned JSON object must not be modified or freed by the caller.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples