开发者

looking for fastest way string to JSONObject in Android

开发者 https://www.devze.com 2023-04-08 12:27 出处:网络
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

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

精彩评论

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