Use MiniGson's list adapters
This commit is contained in:
parent
3aeb70e030
commit
6029afb72d
@ -247,10 +247,10 @@ public final class Gson {
|
|||||||
.typeAdapter(BigInteger.class, new BigIntegerTypeAdapter())
|
.typeAdapter(BigInteger.class, new BigIntegerTypeAdapter())
|
||||||
.factory(excludedTypeFactory)
|
.factory(excludedTypeFactory)
|
||||||
.factory(GsonCompatibleMapTypeAdapter.FACTORY)
|
.factory(GsonCompatibleMapTypeAdapter.FACTORY)
|
||||||
.factory(new GsonToMiniGsonTypeAdapter(serializers, deserializers, serializeNulls))
|
|
||||||
.factory(CollectionTypeAdapter.FACTORY)
|
.factory(CollectionTypeAdapter.FACTORY)
|
||||||
.factory(ArrayTypeAdapter.FACTORY)
|
.factory(ArrayTypeAdapter.FACTORY)
|
||||||
.factory(ObjectTypeAdapter.FACTORY)
|
.factory(ObjectTypeAdapter.FACTORY)
|
||||||
|
.factory(new GsonToMiniGsonTypeAdapter(serializers, deserializers, serializeNulls))
|
||||||
.factory(reflectiveTypeAdapterFactory);
|
.factory(reflectiveTypeAdapterFactory);
|
||||||
|
|
||||||
this.miniGson = builder.build();
|
this.miniGson = builder.build();
|
||||||
|
Loading…
Reference in New Issue
Block a user