Gson 2.5.0 发布,更新如下:
Updated minimum JDK version to 1.6
Improved Date Deserialization by accepting many date formats
Added support for java.util.Currency, AtomicLong, AtomicLongArray, AtomicInteger, AtomicIntegerArray, AtomicBoolean. This change is backward-incompatible because the earlier version of Gson used the default serialization which wasn't intuitive. We hope that these classes are not used enough to actually cause problems in the field.
Improved debugging information when some exceptions are thrown
Gson 是 Google 提供的用来在 Java 对象和 JSON 数据之间进行映射的 Java 类库。可以将一个 JSON 字符串转成一个 Java 对象,或者反过来。
软件详情:https://github.com/google/gson/blob/master/CHANGELOG.md
下载地址:https://github.com/google/gson/tree/gson-parent-2.5
来自:开源中国社区

