public static class ModrinthPermissionMask.ModrinthPermissionMaskAdapter extends com.google.gson.TypeAdapter<ModrinthPermissionMask>
TypeAdapter for ModrinthPermissionMask. Used to
build the bitmask
from the JSON.| Constructor and Description |
|---|
ModrinthPermissionMaskAdapter() |
| Modifier and Type | Method and Description |
|---|---|
ModrinthPermissionMask |
read(com.google.gson.stream.JsonReader in)
Reads the mask from the JSON.
|
void |
write(com.google.gson.stream.JsonWriter out,
ModrinthPermissionMask value)
Writes the mask to the JSON.
|
public void write(com.google.gson.stream.JsonWriter out,
ModrinthPermissionMask value)
throws IOException
write in class com.google.gson.TypeAdapter<ModrinthPermissionMask>IOExceptionpublic ModrinthPermissionMask read(com.google.gson.stream.JsonReader in) throws IOException
read in class com.google.gson.TypeAdapter<ModrinthPermissionMask>IOExceptionCopyright © 2026. All rights reserved.