addApplicationConverters

Add converters useful for most Spring Boot applications.

Parameters

registry

the registry of converters to add to (must also be castable toConversionService, e.g. being a ConfigurableConversionService)

Throws

if the given ConverterRegistry could not be cast to aConversionService