Method

JsonSerializablelist_properties

Declaration [src]

GParamSpec**
json_serializable_list_properties (
  JsonSerializable* serializable,
  guint* n_pspecs
)

Description [src]

Calls the Json.SerializableIface.list_properties implementation on the JsonSerializable instance, which will return the list of serializable properties.

Available since:0.14

Parameters

n_pspecs guint*
 

Return location for the length of the returned array.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.

Return value

Returns: An array of GParamSpec*
 

The serializable properties of the object.

 The length of the array is in the n_pspecs argument.
 The caller of the method takes ownership of the data container, but not the data inside it.