Hi,

I'm assuming you want to know what format the webservice should return data 
in? JSON vs XML.

I think there are 3 things to consider.

1. Amount of data being sent over the web.
2. Processing required to de-serialise the data (speed).
3. Programming complexity.

I was thinking the same thing and has a look round the web.

I believe that JSON will always be a smaller amount of data because of the 
overhead for XML nodes.

Some body had already run some tests to see which is faster.
It seems that in his testing, XML de-serialisation using SAXParser was 
faster than JSON (if somebody has some real examples, please share).

Regarding programming, I have only used SAXParser and find it very easy to 
code, understand and debug.
I put together a reasonably complex SAXParser for de-serialising Google 
SketchUP dea files that are in XML format.

-- 
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