开发者

looking for fastest way string to JSONObject in Android

I used to use new JSONObject(string) to convert开发者_运维问答 string to JSONObject. however, it is too slow performance-wise. Anybody have the faster solution?


Take a look at Jackson. They claim to be faster than any other Java JSON parser. It also parses the data in a stream, lowering memory consumption.


I've used Gson with some good success: http://code.google.com/p/google-gson/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜