On Mon, May 30, 2011 at 6:28 PM, Streets Of Boston
<[email protected]>wrote:

> Personally, I would choose XML because Android already includes pull and
> push parsing of XML data from the server. Pull and push parsing allows you
> to only read the parts of the REST response in which your app is interested
> and skip the rest: somewhat better performance, much better memory usage for
> larg REST responses.
>

Android does now have a pull JSON parser:

http://developer.android.com/reference/android/util/JsonReader.html

Also a writer:

http://developer.android.com/reference/android/util/JsonWriter.html

-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

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