I wrote and published small library for JSON data binding:

https://github.com/ko5tik/jsonserializer

I uses GSON pull parsing , based on convetions,  has small footprint
and is good to marshal  / unmarshal  simple java beans
to files.   Release 0.6 is available from maven central.

regartds,

On Sep 15, 10:04 pm, John Goche <[email protected]> wrote:
> Hello,
>
> I have some Java objects which need to be written to a database while the
> user interacts with the application. Such an object has nested objects and I
> was considering implementing a proper SQLite representation of the object.
> However in another application I just convert to JSON and write the whole
> object to the database as a single record. Is there an analogous
> serialization
> mechanism in android so that I may serialize the object and store a single
> sqlite record in the database (the serialized objects)?
>
> Any problems with this approach? What classes do I need to use?
>
> Thanks,
>
> John Goche

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to