Package io.micronaut.json.convert
Class JsonConverterRegistrar
java.lang.Object
io.micronaut.json.convert.JsonConverterRegistrar
- All Implemented Interfaces:
TypeConverterRegistrar
@Prototype
public final class JsonConverterRegistrar
extends Object
implements TypeConverterRegistrar
Converter registrar for json.
- Since:
- 3.1
- Author:
- Jonas Konrad
-
Constructor Summary
ConstructorDescriptionJsonConverterRegistrar
(BeanProvider<JsonMapper> objectCodec, ConversionService conversionService, BeanProvider<BeanPropertyBinder> beanPropertyBinder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(MutableConversionService conversionService) Interface for registrars ofTypeConverter
instances.
-
Constructor Details
-
JsonConverterRegistrar
@Inject public JsonConverterRegistrar(BeanProvider<JsonMapper> objectCodec, ConversionService conversionService, BeanProvider<BeanPropertyBinder> beanPropertyBinder)
-
-
Method Details
-
register
Description copied from interface:TypeConverterRegistrar
Interface for registrars ofTypeConverter
instances.- Specified by:
register
in interfaceTypeConverterRegistrar
- Parameters:
conversionService
- TheConversionService
-