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