public static <T> JsonSerializer<T> serializer(final Codec<T> codec) {
    return new CodecSerializer<>(codec);
  }
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