Class ParanamerModule
- java.lang.Object
-
- com.fasterxml.jackson.databind.Module
-
- com.fasterxml.jackson.databind.module.SimpleModule
-
- com.fasterxml.jackson.module.paranamer.ParanamerModule
-
- All Implemented Interfaces:
com.fasterxml.jackson.core.Versioned
,Serializable
public class ParanamerModule extends com.fasterxml.jackson.databind.module.SimpleModule
Convenience module that registers stand-aloneParanamerOnJacksonAnnotationIntrospector
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
.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected com.thoughtworks.paranamer.Paranamer
_paranamer
Caller may specify alternateParanamer
to use, over defaultBytecodeReadingParanamer
-
Constructor Summary
Constructors Constructor Description ParanamerModule()
ParanamerModule(com.thoughtworks.paranamer.Paranamer paranamer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setupModule(com.fasterxml.jackson.databind.Module.SetupContext context)
-
Methods inherited from class com.fasterxml.jackson.databind.module.SimpleModule
_checkNotNull, addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setValueInstantiators, version
-
-