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