public class SwimmingParametersTypeAdapter extends java.lang.Object implements com.google.gson.JsonSerializer<SwimmingParameters>, com.google.gson.JsonDeserializer<SwimmingParameters>
Constructor and Description |
---|
SwimmingParametersTypeAdapter() |
Modifier and Type | Method and Description |
---|---|
SwimmingParameters |
deserialize(com.google.gson.JsonElement json,
java.lang.reflect.Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(SwimmingParameters src,
java.lang.reflect.Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public SwimmingParameters deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<SwimmingParameters>
com.google.gson.JsonParseException
public com.google.gson.JsonElement serialize(SwimmingParameters src, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<SwimmingParameters>