public class ConversionServicePropertySerializer extends com.fasterxml.jackson.databind.ser.std.StdSerializer<Object>
ConversionService
to transform value
before serialize it.Constructor and Description |
---|
ConversionServicePropertySerializer(org.springframework.core.convert.ConversionService conversionService,
org.springframework.core.convert.TypeDescriptor sourceType,
org.springframework.core.convert.TypeDescriptor targetType) |
Modifier and Type | Method and Description |
---|---|
void |
serialize(Object value,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
acceptJsonFormatVisitor, createObjectNode, createSchemaNode, createSchemaNode, findConvertingContentSerializer, getSchema, getSchema, handledType, isDefaultSerializer, wrapAndThrow, wrapAndThrow
public ConversionServicePropertySerializer(org.springframework.core.convert.ConversionService conversionService, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)
public void serialize(Object value, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException, com.fasterxml.jackson.core.JsonProcessingException
serialize
in class com.fasterxml.jackson.databind.ser.std.StdSerializer<Object>
IOException
com.fasterxml.jackson.core.JsonProcessingException
Copyright © 2010–2015 General Directorate for Information Technologies (DGTI) of the Regional Ministry of Finance and Public Administration of the Generalitat Valenciana.. All rights reserved.