Class JsonReader<T>
java.lang.Object
org.apache.pulsar.client.impl.schema.reader.JsonReader<T>
- Type Parameters:
T
- object type to read
- All Implemented Interfaces:
SchemaReader<T>
Deprecated.
Reader implementation for reading objects from JSON.
-
Constructor Summary
ConstructorsConstructorDescriptionJsonReader
(com.fasterxml.jackson.databind.ObjectMapper objectMapper, Class<T> pojo) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionread
(byte[] bytes, int offset, int length) Deprecated.read
(InputStream inputStream) Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.pulsar.client.api.schema.SchemaReader
getNativeSchema, read, read, read, setSchemaInfoProvider
-
Constructor Details
-
JsonReader
Deprecated.
-
-
Method Details
-
read
Deprecated.- Specified by:
read
in interfaceSchemaReader<T>
-
read
Deprecated.- Specified by:
read
in interfaceSchemaReader<T>
-
JacksonJsonReader
instead.