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.
| object | the object to serialise |
| serialised form of `object` |
0.6.0