public class ColorAdapter extends com.google.gson.TypeAdapter<Color>
Constructor and Description |
---|
ColorAdapter() |
Modifier and Type | Method and Description |
---|---|
Color |
read(com.google.gson.stream.JsonReader reader) |
void |
write(com.google.gson.stream.JsonWriter writer,
Color t) |
public void write(com.google.gson.stream.JsonWriter writer, Color t) throws IOException
write
in class com.google.gson.TypeAdapter<Color>
IOException
public Color read(com.google.gson.stream.JsonReader reader) throws IOException
read
in class com.google.gson.TypeAdapter<Color>
IOException
Copyright © 2021. All rights reserved.