Upgrade to Gson 2.3

This release contains the following new features:

- The new @JsonAdapter annotation to specify a Json TypeAdapter for a
  class field
- JsonPath support: JsonParser.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

See: https://groups.google.com/forum/#!topic/google-gson/MOqf5RGtIzk
This commit is contained in:
Roy Clarkson
2014-08-12 11:41:30 +03:00
parent 01cbf9b9ee
commit d6fd40d6dc
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ import org.springframework.util.Assert;
* <p>This converter can be used to bind to typed beans or untyped {@code HashMap}s.
* By default, it supports {@code application/json} and {@code application/*+json}.
*
* <p>Tested against Gson 2.2; compatible with Gson 2.0 and higher.
* <p>Tested against Gson 2.3; compatible with Gson 2.0 and higher.
*
* @author Roy Clarkson
* @since 4.1