@Singleton public class OptionalValuesSerializer extends com.fasterxml.jackson.databind.JsonSerializer<OptionalValues<?>>
OptionalValues
.Constructor and Description |
---|
OptionalValuesSerializer() |
Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty(com.fasterxml.jackson.databind.SerializerProvider provider,
OptionalValues<?> value) |
void |
serialize(OptionalValues<?> value,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider serializers) |
public boolean isEmpty(com.fasterxml.jackson.databind.SerializerProvider provider, OptionalValues<?> value)
isEmpty
in class com.fasterxml.jackson.databind.JsonSerializer<OptionalValues<?>>
public void serialize(OptionalValues<?> value, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider serializers) throws IOException
serialize
in class com.fasterxml.jackson.databind.JsonSerializer<OptionalValues<?>>
IOException