Module tools.jackson.databind
Package tools.jackson.databind.ser.jdk
Class JDKArraySerializers.TypedPrimitiveArraySerializer<T>
java.lang.Object
tools.jackson.databind.ValueSerializer<T>
tools.jackson.databind.ser.std.StdSerializer<T>
tools.jackson.databind.ser.std.StdContainerSerializer<T>
tools.jackson.databind.ser.std.ArraySerializerBase<T>
tools.jackson.databind.ser.jdk.JDKArraySerializers.TypedPrimitiveArraySerializer<T>
- All Implemented Interfaces:
JsonFormatVisitable
- Direct Known Subclasses:
JDKArraySerializers.FloatArraySerializer,JDKArraySerializers.LongArraySerializer,JDKArraySerializers.ShortArraySerializer
- Enclosing class:
- JDKArraySerializers
protected abstract static class JDKArraySerializers.TypedPrimitiveArraySerializer<T>
extends ArraySerializerBase<T>
Intermediate base class used for cases where we may add
type information (excludes boolean/int/double arrays).
-
Nested Class Summary
Nested classes/interfaces inherited from class tools.jackson.databind.ValueSerializer
ValueSerializer.None -
Field Summary
Fields inherited from class tools.jackson.databind.ser.std.ArraySerializerBase
_unwrapSingleFields inherited from class tools.jackson.databind.ser.std.StdContainerSerializer
_dynamicValueSerializers, _propertyFields inherited from class tools.jackson.databind.ser.std.StdSerializer
_handledType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedTypedPrimitiveArraySerializer(JDKArraySerializers.TypedPrimitiveArraySerializer<T> src, BeanProperty prop, Boolean unwrapSingle) -
Method Summary
Modifier and TypeMethodDescriptionfinal StdContainerSerializer<?>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 tools.jackson.databind.ser.std.ArraySerializerBase
_shouldUnwrapSingle, _withResolved, createContextual, serializeContents, serializeWithTypeMethods inherited from class tools.jackson.databind.ser.std.StdContainerSerializer
_findAndAddDynamic, _findAndAddDynamic, getContentSerializer, getContentType, hasSingleElement, isEmpty, withValueTypeSerializerMethods inherited from class tools.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, _wrapIOFailure, acceptJsonFormatVisitor, acceptJsonFormatVisitorForBinary, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, handledType, isDefaultSerializer, serialize, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowMethods inherited from class tools.jackson.databind.ValueSerializer
getDelegatee, isUnwrappingSerializer, properties, replaceDelegatee, resolve, unwrappingSerializer, usesObjectId, withFilterId, withFormatOverrides, withIgnoredProperties
-
Constructor Details
-
TypedPrimitiveArraySerializer
-
TypedPrimitiveArraySerializer
protected TypedPrimitiveArraySerializer(JDKArraySerializers.TypedPrimitiveArraySerializer<T> src, BeanProperty prop, Boolean unwrapSingle)
-
-
Method Details
-
_withValueTypeSerializer
Description copied from class:StdContainerSerializerMethod 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 classStdContainerSerializer<T>
-