Valadoc | Vala | Tutorial | API-References | Markup

gobject_deserialize


Description:

public Object gobject_deserialize (Type gtype, Node node)

Creates a new Object of type gtype, and constructs it using the members of the passed Object

instance. Use unref to free the resources allocated by this function

Parameters:

gtype the type of the Object to create
node a Node of type OBJECT describing the instance of type gtype

Returns:

The newly created Object

Namespace: Json
Package: json-glib-1.0