类 JsonWriter<T>

java.lang.Object
org.apache.pulsar.client.impl.schema.writer.JsonWriter<T>
类型参数:
T -
所有已实现的接口:
SchemaWriter<T>

@Deprecated public class JsonWriter<T> extends Object implements SchemaWriter<T>
已过时。
use JacksonJsonWriter instead.
Writer implementation for writing objects as JSON.
  • 构造器详细资料

    • JsonWriter

      public JsonWriter(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
      已过时。
  • 方法详细资料

    • write

      public byte[] write(T message)
      已过时。
      指定者:
      write 在接口中 SchemaWriter<T>