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