public class SwiftBlock2Adapter extends java.lang.Object implements com.google.gson.JsonSerializer<SwiftBlock2>, com.google.gson.JsonDeserializer<SwiftBlock2>
Constructor and Description |
---|
SwiftBlock2Adapter() |
Modifier and Type | Method and Description |
---|---|
SwiftBlock2 |
deserialize(com.google.gson.JsonElement jsonElement,
java.lang.reflect.Type type,
com.google.gson.JsonDeserializationContext jsonDeserializationContext) |
com.google.gson.JsonElement |
serialize(SwiftBlock2 swiftBlock2,
java.lang.reflect.Type type,
com.google.gson.JsonSerializationContext jsonSerializationContext) |
public com.google.gson.JsonElement serialize(SwiftBlock2 swiftBlock2, java.lang.reflect.Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
serialize
in interface com.google.gson.JsonSerializer<SwiftBlock2>
public SwiftBlock2 deserialize(com.google.gson.JsonElement jsonElement, java.lang.reflect.Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<SwiftBlock2>
com.google.gson.JsonParseException