Package io.didomi.sdk.remote
Class GSONInterfaceAdapter
-
- All Implemented Interfaces:
-
com.google.gson.JsonDeserializer,com.google.gson.JsonSerializer
public final class GSONInterfaceAdapter<T extends Object> implements JsonSerializer<T>, JsonDeserializer<T>
Helper class used for serialization/deserialization different Json structures via Gson For instance Vendor is exposed as Interface, but there are differences in JSON structure for TCF1 and TCF2 versions
-
-
Constructor Summary
Constructors Constructor Description GSONInterfaceAdapter(Class<?> typeClass)
-
Method Summary
-
-
Constructor Detail
-
GSONInterfaceAdapter
GSONInterfaceAdapter(Class<?> typeClass)
-
-
-
-