public static class Variant.Deserializer
extends java.lang.Object
Constructor and Description |
---|
Deserializer() |
Modifier and Type | Method and Description |
---|---|
Variant |
deserialize(JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
JsonDeserializationContext p_deserialize_3_) |
protected java.lang.String |
getStringModel(JsonObject json) |
protected ModelRotation |
parseModelRotation(JsonObject json) |
protected int |
parseWeight(JsonObject json) |
public Variant deserialize(JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, JsonDeserializationContext p_deserialize_3_) throws JsonParseException
JsonParseException
protected ModelRotation parseModelRotation(JsonObject json)
protected java.lang.String getStringModel(JsonObject json)
protected int parseWeight(JsonObject json)