char * clipboard_serialize_to_json_str(const Clipboard *clipboard, bool compress, GError **error)
Serialize an (optionally) zstd-compressed clipboard JSON.
Clipboard * clipboard_deserialize_from_json_str(const char *json, bool decompress, GError **error)
Deserialize an (optionally) zstd-compressed clipboard JSON.