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