JsonNode* valent_packet_end ( JsonBuilder** builder )
Finish a packet created with
This function closes the
body and root objects, then calls
json_builder_get_root(). Then the reference count of
decreased and the pointer is set to
NULL, before returning the packet.
Available since: 1.0
This function is not directly available to language bindings.
A pointer to a
The data is owned by the caller of the function.
A KDE Connect packet.
|The caller of the function takes ownership of the data, and is responsible for freeing it.|
|The return value can be |