Package com.codingchili.core.protocol
Class VertxSerializerModules
java.lang.Object
com.codingchili.core.protocol.VertxSerializerModules
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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMapper
registerTypes(com.fasterxml.jackson.databind.ObjectMapper mapper)
Registers vert.x de/serializers for the given object mapper.
-
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.
-