public static class AlternativeLootCondition.Serializer extends Object implements JsonSerializer<AlternativeLootCondition>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
AlternativeLootCondition |
fromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext) |
void |
toJson(JsonObject jsonObject,
AlternativeLootCondition alternativeLootCondition,
JsonSerializationContext jsonSerializationContext) |
public void toJson(JsonObject jsonObject, AlternativeLootCondition alternativeLootCondition, JsonSerializationContext jsonSerializationContext)
toJson
in interface JsonSerializer<AlternativeLootCondition>
public AlternativeLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
fromJson
in interface JsonSerializer<AlternativeLootCondition>