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>
IOException
public Quantity read(com.google.gson.stream.JsonReader jsonReader) throws IOException
read
in class com.google.gson.TypeAdapter<Quantity>
IOException
Copyright © 2020. All rights reserved.