aboutsummaryrefslogtreecommitdiffstats
path: root/datafile-commons/src
diff options
context:
space:
mode:
Diffstat (limited to 'datafile-commons/src')
-rw-r--r--datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java b/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java
index e02476a5..3be7bcf6 100644
--- a/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java
+++ b/datafile-commons/src/main/java/org/onap/dcaegen2/collectors/datafile/model/CommonFunctions.java
@@ -24,7 +24,7 @@ import com.google.gson.GsonBuilder;
public class CommonFunctions {
- private static Gson gson = new GsonBuilder().create();
+ private static Gson gson = new GsonBuilder().serializeNulls().create();
private CommonFunctions() {}