Json.SerializableIface¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
deserialize_property |
r |
virtual function for deserializing JSON into an object property |
|
find_property |
r |
virtual function for finding a property definition using its name |
|
g_iface |
r |
||
get_property |
r |
virtual function for getting a property |
|
list_properties |
r |
virtual function for listing the installed property definitions |
|
serialize_property |
r |
virtual function for serializing an object property into JSON |
|
set_property |
r |
virtual function for setting a property |
Methods¶
None
Details¶
- class Json.SerializableIface¶
Interface that allows serializing and deserializing object instances with properties storing complex data types.
The [func`Json`.gobject_from_data] and [func`Json`.gobject_to_data] functions will check if the passed object type implements this interface, so it can also be used to override the default property serialization sequence.