public class ParanamerModule
extends com.fasterxml.jackson.databind.module.SimpleModule
ParanamerOnJacksonAnnotationIntrospector
after existing introspectors, to add support for discovering names of
creator (constructor, factory method) parameters automatically, without
explicit annotations.
Note that use of this module is optional: the only thing it does is register
annotation introspector; so you can instead choose to do this from your
custom module, or directly configure ObjectMapper
.
Modifier and Type | Field and Description |
---|---|
protected com.thoughtworks.paranamer.Paranamer |
_paranamer
Caller may specify alternate
Paranamer to use, over
default BytecodeReadingParanamer |
Constructor and Description |
---|
ParanamerModule() |
ParanamerModule(com.thoughtworks.paranamer.Paranamer paranamer) |
Modifier and Type | Method and Description |
---|---|
void |
setupModule(com.fasterxml.jackson.databind.Module.SetupContext context) |
addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setValueInstantiators, version
protected final com.thoughtworks.paranamer.Paranamer _paranamer
Paranamer
to use, over
default BytecodeReadingParanamer
Copyright © 2016 FasterXML. All rights reserved.