public class JacksonSerializers
extends com.fasterxml.jackson.databind.module.SimpleModule
Modifier and Type | Class and Description |
---|---|
static class |
JacksonSerializers.EnumTranslatingDeserializer
Enum deserializer that uses a resource bundle to resolve enum values.
|
static class |
JacksonSerializers.EnumTranslatingSerializer
An enum serializer to translate raw enum values into values resolved through a resource bundle.
|
Constructor and Description |
---|
JacksonSerializers(EnumTranslator translator)
Creates a new
JacksonSerializers with the given EnumTranslator . |
_checkNotNull, addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setupModule, setValueInstantiators, version
public JacksonSerializers(EnumTranslator translator)
JacksonSerializers
with the given EnumTranslator
.translator
- must not be null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.