Interface CustomConverter<S,F extends ConvertedField>


@Incubating public interface CustomConverter<S,F extends ConvertedField>
An interface that allows the user to customize how a value will be converted for a given field.
Author:
Jiri Pechanec
  • Method Details

    • configure

      void configure(Properties props)
    • converterFor

      void converterFor(F field, CustomConverter.ConverterRegistration<S> registration)
      Allows to register a custom value and schema converter for a given field-
      Parameters:
      field - the field of interest
      registration - a callback that allows to register a schema and value converter for the given field.