public class StorageTypeSerializer extends com.google.gson.TypeAdapter<RestStorageType>
Constructor and Description |
---|
StorageTypeSerializer() |
Modifier and Type | Method and Description |
---|---|
RestStorageType |
read(com.google.gson.stream.JsonReader in) |
void |
write(com.google.gson.stream.JsonWriter out,
RestStorageType value) |
public RestStorageType read(com.google.gson.stream.JsonReader in) throws IOException
read
in class com.google.gson.TypeAdapter<RestStorageType>
IOException
TypeAdapter.read(com.google.gson.stream.JsonReader)
public void write(com.google.gson.stream.JsonWriter out, RestStorageType value) throws IOException
write
in class com.google.gson.TypeAdapter<RestStorageType>
IOException
TypeAdapter.write(com.google.gson.stream.JsonWriter, java.lang.Object)
Copyright © 2013–2019. All rights reserved.