Serializable.serializeProperty

json.node.Node serializeProperty(string propertyName, gobject.value.Value value, gobject.param_spec.ParamSpec pspec)

Asks a [json.serializable.Serializable] implementation to serialize an object property into a JSON node.

Parameters

propertyNamethe name of the property to serialize
valuethe value of the property to serialize
pspeca property description

Returns

a node containing the serialized property