serialise_object


Description:

protected abstract Variant serialise_object (T object)

Serialise the given `object` to a GLib.Variant and return the variant. The variant must be of the type returned by ObjectCache.get_serialised_object_type.

Parameters:

object the object to serialise

Returns:

serialised form of `object`

Since:

0.6.0