Class JacksonJsonWriter<T>
java.lang.Object
org.apache.pulsar.client.impl.schema.writer.JacksonJsonWriter<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
SchemaWriter<T>
Writer implementation for writing objects as JSON.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
JacksonJsonWriter
public JacksonJsonWriter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
write
- Specified by:
write
in interfaceSchemaWriter<T>
-