Class DataObjectSerDes.DataObjectJsonSerializer
java.lang.Object
de.fraunhofer.iese.mydata.common.serdes.DataObjectSerDes.DataObjectJsonSerializer
- All Implemented Interfaces:
com.google.gson.JsonSerializer<DataObject<?>>
- Enclosing class:
- DataObjectSerDes
public static class DataObjectSerDes.DataObjectJsonSerializer
extends Object
implements com.google.gson.JsonSerializer<DataObject<?>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.gson.JsonElement
serialize
(DataObject<?> src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
Constructor Details
-
DataObjectJsonSerializer
public DataObjectJsonSerializer()
-
-
Method Details
-
serialize
public com.google.gson.JsonElement serialize(DataObject<?> src, Type typeOfSrc, com.google.gson.JsonSerializationContext context) - Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<DataObject<?>>
-