Function

Json-1.0Jsonboxed_serializeSince 0.10

  • Serializes a pointer to a GBoxed of the given type into a Json.Node.

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

    Parameters

    • gboxed_type: GType

      a boxed type

    • boxed: any

      a pointer to a boxed of type gboxed_type

    Returns Json.Node | null

    a node with the serialized boxed type

    0.10