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