Use MiniGson's list adapters

This commit is contained in:
Jesse Wilson 2011-09-09 03:35:11 +00:00
parent 3aeb70e030
commit 6029afb72d

View File

@ -247,10 +247,10 @@ public final class Gson {
.typeAdapter(BigInteger.class, new BigIntegerTypeAdapter())
.factory(excludedTypeFactory)
.factory(GsonCompatibleMapTypeAdapter.FACTORY)
.factory(new GsonToMiniGsonTypeAdapter(serializers, deserializers, serializeNulls))
.factory(CollectionTypeAdapter.FACTORY)
.factory(ArrayTypeAdapter.FACTORY)
.factory(ObjectTypeAdapter.FACTORY)
.factory(new GsonToMiniGsonTypeAdapter(serializers, deserializers, serializeNulls))
.factory(reflectiveTypeAdapterFactory);
this.miniGson = builder.build();