Excluding `type` when serialising an object with ObjectMapper
I am serialising an instance of class Foo
to send to pubsub. I am using Jackson ObjectMapper to serialise the instance to string before sending it as payload.
I am serialising an instance of class Foo
to send to pubsub. I am using Jackson ObjectMapper to serialise the instance to string before sending it as payload.