@Singleton public final class JsonConverterRegistrar extends Object implements TypeConverterRegistrar
Constructor and Description |
---|
JsonConverterRegistrar(BeanProvider<JsonMapper> objectCodec,
ConversionService<?> conversionService,
BeanProvider<BeanPropertyBinder> beanPropertyBinder) |
Modifier and Type | Method and Description |
---|---|
TypeConverter<JsonArray,Iterable> |
arrayNodeToIterableConverter() |
TypeConverter<JsonArray,Object[]> |
arrayNodeToObjectConverter() |
protected TypeConverter<JsonNode,Object> |
jsonNodeToObjectConverter() |
protected TypeConverter<Map,Object> |
mapToObjectConverter() |
TypeConverter<JsonNode,ConvertibleValues> |
objectNodeToConvertibleValuesConverter() |
protected TypeConverter<Object,JsonNode> |
objectToJsonNodeConverter() |
void |
register(ConversionService<?> conversionService)
Interface for registrars of
TypeConverter instances. |
@Inject public JsonConverterRegistrar(BeanProvider<JsonMapper> objectCodec, ConversionService<?> conversionService, BeanProvider<BeanPropertyBinder> beanPropertyBinder)
public void register(ConversionService<?> conversionService)
TypeConverterRegistrar
TypeConverter
instances.register
in interface TypeConverterRegistrar
conversionService
- The ConversionService
@Internal public TypeConverter<JsonNode,ConvertibleValues> objectNodeToConvertibleValuesConverter()
public TypeConverter<JsonArray,Iterable> arrayNodeToIterableConverter()
@Internal public TypeConverter<JsonArray,Object[]> arrayNodeToObjectConverter()
protected TypeConverter<Map,Object> mapToObjectConverter()
protected TypeConverter<Object,JsonNode> objectToJsonNodeConverter()
protected TypeConverter<JsonNode,Object> jsonNodeToObjectConverter()