public class AvroSchemaGenerator extends VisitorFormatWrapperImpl
AvroSchema
for a given Java POJO,
using definitions Jackson would use for serialization.
An instance is typically given to
ObjectMapper.acceptJsonFormatVisitor(java.lang.Class<?>, com.fasterxml.jackson.databind.jsonFormatVisitors.JsonFormatVisitorWrapper)
which will invoke necessary callbacks._builder, _provider, _schemas, _valueSchema
Constructor and Description |
---|
AvroSchemaGenerator() |
Modifier and Type | Method and Description |
---|---|
AvroSchema |
getGeneratedSchema() |
_throwUnsupported, _throwUnsupported, expectAnyFormat, expectArrayFormat, expectAvroFormat, expectBooleanFormat, expectIntegerFormat, expectMapFormat, expectNullFormat, expectNumberFormat, expectObjectFormat, expectStringFormat, getAvroSchema, getProvider, setProvider
public AvroSchema getGeneratedSchema()
Copyright © 2020 FasterXML. All rights reserved.