f67940cb63
- overriding primitive type adapters - auto unwrapping of single element arrays
10 lines
341 B
Plaintext
10 lines
341 B
Plaintext
What's new in GSON 2.0
|
|
|
|
GSON 1.x used to automatically unwrap single-element arrays as necessary.
|
|
GSON 2.x doesn't.
|
|
com.google.gson.functional.ArrayTest.testSingleStringArrayDeserialization
|
|
|
|
|
|
GSON 1.x permitted primitive types to be overridden
|
|
GSON 2.x doesn't.
|
|
com.google.gson.functional.ArrayTest.testArrayOfPrimitivesWithCustomTypeAdapter |