Package de.xima.fc.gson
Class InterfaceSerializerTypeAdapter
- java.lang.Object
 - 
- com.google.gson.TypeAdapter<ISerializableInterface>
 - 
- de.xima.fc.gson.InterfaceSerializerTypeAdapter
 
 
 
- 
public class InterfaceSerializerTypeAdapter extends com.google.gson.TypeAdapter<ISerializableInterface>
GSON type adapter for (de-)serializing interfaces marked withISerializableInterface.- Since:
 - 8.0.0
 - Author:
 - XIMA Media GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description InterfaceSerializerTypeAdapter(com.google.gson.Gson gson) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ISerializableInterfaceread(com.google.gson.stream.JsonReader in)voidwrite(com.google.gson.stream.JsonWriter out, ISerializableInterface value) 
 - 
 
- 
- 
Method Detail
- 
write
public void write(com.google.gson.stream.JsonWriter out, ISerializableInterface value) throws IOException- Specified by:
 writein classcom.google.gson.TypeAdapter<ISerializableInterface>- Throws:
 IOException
 
- 
read
public ISerializableInterface read(com.google.gson.stream.JsonReader in) throws IOException
- Specified by:
 readin classcom.google.gson.TypeAdapter<ISerializableInterface>- Throws:
 IOException
 
 - 
 
 -