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 Object
implements org.apache.pulsar.client.api.schema.SchemaWriter<T>
Writer implementation for writing objects as JSON.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JacksonJsonWriter
public JacksonJsonWriter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
write
- Specified by:
writein interfaceorg.apache.pulsar.client.api.schema.SchemaWriter<T>
-