Package org.springframework.pulsar.core
Class JSONSchemaUtil.CustomJacksonJsonWriter<T>
java.lang.Object
org.springframework.pulsar.core.JSONSchemaUtil.CustomJacksonJsonWriter<T>
- Type Parameters:
T
- object type to write
- All Implemented Interfaces:
org.apache.pulsar.client.api.schema.SchemaWriter<T>
- Enclosing interface:
- JSONSchemaUtil
public static class JSONSchemaUtil.CustomJacksonJsonWriter<T>
extends Object
implements org.apache.pulsar.client.api.schema.SchemaWriter<T>
Writer implementation for writing objects as JSON using a custom
ObjectMapper
.-
Method Summary
-
Method Details
-
write
- Specified by:
write
in interfaceorg.apache.pulsar.client.api.schema.SchemaWriter<T>
-