Class JacksonJsonWriter<T>
- java.lang.Object
-
- org.apache.pulsar.client.impl.schema.writer.JacksonJsonWriter<T>
-
- Type Parameters:
T-
- All Implemented Interfaces:
org.apache.pulsar.client.api.schema.SchemaWriter<T>
public class JacksonJsonWriter<T> extends java.lang.Object implements org.apache.pulsar.client.api.schema.SchemaWriter<T>Writer implementation for writing objects as JSON.
-
-
Constructor Summary
Constructors Constructor Description JacksonJsonWriter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]write(T message)
-