Serializable.defaultDeserializeProperty

bool defaultDeserializeProperty(string propertyName, gobject.value.Value value, gobject.param_spec.ParamSpec pspec, json.node.Node propertyNode)

Calls the default implementation of the vfuncJson.Serializable.deserialize_property virtual function.

This function can be used inside a custom implementation of the deserialize_property() virtual function in lieu of calling the default implementation through [gobject.global.typeDefaultInterfacePeek]:

JsonSerializable *iface;
gboolean res;

iface = g_type_default_interface_peek (JSON_TYPE_SERIALIZABLE);
res = iface->deserialize_property (serializable, property_name,
                                  value,
                                  pspec,
                                  property_node);

Parameters

propertyNamethe name of the property to deserialize
valuea pointer to an uninitialized value
pspeca property description
propertyNodethe JSON node containing the serialized property

Returns

TRUE if the property was successfully deserialized