public static class IntOrString.IntOrStringAdapter extends com.google.gson.TypeAdapter<IntOrString>
Constructor and Description |
---|
IntOrStringAdapter() |
Modifier and Type | Method and Description |
---|---|
IntOrString |
read(com.google.gson.stream.JsonReader jsonReader) |
void |
write(com.google.gson.stream.JsonWriter jsonWriter,
IntOrString intOrString) |
public void write(com.google.gson.stream.JsonWriter jsonWriter, IntOrString intOrString) throws IOException
write
in class com.google.gson.TypeAdapter<IntOrString>
IOException
public IntOrString read(com.google.gson.stream.JsonReader jsonReader) throws IOException
read
in class com.google.gson.TypeAdapter<IntOrString>
IOException
Copyright © 2020. All rights reserved.