Let the user override the byte[] type adapter

This commit is contained in:
Jesse Wilson 2011-09-09 08:04:28 +00:00
parent 2f0c617d8d
commit d22e11b184

View File

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