Class VertxSerializerModules

java.lang.Object
com.codingchili.core.protocol.VertxSerializerModules

public class VertxSerializerModules extends Object
See io.vertx.core.json.jackson.DatabindCodec for all available de/serializers. The serializers in vert.x are not public, they are copied into this class for reuse.
  • Constructor Details

    • VertxSerializerModules

      public VertxSerializerModules()
  • Method Details

    • registerTypes

      public static com.fasterxml.jackson.databind.ObjectMapper registerTypes(com.fasterxml.jackson.databind.ObjectMapper mapper)
      Registers vert.x de/serializers for the given object mapper.
      Parameters:
      mapper - the mapper to register vert.x type support for.
      Returns:
      the given mapper after adding a module with extended type support.