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