kw_serialize()
#
Serialize a JSON object into a gbuffer for transmission or storage with json_t *
and gbuffer_t *
.
Prototype
PUBLIC gbuffer_t *kw_serialize(
json_t *kw
);
Parameters
Key |
Type |
Description |
---|---|---|
|
The JSON object to serialize. |
Return Value
Returns a gbuffer_t *
containing the serialized JSON data, or NULL
on failure.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples