# addScalarConverters static method

void addScalarConverters(

1. ConverterRegistry registry

)

## Implementation

    static void addScalarConverters(ConverterRegistry registry) {
      registry.addPairedConverter(NumberGenericConverter());
      registry.addPairedConverter(BoolGenericConverter());
      registry.addPairedConverter(BigIntGenericConverter());
      registry.addPairedConverter(IntegerGenericConverter());
      registry.addPairedConverter(LongGenericConverter());
      registry.addPairedConverter(FloatGenericConverter());
      registry.addPairedConverter(BigIntegerGenericConverter());
      registry.addPairedConverter(BigDecimalGenericConverter());
      registry.addPairedConverter(ShortGenericConverter());
      registry.addPairedConverter(DoubledGenericConverter());
      registry.addPairedConverter(BooleanGenericConverter());
      registry.addPairedConverter(CharacterGenericConverter());

      // String/Character converters
      registry.addConverter(StringToRunesConverter());
      registry.addConverter(RunesToStringConverter());

      // Enum converters
      registry.addConverterFactory(StringToEnumConverterFactory());
      registry.addConverter(EnumToStringConverter());
      registry.addConverterFactory(IntToEnumConverterFactory());
      registry.addConverter(EnumToIntConverter());

      // Symbol converters
      registry.addConverter(StringToSymbolConverter());
      registry.addConverter(SymbolToStringConverter());
    }