On Mon, Mar 29, 2010 at 4:19 PM, Kevin M. <athlo...@yahoo.com> wrote:

> I have a C/C++ application in which I want to store data from a struct into
> a table (using SQLite 3.6.23) and later retrieve data from the table and
> store it back in the struct.  But, I need a general interface for this as
> there are many types of structs used.


You could convert the structs to JSON format and store them in a TEXT
field.
There are a number of C++ JSON libraries listed here: http://www.json.org/

Regards
Tim Romano
P.S. Apologies if this reply comes through twice -- I resubscribed under a
new email address but  replied under the old address.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to