gchar* json_serialize_gobject ( GObject* gobject, gsize* length )
GObject instance into a JSON data stream.
If the object implements the
JsonSerializable interface, it will be
asked to serizalize all its properties; otherwise, the default
implementation will be use to translate the compatible types into JSON
The object to serialize.
|The data is owned by the caller of the function.|
Return value for the length of the buffer.
|The argument will be set by the function.|
|The argument can be |
|The called function takes ownership of the data, and is responsible for freeing it.|