Let the user override the byte[] type adapter
This commit is contained in:
parent
2f0c617d8d
commit
d22e11b184
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user