default_deserialize_property


Description:

[ Version ( since = "0.10" ) ]
public bool default_deserialize_property (string property_name, out Value value, ParamSpec pspec, Node property_node)

Calls the default implementation of the [vfunc@Json.

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 `g_type_default_interface_peek()`:

```c 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:

this

a serializable object

property_name

the name of the property to deserialize

value

a pointer to an uninitialized value

pspec

a property description

property_node

the JSON node containing the serialized property

Returns:

`TRUE` if the property was successfully deserialized




2022 vala-language.org