Java的JSON類庫,Gson 2.5.0 發布

jopen 8年前發布 | 9K 次閱讀 Gson

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

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!