Re: [Vala] Is there any way to deserialize something into object in vala?
- From: Reid Thompson <jreidthompson nc rr com>
- To: "marcin saepia net" <marcin saepia net>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Is there any way to deserialize something into object in vala?
- Date: Thu, 22 Mar 2012 15:29:31 -0000
On Thu, 2012-03-22 at 09:15 +0100, marcin saepia net wrote:
I need to create a sort of abstraction layer between the database and
my vala app.
It would be great if it was possible to interate over my class
properties, read they type etc. and dynamically map fields from the DB
to the properties.
Is there any way to do that?
I know that it is possible within GObject, as json-glib has that
functionality, but is it possible without access to low-level C
GLib/GObject macros? Only in Vala?
m.
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list
maybe starting with this you could get what you want
https://live.gnome.org/Vala/PostgreSQL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]