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