gobject_serialize


Description:


[ Version ( since = "0.10" ) ]
public Node gobject_serialize (Object gobject)

Creates a JSON tree representing the passed object instance.

Each member of the returned JSON object will map to a property of the object type.

The returned JSON tree will be returned as a `JsonNode` with a type of `JSON_NODE_OBJECT`.

Parameters:

gobject

the object to serialize

Returns:

the newly created JSON tree


Namespace: Json
Package: json-glib-1.0