public class PercentageDeserializer extends JsonDeserializer<Percentage>{
@Override
public Percentage deserialize(JsonParser jp, DeserializationContext ctx)
throws IOException, JsonProcessingException {
return new Percentage(jp.getDecimalValue(), BigDecimal.ONE, 2);
}