android - Speed up JSON objects -


i'm using org.json.* library turning web services' result (obviously json) json objects. problem jsonobject , jsonarray constructors take long time build out objects. i'm not passing large amount of data (anywhere between 1 , 100 array items 3-5 keys each), 4 or 5 takes few seconds constructor finish.

is there way speed up? there faster library using?

there's not whole lot of code show.

jsonarray arrayjson = new jsonarray(json); 

where json string.

you might give gson try. article seems indicate has pretty performance on android vs other alternatives. jackson might alternative.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -