public static class LootPool.Serializer extends Object implements JsonDeserializer<LootPool>, JsonSerializer<LootPool>
| Constructor and Description |
|---|
Serializer() |
| Modifier and Type | Method and Description |
|---|---|
LootPool |
deserialize(JsonElement jsonElement,
Type type,
JsonDeserializationContext jsonDeserializationContext) |
JsonElement |
serialize(LootPool lootPool,
Type type,
JsonSerializationContext jsonSerializationContext) |
public LootPool deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
deserialize in interface JsonDeserializer<LootPool>JsonParseExceptionpublic JsonElement serialize(LootPool lootPool, Type type, JsonSerializationContext jsonSerializationContext)
serialize in interface JsonSerializer<LootPool>