Class GenericRecordSerializer
- java.lang.Object
-
- com.fasterxml.jackson.databind.JsonSerializer<org.apache.avro.generic.GenericRecord>
-
- io.streamthoughts.azkarra.http.serialization.json.GenericRecordSerializer
-
- All Implemented Interfaces:
com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public class GenericRecordSerializer extends com.fasterxml.jackson.databind.JsonSerializer<org.apache.avro.generic.GenericRecord>
-
-
Constructor Summary
Constructors Constructor Description GenericRecordSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(org.apache.avro.generic.GenericRecord record, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers)
-
-
-
Method Detail
-
serialize
public void serialize(org.apache.avro.generic.GenericRecord record, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers) throws IOException
- Specified by:
serialize
in classcom.fasterxml.jackson.databind.JsonSerializer<org.apache.avro.generic.GenericRecord>
- Throws:
IOException
-
-