Class JSONSchemaUtil.CustomJacksonJsonReader<T>
java.lang.Object
org.springframework.pulsar.core.JSONSchemaUtil.CustomJacksonJsonReader<T>
- Type Parameters:
T- object type to read
- All Implemented Interfaces:
org.apache.pulsar.client.api.schema.SchemaReader<T>
- Enclosing interface:
JSONSchemaUtil
public static class JSONSchemaUtil.CustomJacksonJsonReader<T>
extends Object
implements org.apache.pulsar.client.api.schema.SchemaReader<T>
Reader implementation for reading objects from JSON using a custom
ObjectMapper.- Since:
- 1.2.0
- Author:
- Chris Bono
-
Method Summary
Modifier and TypeMethodDescriptionread(byte[] bytes, int offset, int length) read(InputStream inputStream) Methods inherited from class 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
-
Method Details
-
read
-
read
- Specified by:
readin interfaceorg.apache.pulsar.client.api.schema.SchemaReader<T>
-