轻快的Andr​​oid JSON解析器? [英] light and fast android json parser?

查看:164
本文介绍了轻快的Andr​​oid JSON解析器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我开始我的项目与GSON去,因为大多数完成,并具有良好的后盾。

When I started project I went with GSON as most completed and with a good backing.

我现在觉得,这不是表现得非常好。所以,让我们说当我加载从web服务200项(对象)数组 - 它会像5秒解析出来到我的Nexus S.对象阵列仿真器则更加明显。在这种情况下,我喜欢模拟器缓慢,因为它表明这一切坏点很好。

I feel now that it is not performing very well. So, let's say when I load array of 200 items (objects) from web service - it will take like 5 seconds to parse it out into object array on my Nexus S. On Emulator it is even more pronounced. In this case I like emulator slowness as it shows all this bad spots very well.

现在,我的应用程序是pretty坚实得多 - 我在找到不同的方法做我需要做的,也许节省安装尺寸。我只好烤GSON到我的,因为HTC问题自定义命名空间的应用程序。

Now that my app is pretty much solid - I'm looking into different ways to do what I need to do and maybe save on install size. I had to bake GSON into my app with custom namespace because of HTC issues.

推荐答案

我从GSON切换到的杰克逊过去的项目。

I've gotten fairly significant performance improvements by switching from GSON to Jackson in past projects.

这篇关于轻快的Andr​​oid JSON解析器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆