Java的JSON类库,Gson 2.5.0 发布

jopen 8年前

Gson 是 Google 提供的用来在 Java 对象和 JSON 数据之间进行映射的 Java 类库。可以将一个 JSON 字符串转成一个 Java 对象,或者反过来。

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

更多内容请看:CHANGELOG.md

下载地址:gson-parent-2.5