Class StdArraySerializers.TypedPrimitiveArraySerializer<T>
java.lang.Object
com.fasterxml.jackson.databind.JsonSerializer<T>
com.fasterxml.jackson.databind.ser.std.StdSerializer<T>
com.fasterxml.jackson.databind.ser.ContainerSerializer<T>
com.fasterxml.jackson.databind.ser.std.ArraySerializerBase<T>
com.fasterxml.jackson.databind.ser.std.StdArraySerializers.TypedPrimitiveArraySerializer<T>
- All Implemented Interfaces:
JsonFormatVisitable, SchemaAware, ContextualSerializer, Serializable
- Direct Known Subclasses:
StdArraySerializers.FloatArraySerializer, StdArraySerializers.LongArraySerializer, StdArraySerializers.ShortArraySerializer
- Enclosing class:
StdArraySerializers
protected abstract static class StdArraySerializers.TypedPrimitiveArraySerializer<T>
extends ArraySerializerBase<T>
Intermediate base class used for cases where we may add
type information (excludes boolean/int/double arrays).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class JsonSerializer
JsonSerializer.None -
Field Summary
Fields inherited from class ArraySerializerBase
_property, _unwrapSingleFields inherited from class StdSerializer
_handledType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTypedPrimitiveArraySerializer(StdArraySerializers.TypedPrimitiveArraySerializer<T> src, BeanProperty prop, Boolean unwrapSingle) protected -
Method Summary
Modifier and TypeMethodDescriptionfinal ContainerSerializer<?> Method that needs to be implemented to allow construction of a new serializer object with givenTypeSerializer, used when addition type information is to be embedded.Methods inherited from class ArraySerializerBase
_shouldUnwrapSingle, _withResolved, createContextual, serialize, serializeContents, serializeWithTypeMethods inherited from class ContainerSerializer
getContentSerializer, getContentType, hasContentTypeAnnotation, hasSingleElement, withValueTypeSerializerMethods inherited from class StdSerializer
_neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowMethods inherited from class JsonSerializer
getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId, withIgnoredProperties
-
Constructor Details
-
TypedPrimitiveArraySerializer
-
TypedPrimitiveArraySerializer
protected TypedPrimitiveArraySerializer(StdArraySerializers.TypedPrimitiveArraySerializer<T> src, BeanProperty prop, Boolean unwrapSingle)
-
-
Method Details
-
_withValueTypeSerializer
Description copied from class:ContainerSerializerMethod that needs to be implemented to allow construction of a new serializer object with givenTypeSerializer, used when addition type information is to be embedded.- Specified by:
_withValueTypeSerializerin classContainerSerializer<T>
-