Constructor and Description |
---|
Deserializer() |
Modifier and Type | Method and Description |
---|---|
Variant |
deserialize(com.google.gson.JsonElement p_deserialize_1_,
java.lang.reflect.Type p_deserialize_2_,
com.google.gson.JsonDeserializationContext p_deserialize_3_) |
protected java.lang.String |
getStringModel(com.google.gson.JsonObject json) |
protected ModelRotation |
parseModelRotation(com.google.gson.JsonObject json) |
protected int |
parseWeight(com.google.gson.JsonObject json) |
public Variant deserialize(com.google.gson.JsonElement p_deserialize_1_, java.lang.reflect.Type p_deserialize_2_, com.google.gson.JsonDeserializationContext p_deserialize_3_) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<Variant>
com.google.gson.JsonParseException
protected ModelRotation parseModelRotation(com.google.gson.JsonObject json)
protected java.lang.String getStringModel(com.google.gson.JsonObject json)
protected int parseWeight(com.google.gson.JsonObject json)