[gson] serialize nulls in GsonHolder gson
This commit is contained in:
parent
c62b74f293
commit
2d3c1c6a19
@ -19,6 +19,7 @@ public class GsonHolder {
|
||||
.excludeFieldsWithModifiers(Modifier.TRANSIENT, Modifier.PRIVATE)
|
||||
.setExclusionStrategies(new GsonIgnoreExclusionStrategy())
|
||||
.setLenient()
|
||||
.serializeNulls()
|
||||
.setPrettyPrinting();
|
||||
|
||||
private static boolean clean = false;
|
||||
|
Loading…
Reference in New Issue
Block a user