Re: [Vala] Writing objects to files



On 03/28/2018 10:44 AM, Steven Oliver wrote:

On the other hand, though, if you throw in some kind of data structure
besides your basic types (int, string, etc.) it completely fails.

https://developer.gnome.org/json-glib/stable/json-glib-Serializable-Interface.html#JsonSerializableIface

If your GObject implements that interface, you can control what gets
serialized and in what format.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]