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`.
| gboxed_type |
a boxed type |
| boxed |
a pointer to a boxed of type `gboxed_type` |
|
a node with the serialized boxed type |