public static final class StdArraySerializers.DoubleArraySerializer extends StdArraySerializers.ArraySerializerBase<double[]>
JsonSerializer.None
_property, _valueTypeSerializer
_handledType
Constructor and Description |
---|
StdArraySerializers.DoubleArraySerializer() |
Modifier and Type | Method and Description |
---|---|
ContainerSerializerBase<?> |
_withValueTypeSerializer(TypeSerializer vts)
Doubles never add type info; hence, even if type serializer is suggested,
we'll ignore it...
|
JsonNode |
getSchema(SerializerProvider provider,
Type typeHint)
Note: since Jackson 1.9, default implementation claims type is "string"
|
void |
serializeContents(double[] value,
JsonGenerator jgen,
SerializerProvider provider) |
serialize, serializeWithType
withValueTypeSerializer
createObjectNode, createSchemaNode, createSchemaNode, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow
isUnwrappingSerializer, unwrappingSerializer
public StdArraySerializers.DoubleArraySerializer()
public ContainerSerializerBase<?> _withValueTypeSerializer(TypeSerializer vts)
_withValueTypeSerializer
in class ContainerSerializerBase<double[]>
public void serializeContents(double[] value, JsonGenerator jgen, SerializerProvider provider) throws IOException, JsonGenerationException
serializeContents
in class StdArraySerializers.ArraySerializerBase<double[]>
IOException
JsonGenerationException
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
SerializerBase
getSchema
in interface SchemaAware
getSchema
in class SerializerBase<double[]>
provider
- The serializer provider.typeHint
- A hint about the type.