SerializableT.defaultDeserializeProperty

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);
template SerializableT()
override
bool
defaultDeserializeProperty

Parameters

propertyName string

the name of the property to deserialize

value gobject.value.Value

a pointer to an uninitialized value

pspec gobject.param_spec.ParamSpec

a property description

propertyNode json.node.Node

the JSON node containing the serialized property

Return Value

Type: bool

TRUE if the property was successfully deserialized