Serializable.serializeProperty

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

Parameters

propertyName string

the name of the property to serialize

value gobject.value.Value

the value of the property to serialize

pspec gobject.param_spec.ParamSpec

a property description

Return Value

Type: json.node.Node

a node containing the serialized property