@Environment(value=CLIENT) public static class ModelTransformation.Deserializer extends Object implements JsonDeserializer<ModelTransformation>
Modifier | Constructor and Description |
---|---|
protected |
Deserializer() |
Modifier and Type | Method and Description |
---|---|
ModelTransformation |
deserialize(JsonElement jsonElement,
Type type,
JsonDeserializationContext jsonDeserializationContext) |
private Transformation |
parseModelTransformation(JsonDeserializationContext ctx,
JsonObject json,
String key) |
public ModelTransformation deserialize(JsonElement jsonElement, Type type, JsonDeserializationContext jsonDeserializationContext) throws JsonParseException
deserialize
in interface JsonDeserializer<ModelTransformation>
JsonParseException
private Transformation parseModelTransformation(JsonDeserializationContext ctx, JsonObject json, String key)