Function

Json-1.0Jsonserialize_gobjectDeprecated 0.10

  • Serializes a GObject.Object instance into a JSON data stream.

    If the object implements the Json.Serializable interface, it will be asked to serizalize all its properties; otherwise, the default implementation will be use to translate the compatible types into JSON native types.

    Parameters

    Returns [string, number]

    a JSON data stream representing the given object

    since 0.10: Use Json.gobject_to_data instead