Serializes a GObject.Object instance into a JSON data stream, iterating
recursively over each property.
If the given object implements the Json.Serializable interface,
it will be asked to serialize all its properties; otherwise, the default
implementation will be use to translate the compatible types into
JSON native types.
Serializes a GObject.Object instance into a JSON data stream, iterating recursively over each property.
If the given object implements the Json.Serializable interface, it will be asked to serialize all its properties; otherwise, the default implementation will be use to translate the compatible types into JSON native types.