public static class EurekaJacksonCodec.DataCenterInfoSerializer extends com.fasterxml.jackson.databind.JsonSerializer<DataCenterInfo>
Constructor and Description |
---|
DataCenterInfoSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
serialize(DataCenterInfo dataCenterInfo,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
void |
serializeWithType(DataCenterInfo dataCenterInfo,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider,
com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) |
public void serializeWithType(DataCenterInfo dataCenterInfo, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider, com.fasterxml.jackson.databind.jsontype.TypeSerializer typeSer) throws java.io.IOException, com.fasterxml.jackson.core.JsonProcessingException
serializeWithType
in class com.fasterxml.jackson.databind.JsonSerializer<DataCenterInfo>
java.io.IOException
com.fasterxml.jackson.core.JsonProcessingException
public void serialize(DataCenterInfo dataCenterInfo, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws java.io.IOException
serialize
in class com.fasterxml.jackson.databind.JsonSerializer<DataCenterInfo>
java.io.IOException