char* valent_packet_serialize ( JsonNode* packet )
Convenience function that updates the timestamp of a packet before returning a serialized string with newline ending, ready to be written to a stream.
Available since: 1.0
A complete KDE Connect packet.
The data is owned by the caller of the function.