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