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