1794182a56
This drops support for type hierarchy instance creators. I don't expect this to be a problem. We'll also detect fewer errors where multiple type adapters can serialize the same type. With APIs like getNextTypeAdapter, I think this might actually be an improvement!
6 lines
300 B
Plaintext
6 lines
300 B
Plaintext
Dropped support for GsonBuilder.registerTypeHierarchyAdapter+InstanceCreator
|
|
|
|
Relax registerTypeHierarchyAdapter order
|
|
Gson 2.0 failed if you registered Manager then Employee would fail
|
|
Gson 2.1 it isn't a problem
|
|
com.google.gson.functional.TypeHierarchyAdapterTest#testRegisterSubTypeFirstNotAllowed |