boxedSerialize

fnjson.node.Node boxedSerialize(gobject.types.GType gboxedType, const(void) * boxed = null)

Serializes a pointer to a GBoxed of the given type into a [json.node.Node].

If the serialization is not possible, this function will return NULL.

Parameters

gboxedTypea boxed type
boxeda pointer to a boxed of type gboxed_type

Returns

a node with the serialized boxed type