serialized property
Serializable.defaultSerializeProperty
json.node.Node defaultSerializeProperty(string propertyName, gobject.value.Value value, gobject.param_spec.ParamSpec pspec)Calls the default implementation of the vfuncJson.Serializable.serialize_property virtual function.
This function can be used inside a custom implementation of the serialize_property() virtual function in lieu of calling the default implementation through [gobject.global.typeDefaultInterfacePeek]:
JsonSerializable *iface;
JsonNode *node;
iface = g_type_default_interface_peek (JSON_TYPE_SERIALIZABLE);
node = iface->serialize_property (serializable, property_name,
value,
pspec);This function will return NULL if the property could not be serialized.
Parameters
propertyName | the name of the property to serialize |
value | the value of the property to serialize |
pspec | a property description |
Returns
a node containing the