Package net.handle.hdllib
Class GsonUtility.InterfaceGsonTypeAdapter
- java.lang.Object
 - 
- net.handle.hdllib.GsonUtility.InterfaceGsonTypeAdapter
 
 
- 
- All Implemented Interfaces:
 com.google.gson.JsonDeserializer<Interface>,com.google.gson.JsonSerializer<Interface>
- Enclosing class:
 - GsonUtility
 
public static class GsonUtility.InterfaceGsonTypeAdapter extends java.lang.Object implements com.google.gson.JsonSerializer<Interface>, com.google.gson.JsonDeserializer<Interface>
 
- 
- 
Constructor Summary
Constructors Constructor Description InterfaceGsonTypeAdapter() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Interfacedeserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)com.google.gson.JsonElementserialize(Interface intf, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context) 
 - 
 
- 
- 
Method Detail
- 
serialize
public com.google.gson.JsonElement serialize(Interface intf, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
- Specified by:
 serializein interfacecom.google.gson.JsonSerializer<Interface>
 
- 
deserialize
public Interface deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
- Specified by:
 deserializein interfacecom.google.gson.JsonDeserializer<Interface>- Throws:
 com.google.gson.JsonParseException
 
 - 
 
 -