Package tools.jackson.dataformat.avro
Class AvroModule.SchemaSerializer
java.lang.Object
tools.jackson.databind.ValueSerializer<T>
tools.jackson.databind.ser.std.StdSerializer<org.apache.avro.Schema>
tools.jackson.dataformat.avro.AvroModule.SchemaSerializer
- All Implemented Interfaces:
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
- Enclosing class:
- AvroModule
public static class AvroModule.SchemaSerializer
extends tools.jackson.databind.ser.std.StdSerializer<org.apache.avro.Schema>
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer
tools.jackson.databind.ValueSerializer.None -
Field Summary
Fields inherited from class tools.jackson.databind.ser.std.StdSerializer
_handledType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(org.apache.avro.Schema value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext prov) Methods inherited from class tools.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, _wrapIOFailure, acceptJsonFormatVisitor, acceptJsonFormatVisitorForBinary, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowMethods inherited from class tools.jackson.databind.ValueSerializer
createContextual, getDelegatee, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, resolve, serializeWithType, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties
-
Constructor Details
-
SchemaSerializer
public SchemaSerializer()
-
-
Method Details
-
serialize
public void serialize(org.apache.avro.Schema value, tools.jackson.core.JsonGenerator gen, tools.jackson.databind.SerializationContext prov) throws tools.jackson.core.JacksonException - Specified by:
serializein classtools.jackson.databind.ser.std.StdSerializer<org.apache.avro.Schema>- Throws:
tools.jackson.core.JacksonException
-