public class EnumSetSerializer extends AsArraySerializerBase<EnumSet<? extends Enum<?>>>
JsonSerializer.None
_dynamicSerializers, _elementSerializer, _elementType, _property, _staticTyping, _valueTypeSerializer
_handledType
构造器和说明 |
---|
EnumSetSerializer(JavaType elemType,
BeanProperty property) |
限定符和类型 | 方法和说明 |
---|---|
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
在类中 ContainerSerializerBase<EnumSet<? extends Enum<?>>>
public void serializeContents(EnumSet<? extends Enum<?>> value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonGenerationException
serializeContents
在类中 AsArraySerializerBase<EnumSet<? extends Enum<?>>>
IOException
JsonGenerationException