Constructor and Description |
---|
Adapter() |
Modifier and Type | Method and Description |
---|---|
MoveFlags |
read(com.google.gson.stream.JsonReader reader)
Reads one JSON value (an array, object, string, number, boolean or null)
and converts it to a Java object.
|
void |
write(com.google.gson.stream.JsonWriter out,
MoveFlags value)
Writes one JSON value (an array, object, string, number, boolean or null)
for
value . |
public void write(com.google.gson.stream.JsonWriter out, MoveFlags value) throws java.io.IOException
value
.write
in class com.google.gson.TypeAdapter<MoveFlags>
out
- value
- the Java object to write. May be null.java.io.IOException
public MoveFlags read(com.google.gson.stream.JsonReader reader) throws java.io.IOException
read
in class com.google.gson.TypeAdapter<MoveFlags>
reader
- java.io.IOException