Class JsonReader<T>
java.lang.Object
io.micronaut.pulsar.schemas.json.JsonReader<T>
- Type Parameters:
T- POJO type to process.
- All Implemented Interfaces:
org.apache.pulsar.client.api.schema.SchemaReader<T>
public final class JsonReader<T>
extends Object
implements org.apache.pulsar.client.api.schema.SchemaReader<T>
JSON Schema Reader to allow using
JsonMapper from Micronaut instead of shaded one in Pulsar library.- Since:
- 1.0
- Author:
- Haris Secic
-
Constructor Summary
Constructors -
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
-
Constructor Details
-
JsonReader
-
-
Method Details
-
read
-
read
- Specified by:
readin interfaceorg.apache.pulsar.client.api.schema.SchemaReader<T>
-