public class AbstractSeriesBeanSerializer extends BeanSerializationDelegate<AbstractSeries>
AbstractSeries
that adds the type field.
We need to use a bean serializer so that annotations work.Constructor and Description |
---|
AbstractSeriesBeanSerializer() |
Modifier and Type | Method and Description |
---|---|
Class<AbstractSeries> |
getBeanClass() |
void |
serialize(AbstractSeries bean,
BeanSerializerDelegator<AbstractSeries> serializer,
com.fasterxml.jackson.core.JsonGenerator jgen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
public Class<AbstractSeries> getBeanClass()
getBeanClass
in class BeanSerializationDelegate<AbstractSeries>
public void serialize(AbstractSeries bean, BeanSerializerDelegator<AbstractSeries> serializer, com.fasterxml.jackson.core.JsonGenerator jgen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
serialize
in class BeanSerializationDelegate<AbstractSeries>
IOException
Copyright © 2023. All rights reserved.