Gson v2.3 Release Notes

  • 2014-08-11

    • The new @JsonAdapter annotation to specify a Json TypeAdapter for a class field
    • JsonPath support: JsonReader.getPath() method returns the JsonPath expression
    • New public methods in JsonArray (similar to the java.util.List): contains(JsonElement), remove(JsonElement), remove(int index), set(int index, JsonElement element)
    • Many other smaller bug fixes