The JSON library built into Android (org.json) should be more than efficient 
for your needs on a mobile device. If there are inefficiencies in it, they 
almost certainly won't be large enough to cause a visible slowdown in your 
app unless you are transmitting a drastic amount of information over JSON - 
which isn't really what it's for.* *In addition, by using the built in 
library you can be assured that there will be fewer bugs than in something 
you write yourself simply because the included library is older and more 
widely deployed. Lastly, you save yourself the time, however minimal, of 
re-inventing the wheel.

Before you write your own JSON parser, I'd just write your app with the 
included code. Later on, if you notice performance problems you can then 
measure and eliminate them no matter where they originate. Pre-optimizing is 
a dangerous game to play.

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