@Override
      public JsonSerializer<?> findSerializer(SerializationConfig config, JavaType type, BeanDescription beanDesc) {
        try {
          Codec<?> codec = registry.get(type.getRawClass());
          return serializer(codec);
        } catch (CodecConfigurationException e) {
          return null;
        }
      }
Utility class to convert to / from {@link CodecRegistry} and {@link ObjectMapper}.

<p>Please note that Jackson support is currently experimental.
mongo/src/org/immutables/mongo/bson4jackson/JacksonCodecs.java