| Constructor and Description |
|---|
QuantityAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Quantity |
read(com.google.gson.stream.JsonReader jsonReader) |
void |
write(com.google.gson.stream.JsonWriter jsonWriter,
Quantity quantity) |
public void write(com.google.gson.stream.JsonWriter jsonWriter,
Quantity quantity)
throws IOException
write in class com.google.gson.TypeAdapter<Quantity>IOExceptionpublic Quantity read(com.google.gson.stream.JsonReader jsonReader) throws IOException
read in class com.google.gson.TypeAdapter<Quantity>IOExceptionCopyright © 2023. All rights reserved.