TRUE if the property was successfully deserializedSerializable.deserializeProperty
bool deserializeProperty(string propertyName, out gobject.value.Value value, gobject.param_spec.ParamSpec pspec, json.node.Node propertyNode)Asks a [json.serializable.Serializable] implementation to deserialize the property contained inside property_node and place its value into value.
The value can be:
- an empty [gobject.value.Value] initialized by
G_VALUE_INIT, which will be automatically
initialized with the expected type of the property by using the given property description (since JSON-GLib 1.6)
- a [gobject.value.Value] initialized with the expected type of the property
This function will not be called for properties that are marked as as G_PARAM_CONSTRUCT_ONLY.
Parameters
propertyName | the name of the property to serialize |
value | a pointer to an uninitialized value |
pspec | a property description |
propertyNode | the JSON node containing the serialized property |