public class AvroModule
extends com.fasterxml.jackson.databind.Module
Schema
: remove from Avro lib generated types;
serialize as (JSON) String for others
AnnotationIntrospector
that supports Apache Avro lib
annotations
Object
.
Modifier and Type | Class and Description |
---|---|
static class |
AvroModule.SchemaSerializer |
Modifier and Type | Field and Description |
---|---|
protected com.fasterxml.jackson.databind.AnnotationIntrospector |
_intr |
protected static AvroAnnotationIntrospector |
INTR |
Constructor and Description |
---|
AvroModule() |
Modifier and Type | Method and Description |
---|---|
protected void |
_addDeserializers(com.fasterxml.jackson.databind.Module.SetupContext context) |
protected void |
_addIntrospector(com.fasterxml.jackson.databind.Module.SetupContext context) |
protected void |
_addModifiers(com.fasterxml.jackson.databind.Module.SetupContext context) |
protected void |
_addSerializers(com.fasterxml.jackson.databind.Module.SetupContext context) |
String |
getModuleName() |
void |
setupModule(com.fasterxml.jackson.databind.Module.SetupContext context) |
com.fasterxml.jackson.core.Version |
version() |
AvroModule |
withAnnotationIntrospector(com.fasterxml.jackson.databind.AnnotationIntrospector intr)
Fluent method that configures this module instance
|
protected static final AvroAnnotationIntrospector INTR
protected com.fasterxml.jackson.databind.AnnotationIntrospector _intr
public String getModuleName()
getModuleName
in class com.fasterxml.jackson.databind.Module
public com.fasterxml.jackson.core.Version version()
version
in interface com.fasterxml.jackson.core.Versioned
version
in class com.fasterxml.jackson.databind.Module
public AvroModule withAnnotationIntrospector(com.fasterxml.jackson.databind.AnnotationIntrospector intr)
public void setupModule(com.fasterxml.jackson.databind.Module.SetupContext context)
setupModule
in class com.fasterxml.jackson.databind.Module
protected void _addIntrospector(com.fasterxml.jackson.databind.Module.SetupContext context)
protected void _addModifiers(com.fasterxml.jackson.databind.Module.SetupContext context)
protected void _addDeserializers(com.fasterxml.jackson.databind.Module.SetupContext context)
protected void _addSerializers(com.fasterxml.jackson.databind.Module.SetupContext context)
Copyright © 2017 FasterXML. All rights reserved.