简体   繁体   中英

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?

thanks a lot!!

regards perry

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.

我已经使用Gson取得了一些成功: http//code.google.com/p/google-gson/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM