boxedCanSerialize

fnbool boxedCanSerialize(gobject.types.GType gboxedType, out json.types.NodeType nodeType)

Checks whether it is possible to serialize a GBoxed of type gboxed_type into a [json.node.Node].

The type of the node is placed inside node_type if the function returns TRUE, and it's undefined otherwise.

Parameters

gboxedTypea boxed type
nodeTypethe node type to which the boxed type can be serialized into

Returns

TRUE if the type can be serialized, and FALSE otherwise