Package org.codehaus.jackson.map.ser.std
Class IterableSerializer
java.lang.Object
org.codehaus.jackson.map.JsonSerializer<Iterable<?>>
org.codehaus.jackson.map.ser.std.SerializerBase<Iterable<?>>
org.codehaus.jackson.map.ser.std.ContainerSerializerBase<Iterable<?>>
org.codehaus.jackson.map.ser.std.AsArraySerializerBase<Iterable<?>>
org.codehaus.jackson.map.ser.std.IterableSerializer
- All Implemented Interfaces:
ResolvableSerializer,SchemaAware
-
Nested Class Summary
Nested classes/interfaces inherited from class org.codehaus.jackson.map.JsonSerializer
JsonSerializer.None -
Field Summary
Fields inherited from class org.codehaus.jackson.map.ser.std.AsArraySerializerBase
_dynamicSerializers, _elementSerializer, _elementType, _property, _staticTyping, _valueTypeSerializerFields inherited from class org.codehaus.jackson.map.ser.std.SerializerBase
_handledType -
Constructor Summary
ConstructorsConstructorDescriptionIterableSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property) -
Method Summary
Modifier and TypeMethodDescriptionvoidserializeContents(Iterable<?> value, JsonGenerator jgen, SerializerProvider provider) Methods inherited from class org.codehaus.jackson.map.ser.std.AsArraySerializerBase
_findAndAddDynamic, _findAndAddDynamic, getSchema, resolve, serialize, serializeWithTypeMethods inherited from class org.codehaus.jackson.map.ser.std.ContainerSerializerBase
withValueTypeSerializerMethods inherited from class org.codehaus.jackson.map.ser.std.SerializerBase
createObjectNode, createSchemaNode, createSchemaNode, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrowMethods inherited from class org.codehaus.jackson.map.JsonSerializer
isUnwrappingSerializer, unwrappingSerializer
-
Constructor Details
-
IterableSerializer
public IterableSerializer(JavaType elemType, boolean staticTyping, TypeSerializer vts, BeanProperty property)
-
-
Method Details
-
_withValueTypeSerializer
- Specified by:
_withValueTypeSerializerin classContainerSerializerBase<Iterable<?>>
-
serializeContents
public void serializeContents(Iterable<?> value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonGenerationException - Specified by:
serializeContentsin classAsArraySerializerBase<Iterable<?>>- Throws:
IOExceptionJsonGenerationException
-