GSON - Immutables vs Google

时间:2016-02-21 17:06:39

标签: android gson

我注意到以下GSON maven存储库是最常用于Android项目的工具:

compile 'org.immutables:gson:2.1.11'

我的问题是,为什么这个版本的GSON如此受欢迎?在创建新项目时,我应该使用之前说过的项目还是下面显示的最新项目?有什么主要区别吗?

compile 'com.google.code.gson:gson:2.6.1'

非常感谢任何反馈。

1 个答案:

答案 0 :(得分:3)

<form id="viewemails_'.$i.'" name="viewemails_'.$i.'" onsubmit="return viewemails(this);"> 不是Gson的完整副本,它只是一个适配器,可让您将org.immutables:gson库与Google的Gson一起使用。

相关问题