Skip to content
This repository has been archived by the owner on Aug 31, 2019. It is now read-only.

Latest commit

 

History

History
20 lines (15 loc) · 905 Bytes

CHANGELOG.md

File metadata and controls

20 lines (15 loc) · 905 Bytes

Change Log

Version 2.4.0

2015-10-04

  • Drop IOException from TypeAdapter.toJson(). This is a binary-compatible change, but may cause compiler errors where IOExceptions are being caught but no longer thrown. The correct fix for this problem is to remove the unnecessary catch clause.
  • New: Gson.newJsonWriter method returns configured JsonWriter instances.
  • New: @SerializedName now works with AutoValue’s abstract property methods.
  • New: @SerializedName permits alternate names when deserializing.
  • New: JsonWriter#jsonValue writes raw JSON values.
  • New: APIs to add primitives directly to JsonArray instances.
  • New: ISO 8601 date type adapter. Find this in extras.
  • Fix: FieldNamingPolicy now works properly when running on a device with a Turkish locale.