boxed_serialize


Description:


[ Version ( since = "0.10" ) ]
public Node? boxed_serialize (Type gboxed_type, void* boxed)

Serializes a pointer to a `GBoxed` of the given type into a [struct@Json.

Node].

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

Parameters:

gboxed_type

a boxed type

boxed

a pointer to a boxed of type `gboxed_type`

Returns:

a node with the serialized boxed type


Namespace: Json
Package: json-glib-1.0