I do like that JSON marshaller, bookmarked it in case I can make use
of it some time...


On Mon, Feb 22, 2010 at 2:31 PM, ko5tik <kpriblo...@yahoo.com> wrote:
> XStream is really good,  but little heavyweight for use in android
> app.   And XML is pretty verbose.  On the other side, JSON support is
> native
> in android, and well understood by various framweworks on the server
> side
>
> I started small JSON marshaller on github, which can marshall object
> trees
> to strings and back ( not really advanced  by now though )
>
> http://github.com/ko5tik/jsonserializer
>
> On Feb 22, 2:09 pm, Sean Hodges <seanhodge...@googlemail.com> wrote:
>> On Mon, Feb 22, 2010 at 11:57 AM, Ray da Costa <raydaco...@gmail.com> wrote:
>>
>> > Personnel possibility exists to transmit serialized object via HTTP in
>> > Android? I'm trying to use the HttpURLConnection but I get an exception
>> > saying that does not support
>>
>> Once an object is serialised, it shouldn't be difficult to send it
>> over HTTP in the body of a HttpPost. You could write the object to a
>> String using a combination of ObjectOutputStream and
>> ByteArrayOutputStream (using a process similar 
>> tohttp://www.singularsys.com/jep/doc/html/serialization.html). Then pass
>> it into an HttpPost command.
>>
>> Or, you could use something like XStream to serialise the objects into
>> XML before transport...
>>
>> http://xstream.codehaus.org/
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

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

Reply via email to