public static Object conv(Object inpValue, Class<?> fieldType) {
        Class inpType = inpValue.getClass();
        if (inpType == String.class && fieldType != String.class) {
            inpValue = Conversions.convert((String) inpValue, fieldType);
        } else if (inpType == BigDecimal.class && fieldType != BigDecimal.class) {
            inpValue = Conversions.convert(inpValue.toString(), fieldType);
        } else if (inpValue instanceof CharSequence) {
            inpValue = Conversions.convert(inpValue.toString(), fieldType);
        }
        return inpValue;
    }