Package com.walkfares.odsl.var.adaptor
Class DynamicPropertiesAdaptor
java.lang.Object
com.walkfares.odsl.var.adaptor.DynamicPropertiesAdaptor
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<DynamicProperties>,com.google.gson.JsonSerializer<DynamicProperties>
public class DynamicPropertiesAdaptor extends Object implements com.google.gson.JsonSerializer<DynamicProperties>, com.google.gson.JsonDeserializer<DynamicProperties>
-
Constructor Summary
Constructors Constructor Description DynamicPropertiesAdaptor() -
Method Summary
Modifier and Type Method Description DynamicPropertiesdeserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context)com.google.gson.JsonElementserialize(DynamicProperties src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
Constructor Details
-
DynamicPropertiesAdaptor
public DynamicPropertiesAdaptor()
-
-
Method Details
-
deserialize
public DynamicProperties deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException- Specified by:
deserializein interfacecom.google.gson.JsonDeserializer<DynamicProperties>- Throws:
com.google.gson.JsonParseException
-
serialize
public com.google.gson.JsonElement serialize(DynamicProperties src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)- Specified by:
serializein interfacecom.google.gson.JsonSerializer<DynamicProperties>
-