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