@Override
	protected Object convertUserDefinedValueType(Object object, Class<?> type) {
    """
	Converts the specified object to the specified user-defined value type.
	The object to be converted must be a {@code JsonPrimitive}, or this
	method return <code>null</code>.
	
	@param object The object to be converted
	@param type The user-defined value type to which the specified object be
	converted.
	@return The converted object.
    """
		if (object instanceof JsonPrimitive) {
			JsonPrimitive primitive = (JsonPrimitive) object;
			return super.convertUserDefinedValueType(primitive.getAsString(), type);
		} else {
			logger.warn("Parameter [" + object + "] cannot be converted to ["
					+ type + "]; Converted 'object' must be a ["
					+ JsonPrimitive.class + "]");
			return null;
		}
	}
@Override
	protected Object convertUserDefinedValueType(Object object, Class<?> type) {
		if (object instanceof JsonPrimitive) {
			JsonPrimitive primitive = (JsonPrimitive) object;
			return super.convertUserDefinedValueType(primitive.getAsString(), type);
		} else {
			logger.warn("Parameter [" + object + "] cannot be converted to ["
					+ type + "]; Converted 'object' must be a ["
					+ JsonPrimitive.class + "]");
			return null;
		}
	}
@ Override protected Object convertUserDefinedValueType ( Object object , Class < ? > type ) { if ( object instanceof JsonPrimitive ) { JsonPrimitive primitive = ( JsonPrimitive ) object ; return super . convertUserDefinedValueType ( primitive . getAsString ( ) , type ) ; } else { logger . warn ( "Parameter [" + object + "] cannot be converted to [" + type + "]; Converted 'object' must be a [" + JsonPrimitive . class + "]" ) ; return null ; } }
Converts the specified object to the specified user-defined value type.
The object to be converted must be a {@code JsonPrimitive}, or this
method return <code>null</code>.

@param object The object to be converted
@param type The user-defined value type to which the specified object be
converted.
@return The converted object.
Converts the specified object to the specified user - defined value type . The object to be converted must be a { @code JsonPrimitive } or this method return <code > null< / code > .