public class EnumSetSerializer extends AsArraySerializerBase<EnumSet<? extends Enum<?>>>
JsonSerializer.None
_dynamicSerializers, _elementSerializer, _elementType, _property, _staticTyping, _valueTypeSerializer
_handledType
Constructor and Description |
---|
EnumSetSerializer(JavaType elemType,
BeanProperty property) |
Modifier and Type | Method and Description |
---|---|
ContainerSerializerBase<?> |
_withValueTypeSerializer(TypeSerializer vts) |
void |
serializeContents(EnumSet<? extends Enum<?>> value,
JsonGenerator jgen,
SerializerProvider provider) |
_findAndAddDynamic, _findAndAddDynamic, getSchema, resolve, serialize, serializeWithType
withValueTypeSerializer
createObjectNode, createSchemaNode, createSchemaNode, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow
isUnwrappingSerializer, unwrappingSerializer
public EnumSetSerializer(JavaType elemType, BeanProperty property)
public ContainerSerializerBase<?> _withValueTypeSerializer(TypeSerializer vts)
_withValueTypeSerializer
in class ContainerSerializerBase<EnumSet<? extends Enum<?>>>
public void serializeContents(EnumSet<? extends Enum<?>> value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonGenerationException
serializeContents
in class AsArraySerializerBase<EnumSet<? extends Enum<?>>>
IOException
JsonGenerationException