Gson 2.2.4 Released

88 views
Skip to first unread message

Joel Leitch

unread,
May 13, 2013, 6:06:05 PM5/13/13
to googl...@googlegroups.com
Hi All,

We are happy to announce a new release of Gson, version 2.2.4. This is a minor release, but it contains a critical bug fix that went out with the previous release. All users are recommended to upgrade to this version. Here is a summary of changes:
  • Critical bug fix in LinkedHashTreeMap which improperly rehashes Nodes into the incorrect bucket. This means that if you use a Map<String, T> as a field then it is possible that the get and has method will not work properly. Likewise, if you use JsonObject (or JsonElement) DOM parsing directly then it is possible that it will not find the field that was just added into the map.
  • Fixed issue 511 to correctly handle Number deserialization when invoke "longValue".
The release is pushed out to Maven Central and is also available for download from Gson's download page:

If you run into issues specific to this release, please post them as responses to this thread.

Happy coding!

Jesse, Joel & Inder
Reply all
Reply to author
Forward
0 new messages