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