public static IObjectMapperInstance AddNullableConverters(this IObjectMapperInstance objectMapper) { objectMapper.AddConverter(new NullableToValue(), new ValueToNullable()); return(objectMapper); }
public static IObjectMapperInstance AddListAndArrayConverters(this IObjectMapperInstance objectMapper) { objectMapper.AddConverter(new ListToArray(), new ArrayToList()); return(objectMapper); }