-
- All Implemented Interfaces:
-
com.google.gson.JsonDeserializer
public class EventAdapter implements JsonDeserializer<Event>
-
-
Method Summary
Modifier and Type Method Description Eventdeserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)creating json of the model depend on the which type of event is occurseg. -
-
Method Detail
-
deserialize
Event deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)
creating json of the model depend on the which type of event is occurseg. if screen change event is occurs then ScreenChangeEvent model instantiated
- Parameters:
json- as paratypeOfT- as paracontext- as para
-
-
-
-