836 B
836 B
Change Log
Version 2.4.0
RELEASE DATE TBA
- Drop
IOExceptionfromTypeAdapter.toJson(). This is a binary-compatible change, but may cause compiler errors whereIOExceptionsare being caught but no longer thrown. The correct fix for this problem is to remove the unnecessarycatchclause. - New:
Gson.newJsonWritermethod returns configuredJsonWriterinstances. - New:
@SerializedNamenow works with AutoValue’s abstract property methods. - New:
JsonWriter#jsonValuewrites raw JSON values. - New: APIs to add primitives directly to
JsonArrayinstances. - New: ISO 8601 type adapter. Find this in extras.
- Fix:
FieldNamingPolicynow works properly when running on a device with a Turkish locale.